git: 21b9950f5eb1 - main - math/py-blis: Add py-blis 0.7.11
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 21 Feb 2024 15:17:14 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=21b9950f5eb1eac3e6f5b01866ed970cf7492ba6 commit 21b9950f5eb1eac3e6f5b01866ed970cf7492ba6 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2024-02-21 14:12:59 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2024-02-21 15:06:07 +0000 math/py-blis: Add py-blis 0.7.11 Cython BLIS provides the Blis linear algebra routines as a self-contained Python C-extension. --- math/Makefile | 1 + math/py-blis/Makefile | 25 +++++++++++++++++++++++++ math/py-blis/distinfo | 3 +++ math/py-blis/pkg-descr | 2 ++ 4 files changed, 31 insertions(+) diff --git a/math/Makefile b/math/Makefile index d417801fc648..c62c66cc61b2 100644 --- a/math/Makefile +++ b/math/Makefile @@ -907,6 +907,7 @@ SUBDIR += py-benford_py SUBDIR += py-bitmath SUBDIR += py-bitvector + SUBDIR += py-blis SUBDIR += py-bottleneck SUBDIR += py-brial SUBDIR += py-chaospy 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.