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
32 lines
962 B
Makefile
32 lines
962 B
Makefile
# $NetBSD: Makefile,v 1.9 2020/10/12 21:52:03 bacon Exp $
|
|
|
|
DISTNAME= netCDF4-1.5.3
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
|
PKGREVISION= 1
|
|
CATEGORIES= math python
|
|
MASTER_SITES= ${MASTER_SITE_PYPI:=n/netCDF4/}
|
|
|
|
MAINTAINER= jihbed.research@gmail.com
|
|
HOMEPAGE= https://github.com/Unidata/netcdf4-python
|
|
COMMENT= Object-oriented python interface to netCDF version 4
|
|
LICENSE= mit
|
|
|
|
DEPENDS+= ${PYPKGPREFIX}-cftime-[0-9]*:../../time/py-cftime
|
|
|
|
USE_TOOLS+= pkg-config
|
|
|
|
SUBST_CLASSES+= paths
|
|
SUBST_STAGE.paths= pre-configure
|
|
SUBST_SED.paths+= -e 's,/usr/local,${PREFIX},g'
|
|
SUBST_FILES.paths+= setup.py
|
|
SUBST_MESSAGE.paths= Fixing header search paths.
|
|
|
|
do-test:
|
|
cd ${WRKSRC}/test && ${SETENV} ${TEST_ENV} ${PYTHONBIN} run_all.py
|
|
|
|
.include "../../devel/hdf5/buildlink3.mk"
|
|
.include "../../devel/netcdf/buildlink3.mk"
|
|
.include "../../devel/py-cython/buildlink3.mk"
|
|
.include "../../lang/python/egg.mk"
|
|
.include "../../math/py-numpy/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|