replace patch with a dep on oldest-supported-numoy, now that we have it

This commit is contained in:
sthen 2022-11-26 09:58:02 +00:00
parent 9944338f4c
commit c3246a42a5
2 changed files with 5 additions and 13 deletions

View File

@ -4,7 +4,7 @@ MODPY_EGG_VERSION = 2.8.3
DISTNAME = numexpr-${MODPY_EGG_VERSION}
PKGNAME = py-${DISTNAME}
CATEGORIES = math
REVISION = 0
REVISION = 1
# MIT
PERMIT_PACKAGE = Yes
@ -23,7 +23,9 @@ MODPY_PYTEST_ARGS = build/lib.openbsd-${OSREV}-${ARCH}-cpython-${MODPY_MAJORMINO
FIX_CRLF_FILES = pyproject.toml
RUN_DEPENDS = math/py-numpy${MODPY_FLAVOR}
BUILD_DEPENDS = ${RUN_DEPENDS}
RUN_DEPENDS = math/py-numpy${MODPY_FLAVOR} \
sysutils/py-packaging${MODPY_FLAVOR}
BUILD_DEPENDS = ${RUN_DEPENDS} \
math/py-oldest-supported-numpy${MODPY_FLAVOR}
.include <bsd.port.mk>

View File

@ -1,10 +0,0 @@
Index: pyproject.toml
--- pyproject.toml.orig
+++ pyproject.toml
@@ -1,3 +1,3 @@
[build-system]
-requires = ["setuptools", "wheel", "oldest-supported-numpy"]
-build-backend = "setuptools.build_meta"
\ No newline at end of file
+requires = ["setuptools", "wheel"]
+build-backend = "setuptools.build_meta"