git: 9e573ff0934a - main - security/libpwquality: fix poudriere build failures
Date: Sat, 10 Dec 2022 16:00:33 UTC
The branch main has been updated by mandree:
URL: https://cgit.FreeBSD.org/ports/commit/?id=9e573ff0934a56d8eadd2c75be876b9392aae5b2
commit 9e573ff0934a56d8eadd2c75be876b9392aae5b2
Author: Matthias Andree <mandree@FreeBSD.org>
AuthorDate: 2022-12-10 15:58:03 +0000
Commit: Matthias Andree <mandree@FreeBSD.org>
CommitDate: 2022-12-10 16:00:23 +0000
security/libpwquality: fix poudriere build failures
libpwquality adds --single-version-externally-managed via
files/patch-python_Makefile.in, which in turn requires
up-to-date setuptools. Add this as PYTHON_BUILD_DEPENDS.
Approved by: desktop@ (implicit, just-fix-it blanket)
---
security/libpwquality/Makefile | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/security/libpwquality/Makefile b/security/libpwquality/Makefile
index 54eced86a0bc..82df33990f35 100644
--- a/security/libpwquality/Makefile
+++ b/security/libpwquality/Makefile
@@ -28,9 +28,10 @@ OPTIONS_SUB= yes
NLS_USES= gettext gnome
NLS_USE= GNOME=intltool
NLS_CONFIGURE_ENABLE= nls
-PYTHON_USES= python:3.7+,build
+PYTHON_USES= python:3.7+,build
+PYTHON_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=63.1.0:devel/py-setuptools@${PY_FLAVOR}
PYTHON_CONFIGURE_ENABLE= python-bindings
-PYTHON_CONFIGURE_ON= --with-python-binary=${PYTHON_CMD}
+PYTHON_CONFIGURE_ON= --with-python-binary=${PYTHON_CMD}
post-install-PYTHON-on:
${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/pwquality*.so