diff options
Diffstat (limited to 'math/py-numpy/Makefile')
| -rw-r--r-- | math/py-numpy/Makefile | 60 | 
1 files changed, 38 insertions, 22 deletions
diff --git a/math/py-numpy/Makefile b/math/py-numpy/Makefile index 9e95667d2031..fce6242f50ce 100644 --- a/math/py-numpy/Makefile +++ b/math/py-numpy/Makefile @@ -1,6 +1,6 @@  PORTNAME=	numpy  PORTVERSION=	1.26.4 -PORTREVISION=	7 +PORTREVISION=	10  PORTEPOCH=	1  CATEGORIES=	math python  MASTER_SITES=	PYPI \ @@ -18,47 +18,60 @@ WWW=		https://www.numpy.org/  LICENSE=	BSD3CLAUSE  LICENSE_FILE=	${WRKSRC}/LICENSE.txt -TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>=6.2.5:devel/py-pytest@${PY_FLAVOR} \ -		${PYTHON_PKGNAMEPREFIX}hypothesis>=6.24.1:devel/py-hypothesis@${PY_FLAVOR} \ +BUILD_DEPENDS=	${PY_SETUPTOOLS} \ +		${PYTHON_PKGNAMEPREFIX}meson-python>=0:devel/meson-python@${PY_FLAVOR} +TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}hypothesis>=6.24.1:devel/py-hypothesis@${PY_FLAVOR} \ +		${PYTHON_PKGNAMEPREFIX}pytest>=6.2.5:devel/py-pytest@${PY_FLAVOR} \  		${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.2.0:devel/py-typing-extensions@${PY_FLAVOR} -USES=		compiler:c11 cpe fortran python:3.9+ -USE_PYTHON=	allflavors autoplist concurrent cython distutils +USES=		compiler:c11 cpe fortran pkgconfig python shebangfix +USE_PYTHON=	autoplist concurrent cython pep517 -GCCLIBDIR_CMDS=	${FC} -print-file-name=libgfortran.so | ${SED} -e s/libgfortran.so// -LDFLAGS+=	-s -PYDISTUTILS_BUILDARGS=		--fcompiler=gnu95 +GCCLIBDIR_CMDS=	${FC} -print-file-name=libgfortran.so | ${SED} -e \ +		s/libgfortran.so//  PYDISTUTILS_CONFIGUREARGS=	--fcompiler=gnu95 +PYDISTUTILS_BUILDARGS=	--fcompiler=gnu95 +LDFLAGS+=	-s  PIE_UNSAFE=	yes -PORTDOCS=	* -  PORTSCOUT=	limit:^1\. +PORTDOCS=	* +  OPTIONS_DEFINE=		DOCS SUITESPARSE +OPTIONS_DEFAULT=	OPENBLAS SUITESPARSE  OPTIONS_SINGLE=		BLASLIB  OPTIONS_SINGLE_BLASLIB=	ATLAS NETLIB OPENBLAS -OPTIONS_DEFAULT=	OPENBLAS SUITESPARSE  SUITESPARSE_DESC=	Use AMD and UMFPACK in SuiteSparse -ATLAS_USES=		blaslapack:atlas -ATLAS_VARS=		BLASLIBS="ptf77blas, ptcblas" BLASNAME=atlas LAPACKLIBS=alapack LIBRARIES=atlas_libs -NETLIB_LIB_DEPENDS=	libcblas.so:math/cblas -NETLIB_USES=		blaslapack:netlib -NETLIB_VARS=		BLASLIBS="blas, cblas" BLASNAME=atlas LAPACKLIBS=lapack LIBRARIES=atlas_libs -OPENBLAS_USES=		blaslapack:openblas -OPENBLAS_VARS=		BLASLIBS="openblas, gfortran" BLASNAME=openblas LAPACKLIBS="openblas, gfortran" LIBRARIES=libraries -SUITESPARSE_LIB_DEPENDS=libumfpack.so:math/suitesparse-umfpack +ATLAS_USES=			blaslapack:atlas +ATLAS_VARS=			BLASLIBS="ptf77blas, ptcblas" \ +				BLASNAME=atlas \ +				LAPACKLIBS=alapack \ +				LIBRARIES=atlas_libs +NETLIB_LIB_DEPENDS=		libcblas.so:math/cblas +NETLIB_USES=			blaslapack:netlib +NETLIB_VARS=			BLASLIBS="blas, cblas" \ +				BLASNAME=atlas \ +				LAPACKLIBS=lapack \ +				LIBRARIES=atlas_libs +OPENBLAS_USES=			blaslapack:openblas +OPENBLAS_VARS=			BLASLIBS="openblas, gfortran" \ +				BLASNAME=openblas \ +				LAPACKLIBS="openblas, gfortran" \ +				LIBRARIES=libraries +SUITESPARSE_LIB_DEPENDS=	libumfpack.so:math/suitesparse-umfpack + +SHEBANG_FILES=	numpy/f2py/crackfortran.py numpy/f2py/f2py2e.py \ +		numpy/f2py/rules.py numpy/testing/print_coercion_tables.py \ +		numpy/testing/setup.py  post-extract:  	@${TOUCH} ${WRKSRC}/numpy/f2py/tests/src/temp  	@${TOUCH} ${WRKSRC}/numpy/random/_examples/temp  	@${TOUCH} ${WRKSRC}/numpy/core/tests/examples/temp -pre-configure-SUITESPARSE-off: -	@${REINPLACE_CMD} -e 's|:%%LOCALBASE%%/include/suitesparse||' ${WRKSRC}/site.cfg -  pre-configure:  	@${REINPLACE_CMD} -e 's|%%FC%%|${FC}|' ${WRKSRC}/numpy/distutils/fcompiler/gnu.py  	@${CP} ${FILESDIR}/site.cfg ${WRKSRC}/site.cfg @@ -68,6 +81,9 @@ pre-configure:  			${WRKSRC}/site.cfg  	@${REINPLACE_CMD} -e "s|%%GCCLIBDIR%%|$$(${GCCLIBDIR_CMDS})|" ${WRKSRC}/site.cfg ${WRKSRC}/numpy/distutils/system_info.py +pre-configure-SUITESPARSE-off: +	@${REINPLACE_CMD} -e 's|:%%LOCALBASE%%/include/suitesparse||' ${WRKSRC}/site.cfg +  do-configure:  post-install:  | 
