summaryrefslogtreecommitdiff
path: root/math/py-pyreadstat
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--math/py-pyreadstat/Makefile7
-rw-r--r--math/py-pyreadstat/distinfo6
-rw-r--r--math/py-pyreadstat/files/patch-setup.py14
3 files changed, 7 insertions, 20 deletions
diff --git a/math/py-pyreadstat/Makefile b/math/py-pyreadstat/Makefile
index a4fc50048746..89f5c1217df5 100644
--- a/math/py-pyreadstat/Makefile
+++ b/math/py-pyreadstat/Makefile
@@ -1,5 +1,5 @@
PORTNAME= pyreadstat
-PORTVERSION= 1.2.9
+PORTVERSION= 1.3.1
CATEGORIES= math python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -14,10 +14,11 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pandas>=1.2.0,1:math/py-pandas@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}narwhals>=2.0:math/py-narwhals@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}numpy>=0,1:math/py-numpy@${PY_FLAVOR}
USES= python
-USE_PYTHON= autoplist concurrent cython pep517
+USE_PYTHON= autoplist concurrent cython3 pep517
post-install:
${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +
diff --git a/math/py-pyreadstat/distinfo b/math/py-pyreadstat/distinfo
index 0228375655b3..6c4da3f3c0f6 100644
--- a/math/py-pyreadstat/distinfo
+++ b/math/py-pyreadstat/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1747715454
-SHA256 (pyreadstat-1.2.9.tar.gz) = bc4ff137b70013869727926867cf3c175ac56fd4e4a1d0e4317b559d8487ee4f
-SIZE (pyreadstat-1.2.9.tar.gz) = 565303
+TIMESTAMP = 1757120790
+SHA256 (pyreadstat-1.3.1.tar.gz) = 5e22b4000570cc0b0b850c7fedc13129546729ca413d67697ede0074423b1ef6
+SIZE (pyreadstat-1.3.1.tar.gz) = 610773
diff --git a/math/py-pyreadstat/files/patch-setup.py b/math/py-pyreadstat/files/patch-setup.py
deleted file mode 100644
index ee04a6d9cc21..000000000000
--- a/math/py-pyreadstat/files/patch-setup.py
+++ /dev/null
@@ -1,14 +0,0 @@
---- setup.py.orig 2024-10-18 20:21:39 UTC
-+++ setup.py
-@@ -26,11 +26,6 @@ if PY_MAJOR_VERSION < 3 and os.name == 'nt':
- if PY_MAJOR_VERSION < 3 and os.name == 'nt':
- raise Exception("Python 2 is not supported on Windows.")
-
--cyver = int(Cython.__version__.split(".")[0])
--if cyver < 3:
-- msg = "Cython version 3 or newer required"
-- raise Exception(msg)
--
- ext = '.pyx'
-
-