summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorwiz <wiz>2016-08-19 07:57:26 +0000
committerwiz <wiz>2016-08-19 07:57:26 +0000
commit7c1d56d01ec77b93c7f4bd3a458f9cd80d9ab779 (patch)
tree8763eacc5053ea27ec131c7215e4d29485825b38 /math
parent2ebe07772260185ca14bbbb9c9e51a530eae1579 (diff)
downloadpkgsrc-7c1d56d01ec77b93c7f4bd3a458f9cd80d9ab779.tar.gz
Prefer egg.mk to distutils.mk. Clean up. Add missing dependency on
py-sqlite3. Add missing test dependency on py-nose. Add comments with links to bug reports about test failures. Bump PKGREVISION for dependency change.
Diffstat (limited to 'math')
-rw-r--r--math/py-pandas/Makefile12
-rw-r--r--math/py-pandas/PLIST14
2 files changed, 16 insertions, 10 deletions
diff --git a/math/py-pandas/Makefile b/math/py-pandas/Makefile
index 6b87fefa97d..2ff0cdf546e 100644
--- a/math/py-pandas/Makefile
+++ b/math/py-pandas/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.12 2016/08/16 03:22:12 maya Exp $
+# $NetBSD: Makefile,v 1.13 2016/08/19 07:57:26 wiz Exp $
DISTNAME= pandas-0.18.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+PKGREVISION= 1
CATEGORIES= math graphics python
MASTER_SITES= ${MASTER_SITE_PYPI:=p/pandas/}
@@ -14,11 +15,16 @@ DEPENDS+= ${PYPKGPREFIX}-numexpr-[0-9]*:../../math/py-numexpr
DEPENDS+= ${PYPKGPREFIX}-pytz>=1.5:../../time/py-pytz
DEPENDS+= ${PYPKGPREFIX}-scipy>=0.7:../../math/py-scipy
DEPENDS+= ${PYPKGPREFIX}-pytables>=2.2:../../math/py-pytables
+DEPENDS+= ${PYPKGPREFIX}-sqlite3-[0-9]*:../../databases/py-sqlite3
BUILDLINK_API_DEPENDS.pynumpy+= ${PYPKGPREFIX}-numpy>=1.7.0
+# TEST_DEPENDS
+BUILD_DEPENDS+= ${PYPKGPREFIX}-nose-[0-9]*:../../devel/py-nose
+# 20 test failures as of 0.18.1, see
+# https://github.com/pydata/pandas/issues/12337
+# https://github.com/pydata/pandas/issues/14043
PYTHON_VERSIONED_DEPENDENCIES= dateutil
-PYDISTUTILSPKG= yes
PLIST_SUBST+= PYPKGPREFIX=${PYPKGPREFIX}
USE_LANGUAGES= c c++
@@ -26,7 +32,7 @@ USE_LANGUAGES= c c++
.include "../../mk/compiler.mk"
# XXX want py-bottleneck
-.include "../../lang/python/distutils.mk"
+.include "../../lang/python/egg.mk"
.include "../../lang/python/versioned_dependencies.mk"
.include "../../math/py-numpy/buildlink3.mk"
.include "../../graphics/py-matplotlib/buildlink3.mk"
diff --git a/math/py-pandas/PLIST b/math/py-pandas/PLIST
index 7a8f822a73d..09bb0d4766c 100644
--- a/math/py-pandas/PLIST
+++ b/math/py-pandas/PLIST
@@ -1,10 +1,10 @@
-@comment $NetBSD: PLIST,v 1.8 2016/08/16 03:22:12 maya Exp $
-${PYSITELIB}/${EGG_FILE}/PKG-INFO
-${PYSITELIB}/${EGG_FILE}/SOURCES.txt
-${PYSITELIB}/${EGG_FILE}/dependency_links.txt
-${PYSITELIB}/${EGG_FILE}/not-zip-safe
-${PYSITELIB}/${EGG_FILE}/requires.txt
-${PYSITELIB}/${EGG_FILE}/top_level.txt
+@comment $NetBSD: PLIST,v 1.9 2016/08/19 07:57:26 wiz Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
${PYSITELIB}/pandas/__init__.py
${PYSITELIB}/pandas/__init__.pyc
${PYSITELIB}/pandas/__init__.pyo