aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2024-04-06 01:51:38 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2024-04-06 01:51:38 +0000
commit12f1eb46f65381a48503aac7aa97f90c1cf11ab5 (patch)
tree3d3911a897a65b27c9d2f6f96569370061b75da3
parent20381283b08113d8b119d370639301db04b5521d (diff)
downloadports-12f1eb46f65381a48503aac7aa97f90c1cf11ab5.tar.gz
ports-12f1eb46f65381a48503aac7aa97f90c1cf11ab5.zip
math/py-POT: update 0.9.2 → 0.9.3
Reported by: portscout
-rw-r--r--math/py-POT/Makefile9
-rw-r--r--math/py-POT/distinfo6
2 files changed, 9 insertions, 6 deletions
diff --git a/math/py-POT/Makefile b/math/py-POT/Makefile
index 6e67c5285f57..72a3080b785c 100644
--- a/math/py-POT/Makefile
+++ b/math/py-POT/Makefile
@@ -1,5 +1,5 @@
PORTNAME= POT
-DISTVERSION= 0.9.2
+DISTVERSION= 0.9.3
CATEGORIES= math python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -15,10 +15,13 @@ BUILD_DEPENDS= ${SETUPTOOLS} \
${PYNUMPY} \
${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
RUN_DEPENDS= ${PYNUMPY} \
- ${PYTHON_PKGNAMEPREFIX}scipy>0:science/py-scipy@${PY_FLAVOR}
+ ${PYTHON_PKGNAMEPREFIX}scipy>=1.6:science/py-scipy@${PY_FLAVOR}
USES= python
-USE_PYTHON= pep517 cython autoplist
+USE_PYTHON= pep517 cython autoplist pytest # expects newer pytest than 7.4.4: AttributeError: module pytest has no attribute skip_backend
+
+TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
+TEST_WRKSRC= ${WRKSRC}/test
post-install:
@${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/ot/lp/emd_wrap${PYTHON_EXT_SUFFIX}.so
diff --git a/math/py-POT/distinfo b/math/py-POT/distinfo
index c281f8201db1..9b06c3362dbc 100644
--- a/math/py-POT/distinfo
+++ b/math/py-POT/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1703323605
-SHA256 (POT-0.9.2.tar.gz) = 8b1ac1fca71dee525b62fd3407f296aa3cdb2b825ad751e00eb945845538084e
-SIZE (POT-0.9.2.tar.gz) = 373008
+TIMESTAMP = 1712367723
+SHA256 (POT-0.9.3.tar.gz) = eecf2394390a73472e727ef75f7c801fc47509039f00c40f8fc64fdeea617c86
+SIZE (POT-0.9.3.tar.gz) = 373598