git: f0c7c1960e4c - main - math/py-numpy: Lint with portclippy and portfmt
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 10 Sep 2025 11:22:35 UTC
The branch main has been updated by 0mp:
URL: https://cgit.FreeBSD.org/ports/commit/?id=f0c7c1960e4c7344ddab7985121e6c1c475f768a
commit f0c7c1960e4c7344ddab7985121e6c1c475f768a
Author: Mateusz Piotrowski <0mp@FreeBSD.org>
AuthorDate: 2025-09-09 14:31:16 +0000
Commit: Mateusz Piotrowski <0mp@FreeBSD.org>
CommitDate: 2025-09-10 11:21:38 +0000
math/py-numpy: Lint with portclippy and portfmt
Approved by: portmgr blanket
---
math/py-numpy/Makefile | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/math/py-numpy/Makefile b/math/py-numpy/Makefile
index 9e95667d2031..6bc573cbd5c1 100644
--- a/math/py-numpy/Makefile
+++ b/math/py-numpy/Makefile
@@ -26,20 +26,20 @@ USES= compiler:c11 cpe fortran python:3.9+
USE_PYTHON= allflavors autoplist concurrent cython distutils
GCCLIBDIR_CMDS= ${FC} -print-file-name=libgfortran.so | ${SED} -e s/libgfortran.so//
-LDFLAGS+= -s
-PYDISTUTILS_BUILDARGS= --fcompiler=gnu95
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
@@ -56,9 +56,6 @@ post-extract:
@${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 +65,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: