Date: Wed, 18 Sep 2024 06:19:34 GMT From: Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 9cf9958ed0fe - main - devel/py-thriftpy2: Update to 0.5.2 Message-ID: <202409180619.48I6JYUn033780@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=9cf9958ed0feaf1c587de7a8b5ae23ee6738e87d commit 9cf9958ed0feaf1c587de7a8b5ae23ee6738e87d Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2024-09-18 05:56:36 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2024-09-18 06:13:16 +0000 devel/py-thriftpy2: Update to 0.5.2 - Update WWW - Add LICENSE_FILE - Convert to USE_PYTHON=pep517 - Remove NO_ARCH - Strip shared library - Update pkg-descr Changes: https://github.com/Thriftpy/thriftpy2/releases --- devel/py-thriftpy2/Makefile | 16 ++++++++++++---- devel/py-thriftpy2/distinfo | 6 +++--- devel/py-thriftpy2/files/patch-pyproject.toml | 11 +++++++++++ devel/py-thriftpy2/pkg-descr | 6 +++--- 4 files changed, 29 insertions(+), 10 deletions(-) diff --git a/devel/py-thriftpy2/Makefile b/devel/py-thriftpy2/Makefile index c6ee2b3eb14d..cab0243774f4 100644 --- a/devel/py-thriftpy2/Makefile +++ b/devel/py-thriftpy2/Makefile @@ -1,18 +1,26 @@ PORTNAME= thriftpy2 -DISTVERSION= 0.4.16 +PORTVERSION= 0.5.2 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Pure python implementation of Apache Thrift -WWW= https://github.com/Thriftpy/thriftpy2 +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 distutils +USE_PYTHON= autoplist concurrent cython pep517 -NO_ARCH= yes +post-install: + ${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} + .include <bsd.port.mk> diff --git a/devel/py-thriftpy2/distinfo b/devel/py-thriftpy2/distinfo index 02c74cebe5e9..7db44c273fdb 100644 --- a/devel/py-thriftpy2/distinfo +++ b/devel/py-thriftpy2/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1669189321 -SHA256 (thriftpy2-0.4.16.tar.gz) = 2aa67ecda99a948e4146341d388260b48ee7da5dfb9a951c4151988e2ed2fb4c -SIZE (thriftpy2-0.4.16.tar.gz) = 643424 +TIMESTAMP = 1726487366 +SHA256 (thriftpy2-0.5.2.tar.gz) = cefcb2f6f8b12c00054c6f942dd2323a53b48b8b6862312d03b677dcf0d4a6da +SIZE (thriftpy2-0.5.2.tar.gz) = 782261 diff --git a/devel/py-thriftpy2/files/patch-pyproject.toml b/devel/py-thriftpy2/files/patch-pyproject.toml new file mode 100644 index 000000000000..c9747b866406 --- /dev/null +++ b/devel/py-thriftpy2/files/patch-pyproject.toml @@ -0,0 +1,11 @@ +--- 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", + ] diff --git a/devel/py-thriftpy2/pkg-descr b/devel/py-thriftpy2/pkg-descr index 159f5d1e68ff..30aa210fb620 100644 --- a/devel/py-thriftpy2/pkg-descr +++ b/devel/py-thriftpy2/pkg-descr @@ -1,3 +1,3 @@ -ThriftPy2 is a pure python implementation of Apache Thrift in a pythonic -way. It is fully compatible to ThriftPy and aims to provide long-term -support. +ThriftPy2 is a pure python implementation of Apache Thrift in a pythonic way. + +ThriftPy has been deprecated, ThriftPy2 aims to provide long term support.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202409180619.48I6JYUn033780>