Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Aug 2024 17:22:53 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 093df7a3c344 - main - math/py-blis: Update 1.0.0
Message-ID:  <202408041722.474HMrTH066042@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=093df7a3c3446ed6708cfe800541e7f642f465f2

commit 093df7a3c3446ed6708cfe800541e7f642f465f2
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-08-04 17:08:20 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-08-04 17:14:08 +0000

    math/py-blis: Update 1.0.0
    
    - Add GitHub to MASTER_SITES
    
    Changes:        https://github.com/explosion/cython-blis/releases
---
 math/py-blis/Makefile                   |  9 +++++----
 math/py-blis/distinfo                   |  6 +++---
 math/py-blis/files/patch-pyproject.toml | 11 +++++++++++
 math/py-blis/files/patch-setup.py       | 15 +++++++++++++++
 4 files changed, 34 insertions(+), 7 deletions(-)

diff --git a/math/py-blis/Makefile b/math/py-blis/Makefile
index cd8f1d6c0b91..ff9e1f8eeb74 100644
--- a/math/py-blis/Makefile
+++ b/math/py-blis/Makefile
@@ -1,7 +1,8 @@
 PORTNAME=	blis
-PORTVERSION=	0.7.11
+PORTVERSION=	1.0.0
 CATEGORIES=	math python
-MASTER_SITES=	PYPI
+MASTER_SITES=	PYPI \
+		https://github.com/explosion/cython-blis/releases/download/release-v${PORTVERSION}/
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
 MAINTAINER=	sunpoet@FreeBSD.org
@@ -11,10 +12,10 @@ 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} \
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}numpy>=0,1<3.0.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}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}numpy>=0,1<3.0.0,1:math/py-numpy@${PY_FLAVOR}
 
 USES=		python
 USE_PYTHON=	autoplist concurrent cython pep517
diff --git a/math/py-blis/distinfo b/math/py-blis/distinfo
index 719d75983e76..0b8f8b6af199 100644
--- a/math/py-blis/distinfo
+++ b/math/py-blis/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1708448832
-SHA256 (blis-0.7.11.tar.gz) = cec6d48f75f7ac328ae1b6fbb372dde8c8a57c89559172277f66e01ff08d4d42
-SIZE (blis-0.7.11.tar.gz) = 2897107
+TIMESTAMP = 1722711229
+SHA256 (blis-1.0.0.tar.gz) = 9ea14649ff07457e4112c7b94605e4aeb4f2fd5a8bd57c296ff8fbd154966ede
+SIZE (blis-1.0.0.tar.gz) = 3577365
diff --git a/math/py-blis/files/patch-pyproject.toml b/math/py-blis/files/patch-pyproject.toml
new file mode 100644
index 000000000000..d6c991a4feb2
--- /dev/null
+++ b/math/py-blis/files/patch-pyproject.toml
@@ -0,0 +1,11 @@
+--- pyproject.toml.orig	2024-07-25 17:54:37 UTC
++++ pyproject.toml
+@@ -2,7 +2,7 @@ requires = [
+ requires = [
+     "setuptools",
+     "cython>=0.25",
+-    "numpy>=2.0.0,<3.0.0"
++    "numpy>=0,<3.0.0"
+ ]
+ build-backend = "setuptools.build_meta"
+ 
diff --git a/math/py-blis/files/patch-setup.py b/math/py-blis/files/patch-setup.py
new file mode 100644
index 000000000000..f7813c468461
--- /dev/null
+++ b/math/py-blis/files/patch-setup.py
@@ -0,0 +1,15 @@
+--- setup.py.orig	2024-07-25 17:54:37 UTC
++++ setup.py
+@@ -327,10 +327,10 @@ setup(
+ setup(
+     setup_requires=[
+         "cython>=0.25",
+-        "numpy>=2.0.0,<3.0.0",
++        "numpy>=0,<3.0.0",
+     ],
+     install_requires=[
+-        "numpy>=2.0.0,<3.0.0",
++        "numpy>=0,<3.0.0",
+     ],
+     ext_modules=cythonize(
+         [



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202408041722.474HMrTH066042>