aboutsummaryrefslogtreecommitdiff
path: root/science/py-neo
diff options
context:
space:
mode:
Diffstat (limited to 'science/py-neo')
-rw-r--r--science/py-neo/Makefile12
-rw-r--r--science/py-neo/distinfo6
-rw-r--r--science/py-neo/files/patch-pyproject.toml11
3 files changed, 24 insertions, 5 deletions
diff --git a/science/py-neo/Makefile b/science/py-neo/Makefile
index af57025f1e56..87932cd97b3c 100644
--- a/science/py-neo/Makefile
+++ b/science/py-neo/Makefile
@@ -1,5 +1,5 @@
PORTNAME= neo
-PORTVERSION= 0.14.2
+PORTVERSION= 0.14.3
CATEGORIES= science python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -12,12 +12,20 @@ WWW= https://neo.readthedocs.io/en/latest/ \
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
+BUILD_DEPENDS= ${PY_SETUPTOOLS} \
+ ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
RUN_DEPENDS= ${PYNUMPY} \
${PYTHON_PKGNAMEPREFIX}packaging>0:devel/py-packaging@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}quantities>=0.16.1:science/py-quantities@${PY_FLAVOR}
USES= python
-USE_PYTHON= distutils autoplist concurrent pytest
+USE_PYTHON= pep517 autoplist concurrent pytest
+
+TEST_ENV= ${MAKE_ENV} \
+ PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} \
+ DISPLAY=${DISPLAY} \
+ XAUTHORITY=${XAUTHORITY}
+TEST_WRKSRC= ${WRKSRC}/neo/test
NO_ARCH= yes
diff --git a/science/py-neo/distinfo b/science/py-neo/distinfo
index 11e758623a41..656ae38760b3 100644
--- a/science/py-neo/distinfo
+++ b/science/py-neo/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1759525621
-SHA256 (neo-0.14.2.tar.gz) = 76517503e114fffcc38aa3600c04dd8be48b1ee5e2c8162bc0db8fb92476811f
-SIZE (neo-0.14.2.tar.gz) = 5067423
+TIMESTAMP = 1761805461
+SHA256 (neo-0.14.3.tar.gz) = 50d473fb9070d1728ec6fd72bdad16262b40f7c99df7ff5e8d927ebc2680b080
+SIZE (neo-0.14.3.tar.gz) = 5076523
diff --git a/science/py-neo/files/patch-pyproject.toml b/science/py-neo/files/patch-pyproject.toml
new file mode 100644
index 000000000000..e5bbf1113b30
--- /dev/null
+++ b/science/py-neo/files/patch-pyproject.toml
@@ -0,0 +1,11 @@
+--- pyproject.toml.orig 2025-10-30 06:25:36 UTC
++++ pyproject.toml
+@@ -36,7 +36,7 @@ download = "http://pypi.python.org/pypi/neo"
+
+
+ [build-system]
+-requires = ["setuptools>=78.0.2"]
++requires = ["setuptools"]
+ build-backend = "setuptools.build_meta"
+
+ [project.optional-dependencies]