pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/math/py-pandas Prefer egg.mk to distutils.mk. Clean up...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b14651f27028
branches:  trunk
changeset: 351330:b14651f27028
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Fri Aug 19 07:57:26 2016 +0000

description:
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:

 math/py-pandas/Makefile |  12 +++++++++---
 math/py-pandas/PLIST    |  14 +++++++-------
 2 files changed, 16 insertions(+), 10 deletions(-)

diffs (61 lines):

diff -r f1bc51606b51 -r b14651f27028 math/py-pandas/Makefile
--- a/math/py-pandas/Makefile   Fri Aug 19 07:18:01 2016 +0000
+++ b/math/py-pandas/Makefile   Fri Aug 19 07:57:26 2016 +0000
@@ -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}-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 @@
 .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 -r f1bc51606b51 -r b14651f27028 math/py-pandas/PLIST
--- a/math/py-pandas/PLIST      Fri Aug 19 07:18:01 2016 +0000
+++ b/math/py-pandas/PLIST      Fri Aug 19 07:57:26 2016 +0000
@@ -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



Home | Main Index | Thread Index | Old Index