Created attachment 252760 [details] Patch to update archivers/py-zlib-ng from 0.4.3 to 0.5.0 (via git am) py-zlib-ng released an update, so here's a patch to update the port. Poudriere checks passed, homeassistant is OK to work with it. Spotted by: portscout
BUILD_DEPENDS=cmake:devel/cmake-core why not: USES=cmake:indirect ?
ERROR Missing dependencies: setuptools>=64 *** Error code 1 devel/py-setuptools is 63.1.0_1.
Created attachment 253018 [details] 252760: Patch to update archivers/py-zlib-ng from 0.4.3 to 0.5.0 (via git am) #2 Sorry, forgot to add a patch, that relaxes setuptool requirement (port is ok with the version from ports). Also replaced cmake requirement with USES=cmake:indirect
(In reply to Oleg Sidorkin from comment #3) INSTALL_TARGET=install-strip doesn't work here: Warning: 'lib/python3.11/site-packages/zlib_ng/zlib_ng.cpython-311.so' is not stripped consider trying INSTALL_TARGET=install-strip or using ${STRIP_CMD} But replace it with this work: post-install: ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/${PORTNAME:S/-/_/}/${PORTNAME:S/-/_/}.cpython-${PYTHON_VER:S/.//}.so
A commit in branch main references this bug: 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 (new) | 9 +++++++++ 3 files changed, 18 insertions(+), 8 deletions(-)
Thanks.