From 21f446e73ab2902869d8aa8568d16f12e05340ff Mon Sep 17 00:00:00 2001 From: classabbyamp Date: Mon, 2 Dec 2024 09:42:26 -0500 Subject: [PATCH] common/environment/build-style/python3-*.sh: add python3-packaging-bootstrap ...if verifying python dependencies. needed for python module dependency verification hook --- common/environment/build-style/python3-module.sh | 3 +++ common/environment/build-style/python3-pep517.sh | 5 ++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/common/environment/build-style/python3-module.sh b/common/environment/build-style/python3-module.sh index 638f6be9373..8ab040aaf58 100644 --- a/common/environment/build-style/python3-module.sh +++ b/common/environment/build-style/python3-module.sh @@ -1,3 +1,6 @@ lib32disabled=yes +if [ -z "$nopyprovides" ] || [ -z "$noverifypydeps" ]; then + hostmakedepends+=" python3-packaging-bootstrap" +fi makedepends+=" python3" build_helper+=" python3" diff --git a/common/environment/build-style/python3-pep517.sh b/common/environment/build-style/python3-pep517.sh index f4faf980f50..b56773720ae 100644 --- a/common/environment/build-style/python3-pep517.sh +++ b/common/environment/build-style/python3-pep517.sh @@ -1,3 +1,6 @@ -hostmakedepends+=" python3-build python3-installer" lib32disabled=yes +hostmakedepends+=" python3-build python3-installer" +if [ -z "$nopyprovides" ] || [ -z "$noverifypydeps" ]; then + hostmakedepends+=" python3-packaging-bootstrap" +fi build_helper+=" python3"