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"