aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2024-08-04 16:44:14 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2024-08-04 17:13:53 +0000
commit1284c827e78bd30645fe3e8cb1c80fa7bbb1b019 (patch)
tree01fba05db0643ea77c983040ebf3bc320e373953
parentdea8701c810835f84f6677bfbfde5d8f25e53171 (diff)
math/py-blis07: Add py-blis07 0.7.11 (copied from py-blis)
- Add PORTSCOUT
-rw-r--r--math/Makefile1
-rw-r--r--math/py-blis07/Makefile28
-rw-r--r--math/py-blis07/distinfo3
-rw-r--r--math/py-blis07/pkg-descr2
4 files changed, 34 insertions, 0 deletions
diff --git a/math/Makefile b/math/Makefile
index bd9cb4a64ba4..7949a311dc4d 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -916,6 +916,7 @@
SUBDIR += py-bitmath
SUBDIR += py-bitvector
SUBDIR += py-blis
+ SUBDIR += py-blis07
SUBDIR += py-bottleneck
SUBDIR += py-brial
SUBDIR += py-chaospy
diff --git a/math/py-blis07/Makefile b/math/py-blis07/Makefile
new file mode 100644
index 000000000000..78749f8c10e2
--- /dev/null
+++ b/math/py-blis07/Makefile
@@ -0,0 +1,28 @@
+PORTNAME= blis
+PORTVERSION= 0.7.11
+CATEGORIES= math python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+PKGNAMESUFFIX= 07
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= BLAS-like linear algebra library, as a self-contained C-extension
+WWW= https://github.com/explosion/cython-blis
+
+LICENSE= BSD3CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=1.25.0,1:math/py-numpy@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=1.19.0,1:math/py-numpy@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= autoplist concurrent cython pep517
+
+PORTSCOUT= limit:^0\.7\.
+
+post-install:
+ ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +
+
+.include <bsd.port.mk>
diff --git a/math/py-blis07/distinfo b/math/py-blis07/distinfo
new file mode 100644
index 000000000000..719d75983e76
--- /dev/null
+++ b/math/py-blis07/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1708448832
+SHA256 (blis-0.7.11.tar.gz) = cec6d48f75f7ac328ae1b6fbb372dde8c8a57c89559172277f66e01ff08d4d42
+SIZE (blis-0.7.11.tar.gz) = 2897107
diff --git a/math/py-blis07/pkg-descr b/math/py-blis07/pkg-descr
new file mode 100644
index 000000000000..4460d449c824
--- /dev/null
+++ b/math/py-blis07/pkg-descr
@@ -0,0 +1,2 @@
+Cython BLIS provides the Blis linear algebra routines as a self-contained Python
+C-extension.