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,26 +1,27 @@ PORTNAME= thriftpy2 PORTVERSION= 0.5.2 +PORTREVISION= 1 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Pure python implementation of Apache Thrift WWW= https://thriftpy2.readthedocs.io/en/latest/ \ https://github.com/Thriftpy/thriftpy2 LICENSE= MIT 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}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} {} + .include 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", - ]