git: 761e05d92d01 - main - archivers/py-zlib-ng: Update 0.4.3 → 0.5.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 22 Aug 2024 15:59:41 UTC
The branch main has been updated by vvd:
URL: https://cgit.FreeBSD.org/ports/commit/?id=761e05d92d01e3b4e56d0f6c95607d61b45d7966
commit 761e05d92d01e3b4e56d0f6c95607d61b45d7966
Author: Oleg Sidorkin <osidorkin@gmail.com>
AuthorDate: 2024-08-22 15:51:59 +0000
Commit: Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2024-08-22 15:51:59 +0000
archivers/py-zlib-ng: Update 0.4.3 → 0.5.0
Changelog:
https://github.com/pycompression/python-zlib-ng/releases/tag/v0.5.0
Improve port:
* Replace cmake requirement from BUILD_DEPENDS to USES=cmake:indirect.
* INSTALL_TARGET=install-strip doesn't work for this port - replace it
with ${STRIP_CMD}.
PR: 280819
---
archivers/py-zlib-ng/Makefile | 11 ++++++-----
archivers/py-zlib-ng/distinfo | 6 +++---
archivers/py-zlib-ng/files/patch-pyproject.toml | 9 +++++++++
3 files changed, 18 insertions(+), 8 deletions(-)
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,5 +1,5 @@
PORTNAME= zlib-ng
-DISTVERSION= 0.4.3
+DISTVERSION= 0.5.0
CATEGORIES= archivers python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -13,12 +13,13 @@ 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 <bsd.port.mk>
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]