git: 1284c827e78b - main - math/py-blis07: Add py-blis07 0.7.11 (copied from py-blis)

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sun, 04 Aug 2024 17:21:50 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=1284c827e78bd30645fe3e8cb1c80fa7bbb1b019

commit 1284c827e78bd30645fe3e8cb1c80fa7bbb1b019
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-08-04 16:44:14 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-08-04 17:13:53 +0000

    math/py-blis07: Add py-blis07 0.7.11 (copied from py-blis)
    
    - Add PORTSCOUT
---
 math/Makefile            |  1 +
 math/py-blis07/Makefile  | 28 ++++++++++++++++++++++++++++
 math/py-blis07/distinfo  |  3 +++
 math/py-blis07/pkg-descr |  2 ++
 4 files changed, 34 insertions(+)

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.