diff options
author | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2024-08-04 17:08:20 +0000 |
---|---|---|
committer | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2024-08-04 17:14:08 +0000 |
commit | 093df7a3c3446ed6708cfe800541e7f642f465f2 (patch) | |
tree | 0243be057b84d70a6683ab2b7e6f5aa671540697 | |
parent | 3e771e0e150e87a88ef7ff095b804a22612bfcdf (diff) |
-rw-r--r-- | math/py-blis/Makefile | 9 | ||||
-rw-r--r-- | math/py-blis/distinfo | 6 | ||||
-rw-r--r-- | math/py-blis/files/patch-pyproject.toml | 11 | ||||
-rw-r--r-- | 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( + [ |