diff options
author | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2024-02-21 14:12:59 +0000 |
---|---|---|
committer | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2024-02-21 15:06:07 +0000 |
commit | 21b9950f5eb1eac3e6f5b01866ed970cf7492ba6 (patch) | |
tree | 85e79d01158d9b7928469e55eb69d7be270807f1 /math/py-blis | |
parent | c6b110ee4031a389f9643a7fc13609de51587766 (diff) | |
download | ports-21b9950f5eb1eac3e6f5b01866ed970cf7492ba6.tar.gz ports-21b9950f5eb1eac3e6f5b01866ed970cf7492ba6.zip |
math/py-blis: Add py-blis 0.7.11
Cython BLIS provides the Blis linear algebra routines as a self-contained Python
C-extension.
Diffstat (limited to 'math/py-blis')
-rw-r--r-- | math/py-blis/Makefile | 25 | ||||
-rw-r--r-- | math/py-blis/distinfo | 3 | ||||
-rw-r--r-- | math/py-blis/pkg-descr | 2 |
3 files changed, 30 insertions, 0 deletions
diff --git a/math/py-blis/Makefile b/math/py-blis/Makefile new file mode 100644 index 000000000000..cd8f1d6c0b91 --- /dev/null +++ b/math/py-blis/Makefile @@ -0,0 +1,25 @@ +PORTNAME= blis +PORTVERSION= 0.7.11 +CATEGORIES= math python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +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 + +post-install: + ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} + + +.include <bsd.port.mk> diff --git a/math/py-blis/distinfo b/math/py-blis/distinfo new file mode 100644 index 000000000000..719d75983e76 --- /dev/null +++ b/math/py-blis/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-blis/pkg-descr b/math/py-blis/pkg-descr new file mode 100644 index 000000000000..4460d449c824 --- /dev/null +++ b/math/py-blis/pkg-descr @@ -0,0 +1,2 @@ +Cython BLIS provides the Blis linear algebra routines as a self-contained Python +C-extension. |