diff options
author | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2022-07-07 20:22:40 +0800 |
---|---|---|
committer | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2022-07-07 20:36:18 +0800 |
commit | 7f0a554fcf87ed8587b9c3662fe0b42e7d4c85f2 (patch) | |
tree | ee513c7eb828060342aa112b188a838ed0958415 /science | |
parent | c6235d87b0f88612cd39744756689b5b5348455a (diff) | |
download | freebsd-ports-7f0a554fcf87ed8587b9c3662fe0b42e7d4c85f2.zip |
science/py-geometer: Revert d68b12c0a6f8c498482d8e3e1b800b140f3b719a
- Remove PYNUMPY
- Fix numpy requirement
- Bump PORTREVISION for package change
Diffstat (limited to 'science')
-rw-r--r-- | science/py-geometer/Makefile | 3 | ||||
-rw-r--r-- | science/py-geometer/files/patch-setup.py | 11 |
2 files changed, 13 insertions, 1 deletions
diff --git a/science/py-geometer/Makefile b/science/py-geometer/Makefile index 9b46bba77766..7b625ad3abb1 100644 --- a/science/py-geometer/Makefile +++ b/science/py-geometer/Makefile @@ -2,6 +2,7 @@ PORTNAME= geometer PORTVERSION= 0.3.4 +PORTREVISION= 1 CATEGORIES= science python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -12,7 +13,7 @@ COMMENT= Python geometry package based on projective geometry and numpy LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE -RUN_DEPENDS= ${PYNUMPY} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=1.15,1<1.24,1:math/py-numpy@${PY_FLAVOR} USES= python:3.7+ USE_PYTHON= autoplist concurrent distutils diff --git a/science/py-geometer/files/patch-setup.py b/science/py-geometer/files/patch-setup.py new file mode 100644 index 000000000000..1f084c317f18 --- /dev/null +++ b/science/py-geometer/files/patch-setup.py @@ -0,0 +1,11 @@ +--- setup.py.orig 2022-04-17 11:59:04 UTC ++++ setup.py +@@ -18,7 +18,7 @@ REQUIRES_PYTHON = ">=3.5.0" + VERSION = None + + # What packages are required for this module to be executed? +-REQUIRED = ["numpy>=1.15,<1.23"] ++REQUIRED = ["numpy>=1.15,<1.24"] + + # What packages are optional? + EXTRAS = { |