git: 7f0a554fcf87 - main - science/py-geometer: Revert d68b12c0a6f8c498482d8e3e1b800b140f3b719a

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Thu, 07 Jul 2022 12:37:38 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=7f0a554fcf87ed8587b9c3662fe0b42e7d4c85f2

commit 7f0a554fcf87ed8587b9c3662fe0b42e7d4c85f2
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-07-07 12:22:40 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-07-07 12:36:18 +0000

    science/py-geometer: Revert d68b12c0a6f8c498482d8e3e1b800b140f3b719a
    
    - Remove PYNUMPY
    - Fix numpy requirement
    - Bump PORTREVISION for package change
---
 science/py-geometer/Makefile             |  3 ++-
 science/py-geometer/files/patch-setup.py | 11 +++++++++++
 2 files changed, 13 insertions(+), 1 deletion(-)

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 = {