py-pytables: fixed building

PYSETUPINSTALLARGS must not use PYSETUPBUILDARGS
It's an egg package
Depend on blosc.
This commit is contained in:
adam 2018-03-29 18:08:27 +00:00
parent 69c98a46c8
commit 1c4cc7511f
2 changed files with 14 additions and 12 deletions

View file

@ -1,7 +1,8 @@
# $NetBSD: Makefile,v 1.36 2017/05/21 07:52:55 adam Exp $
# $NetBSD: Makefile,v 1.37 2018/03/29 18:08:27 adam Exp $
DISTNAME= tables-3.4.2
PKGNAME= ${PYPKGPREFIX}-py${DISTNAME}
PKGREVISION= 1
CATEGORIES= math python
MASTER_SITES= ${MASTER_SITE_PYPI:=t/tables/}
@ -10,10 +11,10 @@ HOMEPAGE= http://www.pytables.org/
COMMENT= Database package for large amounts of data
LICENSE= modified-bsd
PYSETUPBUILDARGS+= --blosc=${BUILDLINK_PREFIX.blosc}
PYSETUPBUILDARGS+= --bzip2=${BUILDLINK_PREFIX.bzip2}
PYSETUPBUILDARGS+= --hdf5=${BUILDLINK_PREFIX.hdf5}
PYSETUPBUILDARGS+= --lzo=${BUILDLINK_PREFIX.lzo}
PYSETUPINSTALLARGS= ${PYSETUPBUILDARGS}
DEPENDS+= ${PYPKGPREFIX}-cython-[0-9]*:../../devel/py-cython
DEPENDS+= ${PYPKGPREFIX}-numexpr>=2.0:../../math/py-numexpr
@ -28,12 +29,13 @@ post-install:
mv pttree pttree${PYVERSSUFFIX}
do-test:
(cd ${WRKSRC}/tables/tests && ${PYTHONBIN} test_all.py)
cd ${WRKSRC}/tables/tests && ${PYTHONBIN} test_all.py
.include "../../archivers/bzip2/buildlink3.mk"
.include "../../archivers/lzo/buildlink3.mk"
.include "../../devel/blosc/buildlink3.mk"
.include "../../devel/hdf5/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../math/py-numpy/buildlink3.mk"
.include "../../lang/python/distutils.mk"
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"

View file

@ -1,15 +1,15 @@
@comment $NetBSD: PLIST,v 1.15 2017/05/21 07:52:55 adam Exp $
@comment $NetBSD: PLIST,v 1.16 2018/03/29 18:08:27 adam Exp $
bin/pt2to3${PYVERSSUFFIX}
bin/ptdump${PYVERSSUFFIX}
bin/ptrepack${PYVERSSUFFIX}
bin/pttree${PYVERSSUFFIX}
${PYSITELIB}/${EGG_FILE}/PKG-INFO
${PYSITELIB}/${EGG_FILE}/SOURCES.txt
${PYSITELIB}/${EGG_FILE}/dependency_links.txt
${PYSITELIB}/${EGG_FILE}/entry_points.txt
${PYSITELIB}/${EGG_FILE}/not-zip-safe
${PYSITELIB}/${EGG_FILE}/requires.txt
${PYSITELIB}/${EGG_FILE}/top_level.txt
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
${PYSITELIB}/${EGG_INFODIR}/requires.txt
${PYSITELIB}/${EGG_INFODIR}/top_level.txt
${PYSITELIB}/tables/__init__.py
${PYSITELIB}/tables/__init__.pyc
${PYSITELIB}/tables/__init__.pyo