summaryrefslogtreecommitdiff
path: root/devel/py-thriftpy2
diff options
context:
space:
mode:
Diffstat (limited to 'devel/py-thriftpy2')
-rw-r--r--devel/py-thriftpy2/Makefile8
-rw-r--r--devel/py-thriftpy2/distinfo6
-rw-r--r--devel/py-thriftpy2/files/patch-pyproject.toml9
3 files changed, 16 insertions, 7 deletions
diff --git a/devel/py-thriftpy2/Makefile b/devel/py-thriftpy2/Makefile
index 48e499e06492..bbe775097d3a 100644
--- a/devel/py-thriftpy2/Makefile
+++ b/devel/py-thriftpy2/Makefile
@@ -1,6 +1,5 @@
PORTNAME= thriftpy2
-PORTVERSION= 0.5.2
-PORTREVISION= 1
+PORTVERSION= 0.5.3
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -13,13 +12,14 @@ WWW= https://thriftpy2.readthedocs.io/en/latest/ \
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
-BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=61:devel/py-setuptools@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}toml>=0:textproc/py-toml@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
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 cython3 pep517
+USE_PYTHON= autoplist concurrent cython pep517
post-install:
${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +
diff --git a/devel/py-thriftpy2/distinfo b/devel/py-thriftpy2/distinfo
index 7db44c273fdb..e38e391008c7 100644
--- a/devel/py-thriftpy2/distinfo
+++ b/devel/py-thriftpy2/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1726487366
-SHA256 (thriftpy2-0.5.2.tar.gz) = cefcb2f6f8b12c00054c6f942dd2323a53b48b8b6862312d03b677dcf0d4a6da
-SIZE (thriftpy2-0.5.2.tar.gz) = 782261
+TIMESTAMP = 1752566718
+SHA256 (thriftpy2-0.5.3.tar.gz) = ade0165ba060b97333bc7a927229e992441bfa17bb8e13ea05590c2ec3551b17
+SIZE (thriftpy2-0.5.3.tar.gz) = 814230
diff --git a/devel/py-thriftpy2/files/patch-pyproject.toml b/devel/py-thriftpy2/files/patch-pyproject.toml
new file mode 100644
index 000000000000..8bbcc8eff877
--- /dev/null
+++ b/devel/py-thriftpy2/files/patch-pyproject.toml
@@ -0,0 +1,9 @@
+--- pyproject.toml.orig 2025-07-14 13:08:30 UTC
++++ pyproject.toml
+@@ -1,5 +1,5 @@
+ [build-system]
+-requires = ["setuptools>=68", "cython>=0.28.4,<4", "toml"]
++requires = ["setuptools>=61", "cython>=0.28.4,<4", "toml"]
+
+ [project]
+ name = "thriftpy2"