Skip to content
Snippets Groups Projects
Verified Commit f86bafdd authored by sunpoet's avatar sunpoet
Browse files

math/py-ml-dtypes: Fix build after py-pybind11 2.11.0 update...

math/py-ml-dtypes: Fix build after py-pybind11 2.11.0 update (8c3e03e4)

- Bump PORTREVISION for package change
parent 0e9e27d1
No related branches found
No related tags found
No related merge requests found
PORTNAME= ml-dtypes PORTNAME= ml-dtypes
PORTVERSION= 0.2.0 PORTVERSION= 0.2.0
PORTREVISION= 1
CATEGORIES= math python CATEGORIES= math python
MASTER_SITES= PYPI MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
...@@ -13,8 +14,8 @@ LICENSE= APACHE20 ...@@ -13,8 +14,8 @@ LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=1.23.3:math/py-numpy@${PY_FLAVOR} \ BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=1.23.3:math/py-numpy@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pybind11>=2.10.0<2.11:devel/py-pybind11@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pybind11>=2.10.0:devel/py-pybind11@${PY_FLAVOR} \
${PY_SETUPTOOLS} \ ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=1.23.3:math/py-numpy@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=1.23.3:math/py-numpy@${PY_FLAVOR}
......
--- pyproject.toml.orig 2023-03-27 19:04:56 UTC --- pyproject.toml.orig 2023-06-06 14:42:20 UTC
+++ pyproject.toml +++ pyproject.toml
@@ -16,10 +16,7 @@ keywords = [] @@ -16,10 +16,7 @@ keywords = []
...@@ -12,16 +12,17 @@ ...@@ -12,16 +12,17 @@
] ]
[project.urls] [project.urls]
@@ -45,11 +42,9 @@ pyink-use-majority-quotes = true @@ -47,11 +44,9 @@ pyink-use-majority-quotes = true
[build-system] [build-system]
requires = [ requires = [
- # Build with oldest supported numpy for each Python version. - # Build with oldest supported numpy for each Python version.
- "numpy~=1.21.2; python_version<'3.11'", - "numpy~=1.21.2; python_version<'3.11'",
- "numpy~=1.23.3; python_version>='3.11'", - "numpy~=1.23.3; python_version>='3.11'",
+ "numpy>=1.23.3", - "pybind11~=2.10.0",
"pybind11~=2.10.0",
- "setuptools~=67.6.0", - "setuptools~=67.6.0",
+ "numpy>=1.23.3",
+ "pybind11>=2.10.0",
+ "setuptools", + "setuptools",
] ]
build-backend = "setuptools.build_meta" build-backend = "setuptools.build_meta"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment