math/py-blis: Remove cython hack

- Bump PORTREVISION for potential package change
This commit is contained in:
Po-Chuan Hsieh
2025-06-27 01:28:21 +08:00
parent a64c66afc4
commit ffae7d2145
3 changed files with 4 additions and 16 deletions
+2 -1
View File
@@ -1,5 +1,6 @@
PORTNAME= blis
PORTVERSION= 1.3.0
PORTREVISION= 1
CATEGORIES= math python
MASTER_SITES= PYPI \
https://github.com/explosion/cython-blis/releases/download/release-v${PORTVERSION}/
@@ -18,7 +19,7 @@ BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=1.19.3,1<3.0.0,1:math/py-numpy@${PY
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=1.19.0,1<3.0.0,1:math/py-numpy@${PY_FLAVOR}
USES= python
USE_PYTHON= autoplist concurrent cython pep517
USE_PYTHON= autoplist concurrent cython3 pep517
post-install:
${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +
-11
View File
@@ -1,11 +0,0 @@
--- pyproject.toml.orig 2025-04-03 12:23:45 UTC
+++ pyproject.toml
@@ -1,7 +1,7 @@ requires = [
[build-system]
requires = [
"setuptools",
- "cython>=3.0,<4.0",
+ "cython>=0,<4.0",
"numpy>=1.19.3,<3.0.0"
]
build-backend = "setuptools.build_meta"
+2 -4
View File
@@ -1,12 +1,10 @@
--- setup.py.orig 2025-04-03 12:23:45 UTC
+++ setup.py
@@ -302,8 +302,8 @@ setup(
@@ -303,7 +303,7 @@ setup(
setup(
setup_requires=[
- "cython>=3.0,<4.0",
"cython>=3.0,<4.0",
- "numpy>=2.0.0,<3.0.0",
+ "cython>=0,<4.0",
+ "numpy>=1.19.0,<3.0.0",
],
install_requires=[