1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

Update to 0.5.0

- Fix LICENSE
- Add LICENSE_FILE
- Allow concurrent installation (USE_PYTHON=concurrent)
- Move PORTDOCS and PORTEXAMPLES to PLIST
- Add PyPI as primary WWW
- Take maintainership

Changes:	https://github.com/pydata/patsy/blob/master/doc/changes.rst
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2018-02-25 05:33:38 +00:00
parent e94de26b97
commit ef0cb0d0d2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=462924
5 changed files with 31 additions and 38 deletions

View File

@ -2,49 +2,33 @@
# $FreeBSD$
PORTNAME= patsy
PORTVERSION= 0.4.1
PORTVERSION= 0.5.0
CATEGORIES= math python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= ports@FreeBSD.org
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Python package for statistical models and design matrices
LICENSE= BSD3CLAUSE PSFL
LICENSE= BSD2CLAUSE PSFL
LICENSE_COMB= multi
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
RUN_DEPENDS= ${PYNUMPY} \
${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${FLAVOR}
${PYTHON_PKGNAMEPREFIX}six>=0:devel/py-six@${FLAVOR}
USES= python zip
USE_PYTHON= distutils autoplist
USES= python
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
PORTDOCS= API-reference.rst \
R-comparison.rst \
builtins-reference.rst \
categorical-coding.rst \
changes.rst \
expert-model-specification.rst \
formulas.rst \
index.rst \
library-developers.rst \
overview.rst \
py2-versus-py3.rst \
quickstart.rst \
stateful-transforms.rst \
PORTEXAMPLES= add_predictors.py \
example_lm.py \
example_treatment.py
OPTIONS_DEFINE= DOCS EXAMPLES
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/doc/|} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/*.rst ${STAGEDIR}${DOCSDIR}
post-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${PORTEXAMPLES:S|^|${WRKSRC}/doc/_examples/|} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/doc/_examples/*.py ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>

View File

@ -1,2 +1,3 @@
SHA256 (patsy-0.4.1.zip) = dc1cc280045b0e6e50c04706fd1e26d2a00ea400aa112f88e8142f88b0b7d3d4
SIZE (patsy-0.4.1.zip) = 425390
TIMESTAMP = 1519513259
SHA256 (patsy-0.5.0.tar.gz) = e05f38d5c38c8d216f0cc2b765b1069b433c92d628b954fb2fee68d13e42883b
SIZE (patsy-0.5.0.tar.gz) = 399109

View File

@ -1,10 +0,0 @@
--- setup.py.orig 2015-12-08 02:16:42 UTC
+++ setup.py
@@ -21,7 +21,6 @@ setup(
license="2-clause BSD",
packages=["patsy"],
url="https://github.com/pydata/patsy",
- install_requires=["six", "numpy"],
classifiers =
[ "Development Status :: 4 - Beta",
"Intended Audience :: Developers",

View File

@ -2,4 +2,5 @@ Patsy is a Python library for describing statistical models (especially linear
models, or models that have a linear component) and building design matrices.
Patsy brings the convenience of R "formulas" to Python.
WWW: https://pypi.python.org/pypi/patsy
WWW: https://github.com/pydata/patsy

17
math/py-patsy/pkg-plist Normal file
View File

@ -0,0 +1,17 @@
%%PORTDOCS%%%%DOCSDIR%%/API-reference.rst
%%PORTDOCS%%%%DOCSDIR%%/R-comparison.rst
%%PORTDOCS%%%%DOCSDIR%%/builtins-reference.rst
%%PORTDOCS%%%%DOCSDIR%%/categorical-coding.rst
%%PORTDOCS%%%%DOCSDIR%%/changes.rst
%%PORTDOCS%%%%DOCSDIR%%/expert-model-specification.rst
%%PORTDOCS%%%%DOCSDIR%%/formulas.rst
%%PORTDOCS%%%%DOCSDIR%%/index.rst
%%PORTDOCS%%%%DOCSDIR%%/library-developers.rst
%%PORTDOCS%%%%DOCSDIR%%/overview.rst
%%PORTDOCS%%%%DOCSDIR%%/py2-versus-py3.rst
%%PORTDOCS%%%%DOCSDIR%%/quickstart.rst
%%PORTDOCS%%%%DOCSDIR%%/spline-regression.rst
%%PORTDOCS%%%%DOCSDIR%%/stateful-transforms.rst
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/add_predictors.py
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example_lm.py
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example_treatment.py