aboutsummaryrefslogtreecommitdiffstats
path: root/math/py-statsmodels/Makefile
diff options
context:
space:
mode:
authorxmj <xmj@FreeBSD.org>2014-12-10 01:33:53 +0800
committerxmj <xmj@FreeBSD.org>2014-12-10 01:33:53 +0800
commit6cc3c4ddd60c2d8aec42de2e10c5bbc9df4c609e (patch)
tree0200c5133dd682db54d8fb763c25fbccce86af2a /math/py-statsmodels/Makefile
parent823de49faba9979459dde931a691c07bcf9a48f2 (diff)
downloadfreebsd-ports-gnome-6cc3c4ddd60c2d8aec42de2e10c5bbc9df4c609e.tar.gz
freebsd-ports-gnome-6cc3c4ddd60c2d8aec42de2e10c5bbc9df4c609e.tar.zst
freebsd-ports-gnome-6cc3c4ddd60c2d8aec42de2e10c5bbc9df4c609e.zip
math/py-statsmodels: update to 0.6.1, unbreak, modernize
- update to 0.6.1 and unbreak - replace noegginfo with concurrent in USE_PYTHON Differential Revision: https://reviews.freebsd.org/D1287 Approved by: swills (mentor)
Diffstat (limited to 'math/py-statsmodels/Makefile')
-rw-r--r--math/py-statsmodels/Makefile14
1 files changed, 3 insertions, 11 deletions
diff --git a/math/py-statsmodels/Makefile b/math/py-statsmodels/Makefile
index f3af421f8ea5..18a8ee8bf7e4 100644
--- a/math/py-statsmodels/Makefile
+++ b/math/py-statsmodels/Makefile
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= statsmodels
-PORTVERSION= 0.5.0
-PORTREVISION= 2
+PORTVERSION= 0.6.1
CATEGORIES= math python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -13,8 +12,6 @@ COMMENT= Complement to SciPy for statistical computations
LICENSE= BSD3CLAUSE
-BROKEN= Fails to build
-
BUILD_DEPENDS= ${PYNUMPY} \
${PYTHON_PKGNAMEPREFIX}scipy>0:${PORTSDIR}/science/py-scipy \
${PYTHON_PKGNAMEPREFIX}pandas>0:${PORTSDIR}/math/py-pandas \
@@ -25,14 +22,9 @@ RUN_DEPENDS= ${PYNUMPY} \
${PYTHON_PKGNAMEPREFIX}patsy>0:${PORTSDIR}/math/py-patsy
OPTIONS_DEFINE= DOCS EXAMPLES
-DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
-EXAMPLESDIR= ${PREFIX}/share/doc/py-${PORTNAME}
USES= python
-USE_PYTHON= distutils py3kplist noegginfo
-PLIST_SUB= PYDISTUTILS_EGGINFO=${PYDISTUTILS_EGGINFO}
-PORTDOCS= * .buildinfo
-PORTEXAMPLES= *
+USE_PYTHON= py3kplist distutils concurrent
.include <bsd.port.options.mk>
@@ -50,7 +42,7 @@ post-install:
${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/${PORTNAME}/tsa/kalmanf/kalman_loglike.so
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${STAGEDIR}${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/README.txt ${WRKSRC}/README_l1.txt ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README.rst ${WRKSRC}/README_l1.txt ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC}/build/sphinx/html && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
.endif
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}