git: 37004cc3cdcb - main - devel/py-thriftpy2: Remove cython hack
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 26 Jun 2025 17:30:24 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=37004cc3cdcb636b3d49028786112459d137c9a6
commit 37004cc3cdcb636b3d49028786112459d137c9a6
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2025-06-26 17:28:15 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2025-06-26 17:30:02 +0000
devel/py-thriftpy2: Remove cython hack
- Bump PORTREVISION for potential package change
---
devel/py-thriftpy2/Makefile | 3 ++-
devel/py-thriftpy2/files/patch-pyproject.toml | 11 -----------
2 files changed, 2 insertions(+), 12 deletions(-)
diff --git a/devel/py-thriftpy2/Makefile b/devel/py-thriftpy2/Makefile
index cab0243774f4..48e499e06492 100644
--- a/devel/py-thriftpy2/Makefile
+++ b/devel/py-thriftpy2/Makefile
@@ -1,5 +1,6 @@
PORTNAME= thriftpy2
PORTVERSION= 0.5.2
+PORTREVISION= 1
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -18,7 +19,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ply>=3.4<4.0:devel/py-ply@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}six>=1.15<2:devel/py-six@${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/devel/py-thriftpy2/files/patch-pyproject.toml b/devel/py-thriftpy2/files/patch-pyproject.toml
deleted file mode 100644
index c9747b866406..000000000000
--- a/devel/py-thriftpy2/files/patch-pyproject.toml
+++ /dev/null
@@ -1,11 +0,0 @@
---- pyproject.toml.orig 2024-07-05 11:57:11 UTC
-+++ pyproject.toml
-@@ -9,7 +9,7 @@ dependencies = [
- {name = "ThriftPy Organization", email = "gotzehsing@gmail.com"},
- ]
- dependencies = [
-- "Cython>=3.0.10",
-+ "Cython",
- "ply>=3.4,<4.0",
- "six~=1.15",
- ]