View | Details | Raw Unified | Return to bug 287794 | Differences between
and this patch

Collapse All | Expand All

(-)b/math/py-numpy/Makefile (-14 / +30 lines)
Lines 18-33 WWW= https://www.numpy.org/ Link Here
18
LICENSE=	BSD3CLAUSE
18
LICENSE=	BSD3CLAUSE
19
LICENSE_FILE=	${WRKSRC}/LICENSE.txt
19
LICENSE_FILE=	${WRKSRC}/LICENSE.txt
20
20
21
TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>=6.2.5:devel/py-pytest@${PY_FLAVOR} \
21
BUILD_DEPENDS=	${PY_SETUPTOOLS} \
22
		${PYTHON_PKGNAMEPREFIX}hypothesis>=6.24.1:devel/py-hypothesis@${PY_FLAVOR} \
22
		${PYTHON_PKGNAMEPREFIX}meson-python>=0:devel/meson-python@${PY_FLAVOR}
23
TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}hypothesis>=6.24.1:devel/py-hypothesis@${PY_FLAVOR} \
24
		${PYTHON_PKGNAMEPREFIX}pytest>=6.2.5:devel/py-pytest@${PY_FLAVOR} \
23
		${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.2.0:devel/py-typing-extensions@${PY_FLAVOR}
25
		${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.2.0:devel/py-typing-extensions@${PY_FLAVOR}
24
26
25
USES=		compiler:c11 cpe fortran python:3.9+
27
USES=		compiler:c11 cpe fortran pkgconfig python:3.9+ shebangfix
26
USE_PYTHON=	allflavors autoplist concurrent cython distutils
28
USE_PYTHON=	allflavors autoplist concurrent cython pep517
27
29
28
GCCLIBDIR_CMDS=	${FC} -print-file-name=libgfortran.so | ${SED} -e s/libgfortran.so//
30
GCCLIBDIR_CMDS=	${FC} -print-file-name=libgfortran.so | ${SED} -e \
31
		s/libgfortran.so//
29
LDFLAGS+=	-s
32
LDFLAGS+=	-s
30
PYDISTUTILS_BUILDARGS=		--fcompiler=gnu95
33
PYDISTUTILS_BUILDARGS=	--fcompiler=gnu95
31
PYDISTUTILS_CONFIGUREARGS=	--fcompiler=gnu95
34
PYDISTUTILS_CONFIGUREARGS=	--fcompiler=gnu95
32
35
33
PIE_UNSAFE=	yes
36
PIE_UNSAFE=	yes
Lines 42-55 OPTIONS_SINGLE_BLASLIB= ATLAS NETLIB OPENBLAS Link Here
42
OPTIONS_DEFAULT=	OPENBLAS SUITESPARSE
45
OPTIONS_DEFAULT=	OPENBLAS SUITESPARSE
43
SUITESPARSE_DESC=	Use AMD and UMFPACK in SuiteSparse
46
SUITESPARSE_DESC=	Use AMD and UMFPACK in SuiteSparse
44
47
45
ATLAS_USES=		blaslapack:atlas
48
ATLAS_USES=			blaslapack:atlas
46
ATLAS_VARS=		BLASLIBS="ptf77blas, ptcblas" BLASNAME=atlas LAPACKLIBS=alapack LIBRARIES=atlas_libs
49
ATLAS_VARS=			BLASLIBS="ptf77blas, ptcblas" \
47
NETLIB_LIB_DEPENDS=	libcblas.so:math/cblas
50
				BLASNAME=atlas \
48
NETLIB_USES=		blaslapack:netlib
51
				LAPACKLIBS=alapack \
49
NETLIB_VARS=		BLASLIBS="blas, cblas" BLASNAME=atlas LAPACKLIBS=lapack LIBRARIES=atlas_libs
52
				LIBRARIES=atlas_libs
50
OPENBLAS_USES=		blaslapack:openblas
53
NETLIB_LIB_DEPENDS=		libcblas.so:math/cblas
51
OPENBLAS_VARS=		BLASLIBS="openblas, gfortran" BLASNAME=openblas LAPACKLIBS="openblas, gfortran" LIBRARIES=libraries
54
NETLIB_USES=			blaslapack:netlib
52
SUITESPARSE_LIB_DEPENDS=libumfpack.so:math/suitesparse-umfpack
55
NETLIB_VARS=			BLASLIBS="blas, cblas" \
56
				BLASNAME=atlas \
57
				LAPACKLIBS=lapack \
58
				LIBRARIES=atlas_libs
59
OPENBLAS_USES=			blaslapack:openblas
60
OPENBLAS_VARS=			BLASLIBS="openblas, gfortran" \
61
				BLASNAME=openblas \
62
				LAPACKLIBS="openblas, gfortran" \
63
				LIBRARIES=libraries
64
SUITESPARSE_LIB_DEPENDS=	libumfpack.so:math/suitesparse-umfpack
65
66
SHEBANG_FILES=	numpy/f2py/crackfortran.py numpy/f2py/f2py2e.py \
67
		numpy/f2py/rules.py numpy/testing/print_coercion_tables.py \
68
		numpy/testing/setup.py
53
69
54
post-extract:
70
post-extract:
55
	@${TOUCH} ${WRKSRC}/numpy/f2py/tests/src/temp
71
	@${TOUCH} ${WRKSRC}/numpy/f2py/tests/src/temp
(-)b/math/py-numpy/files/patch-pyproject.toml (-1 / +11 lines)
Added Link Here
0
- 
1
--- pyproject.toml.orig 2025-06-24 22:40:55 UTC
2
+++ pyproject.toml
3
@@ -2,7 +2,7 @@ requires = [
4
 build-backend = "mesonpy"
5
 requires = [
6
     "Cython>=0.29.34,<3.1",
7
-    "meson-python>=0.15.0,<0.16.0",
8
+    "meson-python>=0.15.0",
9
 ]
10
11
 [project]

Return to bug 287794