summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-01-25 13:40:10 +0100
committerMichał Górny <mgorny@gentoo.org>2023-01-29 10:34:29 +0100
commit152901f433a33f9ca1573eab9cd0b671e67895a8 (patch)
tree78be172512f942040e50675f2c88fd6a9075a74a /dev-lang
parentdev-python/gentoo-common: Add a new package (v0) for common files (diff)
downloadgentoo-152901f433a33f9ca1573eab9cd0b671e67895a8.tar.gz
gentoo-152901f433a33f9ca1573eab9cd0b671e67895a8.tar.bz2
gentoo-152901f433a33f9ca1573eab9cd0b671e67895a8.zip
dev-lang/python: Mark the packages as EXTERNALLY-MANAGED, PEP 668
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-lang')
-rw-r--r--dev-lang/python/python-3.10.9-r1.ebuild (renamed from dev-lang/python/python-3.10.9.ebuild)5
-rw-r--r--dev-lang/python/python-3.11.1-r1.ebuild (renamed from dev-lang/python/python-3.11.1.ebuild)5
-rw-r--r--dev-lang/python/python-3.12.0_alpha4-r1.ebuild (renamed from dev-lang/python/python-3.12.0_alpha4.ebuild)3
-rw-r--r--dev-lang/python/python-3.9.16-r1.ebuild (renamed from dev-lang/python/python-3.9.16.ebuild)5
4 files changed, 15 insertions, 3 deletions
diff --git a/dev-lang/python/python-3.10.9.ebuild b/dev-lang/python/python-3.10.9-r1.ebuild
index 390bba98511d..9981c0df6121 100644
--- a/dev-lang/python/python-3.10.9.ebuild
+++ b/dev-lang/python/python-3.10.9-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
@@ -45,6 +45,7 @@ RDEPEND="
app-arch/xz-utils:=
dev-lang/python-exec[python_targets_python3_10(-)]
dev-libs/libffi:=
+ dev-python/gentoo-common
sys-apps/util-linux:=
>=sys-libs/zlib-1.1.3:=
virtual/libcrypt:=
@@ -434,6 +435,8 @@ src_install() {
rm -r "${libdir}/"{idlelib,tkinter,test/test_tk*} || die
fi
+ ln -s ../python/EXTERNALLY-MANAGED "${libdir}/EXTERNALLY-MANAGED" || die
+
dodoc Misc/{ACKS,HISTORY,NEWS}
if use examples; then
diff --git a/dev-lang/python/python-3.11.1.ebuild b/dev-lang/python/python-3.11.1-r1.ebuild
index 5d2077e3f7c7..d49c39e055f1 100644
--- a/dev-lang/python/python-3.11.1.ebuild
+++ b/dev-lang/python/python-3.11.1-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
@@ -46,6 +46,7 @@ RDEPEND="
app-crypt/libb2
>=dev-libs/expat-2.1:=
dev-libs/libffi:=
+ dev-python/gentoo-common
sys-apps/util-linux:=
>=sys-libs/zlib-1.1.3:=
virtual/libcrypt:=
@@ -447,6 +448,8 @@ src_install() {
rm -r "${libdir}/"{idlelib,tkinter,test/test_tk*} || die
fi
+ ln -s ../python/EXTERNALLY-MANAGED "${libdir}/EXTERNALLY-MANAGED" || die
+
dodoc Misc/{ACKS,HISTORY,NEWS}
if use examples; then
diff --git a/dev-lang/python/python-3.12.0_alpha4.ebuild b/dev-lang/python/python-3.12.0_alpha4-r1.ebuild
index e3431855d0e7..c2c9e1492070 100644
--- a/dev-lang/python/python-3.12.0_alpha4.ebuild
+++ b/dev-lang/python/python-3.12.0_alpha4-r1.ebuild
@@ -46,6 +46,7 @@ RDEPEND="
app-crypt/libb2
>=dev-libs/expat-2.1:=
dev-libs/libffi:=
+ dev-python/gentoo-common
sys-apps/util-linux:=
>=sys-libs/zlib-1.1.3:=
virtual/libcrypt:=
@@ -442,6 +443,8 @@ src_install() {
rm -r "${libdir}/"{idlelib,tkinter,test/test_tk*} || die
fi
+ ln -s ../python/EXTERNALLY-MANAGED "${libdir}/EXTERNALLY-MANAGED" || die
+
dodoc Misc/{ACKS,HISTORY,NEWS}
if use examples; then
diff --git a/dev-lang/python/python-3.9.16.ebuild b/dev-lang/python/python-3.9.16-r1.ebuild
index cb84012fc09b..759118f41620 100644
--- a/dev-lang/python/python-3.9.16.ebuild
+++ b/dev-lang/python/python-3.9.16-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
@@ -45,6 +45,7 @@ RDEPEND="
app-arch/xz-utils:=
dev-lang/python-exec[python_targets_python3_9(-)]
dev-libs/libffi:=
+ dev-python/gentoo-common
sys-apps/util-linux:=
>=sys-libs/zlib-1.1.3:=
virtual/libcrypt:=
@@ -429,6 +430,8 @@ src_install() {
rm -r "${libdir}/"{idlelib,tkinter,test/test_tk*} || die
fi
+ ln -s ../python/EXTERNALLY-MANAGED "${libdir}/EXTERNALLY-MANAGED" || die
+
dodoc Misc/{ACKS,HISTORY,NEWS}
if use examples; then