summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2024-09-23 12:17:28 +0200
committerMichał Górny <mgorny@gentoo.org>2024-09-23 12:19:06 +0200
commit968772749f87e178a6b6e3b9e714503519dd7fe9 (patch)
tree835cb36d8e81c64ec45f0a13dac22f5db5ac0244 /dev-lang
parentdev-lang/python: Bump to 3.12.6_p4 (diff)
downloadgentoo-968772749f87e178a6b6e3b9e714503519dd7fe9.tar.gz
gentoo-968772749f87e178a6b6e3b9e714503519dd7fe9.tar.bz2
gentoo-968772749f87e178a6b6e3b9e714503519dd7fe9.zip
dev-lang/python: Do not remove ensurepip w/ USE=-ensurepip (3.12+)
Change the behavior of USE=-ensurepip in the new patchset bumps not to remove the ensurepip package, but only control the dependency. The flag was originally introduced to remove the package entirely along with its bundled wheels. However, since then we unbundled the wheels, and the removal makes little sense — it's better to keep it functional, so the wheels can be installed independently. This change will be backported to older versions as we update the patchsets there as well. Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-lang')
-rw-r--r--dev-lang/python/python-3.12.6_p4.ebuild3
-rw-r--r--dev-lang/python/python-3.13.0_rc2_p2.ebuild3
2 files changed, 0 insertions, 6 deletions
diff --git a/dev-lang/python/python-3.12.6_p4.ebuild b/dev-lang/python/python-3.12.6_p4.ebuild
index 8dce4fb2a254..6a78029784d4 100644
--- a/dev-lang/python/python-3.12.6_p4.ebuild
+++ b/dev-lang/python/python-3.12.6_p4.ebuild
@@ -547,9 +547,6 @@ src_install() {
fi
rm -r "${libdir}"/ensurepip/_bundled || die
- if ! use ensurepip; then
- rm -r "${libdir}"/ensurepip || die
- fi
if ! use sqlite; then
rm -r "${libdir}/"sqlite3 || die
fi
diff --git a/dev-lang/python/python-3.13.0_rc2_p2.ebuild b/dev-lang/python/python-3.13.0_rc2_p2.ebuild
index 7e681c4cc38e..8b819955af0f 100644
--- a/dev-lang/python/python-3.13.0_rc2_p2.ebuild
+++ b/dev-lang/python/python-3.13.0_rc2_p2.ebuild
@@ -566,9 +566,6 @@ src_install() {
fi
rm -r "${libdir}"/ensurepip/_bundled || die
- if ! use ensurepip; then
- rm -r "${libdir}"/ensurepip || die
- fi
if ! use sqlite; then
rm -r "${libdir}/"sqlite3 || die
fi