git: acc744e9d5fa - main - math/py-pyreadstat: Remove cython hack
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 26 Jun 2025 17:30:27 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=acc744e9d5fa018802aa8b10580680d710d25f21
commit acc744e9d5fa018802aa8b10580680d710d25f21
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2025-06-26 17:28:26 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2025-06-26 17:30:03 +0000
math/py-pyreadstat: Remove cython hack
- Bump PORTREVISION for potential package change
---
math/py-pyreadstat/Makefile | 3 ++-
math/py-pyreadstat/files/patch-setup.py | 14 --------------
2 files changed, 2 insertions(+), 15 deletions(-)
diff --git a/math/py-pyreadstat/Makefile b/math/py-pyreadstat/Makefile
index a4fc50048746..28702f0c4c52 100644
--- a/math/py-pyreadstat/Makefile
+++ b/math/py-pyreadstat/Makefile
@@ -1,5 +1,6 @@
PORTNAME= pyreadstat
PORTVERSION= 1.2.9
+PORTREVISION= 1
CATEGORIES= math python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -17,7 +18,7 @@ BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLA
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pandas>=1.2.0,1:math/py-pandas@${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/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'
-
-