diff --git a/archivers/py-zlib-ng/Makefile b/archivers/py-zlib-ng/Makefile index 95517da1529c..56097616f41b 100644 --- a/archivers/py-zlib-ng/Makefile +++ b/archivers/py-zlib-ng/Makefile @@ -1,24 +1,25 @@ PORTNAME= zlib-ng -DISTVERSION= 0.4.3 +DISTVERSION= 0.5.0 CATEGORIES= archivers python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= zlib_ng-${PORTVERSION} MAINTAINER= osidorkin@gmail.com COMMENT= Python bindings for the zlib-ng library WWW= https://github.com/pycompression/python-zlib-ng LICENSE= PSFL LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=51:devel/py-setuptools@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} \ - cmake:devel/cmake-core + ${PYTHON_PKGNAMEPREFIX}versioningit>=2.0.0:devel/py-versioningit@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} -USES= python +USES= cmake:indirect python USE_PYTHON= autoplist pep517 -INSTALL_TARGET=install-strip +post-install: + ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/${PORTNAME:S/-/_/}/${PORTNAME:S/-/_/}.cpython-${PYTHON_VER:S/.//}.so .include diff --git a/archivers/py-zlib-ng/distinfo b/archivers/py-zlib-ng/distinfo index 0a5ab899d7b2..ccd50ee778b2 100644 --- a/archivers/py-zlib-ng/distinfo +++ b/archivers/py-zlib-ng/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1713441218 -SHA256 (zlib_ng-0.4.3.tar.gz) = eb371b1095258106ab34023df38a1555dc599baf4ad3e991deebb858b1a0c6a3 -SIZE (zlib_ng-0.4.3.tar.gz) = 2459593 +TIMESTAMP = 1723465710 +SHA256 (zlib_ng-0.5.0.tar.gz) = 3322c4300253a054af3d3aafa2f3858dceee3a577810122ba55eff756bf35ef2 +SIZE (zlib_ng-0.5.0.tar.gz) = 2436336 diff --git a/archivers/py-zlib-ng/files/patch-pyproject.toml b/archivers/py-zlib-ng/files/patch-pyproject.toml new file mode 100644 index 000000000000..ad13be9539be --- /dev/null +++ b/archivers/py-zlib-ng/files/patch-pyproject.toml @@ -0,0 +1,9 @@ +--- pyproject.toml.orig 2024-08-09 12:41:18 UTC ++++ pyproject.toml +@@ -1,5 +1,5 @@ + [build-system] +-requires = ["setuptools>=64", "versioningit>=1.1.0"] ++requires = ["setuptools>=63", "versioningit>=1.1.0"] + build-backend = "setuptools.build_meta" + + [tool.versioningit.vcs]