87edcb24b1
Install the new interchangeable BLAS system created by Thomas Orgis, currently supporting Netlib BLAS/LAPACK, OpenBLAS, cblas, lapacke, and Apple's Accelerate.framework. This system allows the user to select any BLAS implementation without modifying packages or using package options, by setting PKGSRC_BLAS_TYPES in mk.conf. See mk/blas.buildlink3.mk for details. This commit should not alter behavior of existing packages as the system defaults to Netlib BLAS/LAPACK, which until now has been the only supported implementation. Details: Add new mk/blas.buildlink3.mk for inclusion in dependent packages Install compatible Netlib math/blas and math/lapack packages Update math/blas and math/lapack MAINTAINER approved by adam@ OpenBLAS, cblas, and lapacke will follow in separate commits Update direct dependents to use mk/blas.buildlink3.mk Perform recursive revbump
45 lines
1.4 KiB
Makefile
45 lines
1.4 KiB
Makefile
# $NetBSD: Makefile,v 1.7 2020/10/12 21:52:04 bacon Exp $
|
|
|
|
DISTNAME= tables-3.6.1
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
|
PKGREVISION= 1
|
|
CATEGORIES= math python
|
|
MASTER_SITES= ${MASTER_SITE_PYPI:=t/tables/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://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}
|
|
|
|
DEPENDS+= ${PYPKGPREFIX}-cython-[0-9]*:../../devel/py-cython
|
|
DEPENDS+= ${PYPKGPREFIX}-numexpr>=2.6.2:../../math/py-numexpr
|
|
DEPENDS+= ${PYPKGPREFIX}-mock>=2.0:../../devel/py-mock
|
|
DEPENDS+= ${PYPKGPREFIX}-six>=1.9.0:../../lang/py-six
|
|
|
|
USE_LANGUAGES= c c++
|
|
|
|
PYTHON_VERSIONS_INCOMPATIBLE= 27
|
|
|
|
post-install:
|
|
cd ${DESTDIR}${PREFIX}/bin && \
|
|
${MV} pt2to3 pt2to3-${PYVERSSUFFIX} && \
|
|
${MV} ptdump ptdump-${PYVERSSUFFIX} && \
|
|
${MV} ptrepack ptrepack-${PYVERSSUFFIX} && \
|
|
${MV} pttree pttree-${PYVERSSUFFIX} || ${TRUE}
|
|
|
|
do-test:
|
|
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/egg.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|