1 |
commit: 152901f433a33f9ca1573eab9cd0b671e67895a8 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jan 25 12:40:10 2023 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jan 29 09:34:29 2023 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=152901f4 |
7 |
|
8 |
dev-lang/python: Mark the packages as EXTERNALLY-MANAGED, PEP 668 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-lang/python/{python-3.10.9.ebuild => python-3.10.9-r1.ebuild} | 5 ++++- |
13 |
dev-lang/python/{python-3.11.1.ebuild => python-3.11.1-r1.ebuild} | 5 ++++- |
14 |
.../{python-3.12.0_alpha4.ebuild => python-3.12.0_alpha4-r1.ebuild} | 3 +++ |
15 |
dev-lang/python/{python-3.9.16.ebuild => python-3.9.16-r1.ebuild} | 5 ++++- |
16 |
4 files changed, 15 insertions(+), 3 deletions(-) |
17 |
|
18 |
diff --git a/dev-lang/python/python-3.10.9.ebuild b/dev-lang/python/python-3.10.9-r1.ebuild |
19 |
similarity index 98% |
20 |
rename from dev-lang/python/python-3.10.9.ebuild |
21 |
rename to dev-lang/python/python-3.10.9-r1.ebuild |
22 |
index 390bba98511d..9981c0df6121 100644 |
23 |
--- a/dev-lang/python/python-3.10.9.ebuild |
24 |
+++ b/dev-lang/python/python-3.10.9-r1.ebuild |
25 |
@@ -1,4 +1,4 @@ |
26 |
-# Copyright 1999-2022 Gentoo Authors |
27 |
+# Copyright 1999-2023 Gentoo Authors |
28 |
# Distributed under the terms of the GNU General Public License v2 |
29 |
|
30 |
EAPI="7" |
31 |
@@ -45,6 +45,7 @@ RDEPEND=" |
32 |
app-arch/xz-utils:= |
33 |
dev-lang/python-exec[python_targets_python3_10(-)] |
34 |
dev-libs/libffi:= |
35 |
+ dev-python/gentoo-common |
36 |
sys-apps/util-linux:= |
37 |
>=sys-libs/zlib-1.1.3:= |
38 |
virtual/libcrypt:= |
39 |
@@ -434,6 +435,8 @@ src_install() { |
40 |
rm -r "${libdir}/"{idlelib,tkinter,test/test_tk*} || die |
41 |
fi |
42 |
|
43 |
+ ln -s ../python/EXTERNALLY-MANAGED "${libdir}/EXTERNALLY-MANAGED" || die |
44 |
+ |
45 |
dodoc Misc/{ACKS,HISTORY,NEWS} |
46 |
|
47 |
if use examples; then |
48 |
|
49 |
diff --git a/dev-lang/python/python-3.11.1.ebuild b/dev-lang/python/python-3.11.1-r1.ebuild |
50 |
similarity index 99% |
51 |
rename from dev-lang/python/python-3.11.1.ebuild |
52 |
rename to dev-lang/python/python-3.11.1-r1.ebuild |
53 |
index 5d2077e3f7c7..d49c39e055f1 100644 |
54 |
--- a/dev-lang/python/python-3.11.1.ebuild |
55 |
+++ b/dev-lang/python/python-3.11.1-r1.ebuild |
56 |
@@ -1,4 +1,4 @@ |
57 |
-# Copyright 1999-2022 Gentoo Authors |
58 |
+# Copyright 1999-2023 Gentoo Authors |
59 |
# Distributed under the terms of the GNU General Public License v2 |
60 |
|
61 |
EAPI="7" |
62 |
@@ -46,6 +46,7 @@ RDEPEND=" |
63 |
app-crypt/libb2 |
64 |
>=dev-libs/expat-2.1:= |
65 |
dev-libs/libffi:= |
66 |
+ dev-python/gentoo-common |
67 |
sys-apps/util-linux:= |
68 |
>=sys-libs/zlib-1.1.3:= |
69 |
virtual/libcrypt:= |
70 |
@@ -447,6 +448,8 @@ src_install() { |
71 |
rm -r "${libdir}/"{idlelib,tkinter,test/test_tk*} || die |
72 |
fi |
73 |
|
74 |
+ ln -s ../python/EXTERNALLY-MANAGED "${libdir}/EXTERNALLY-MANAGED" || die |
75 |
+ |
76 |
dodoc Misc/{ACKS,HISTORY,NEWS} |
77 |
|
78 |
if use examples; then |
79 |
|
80 |
diff --git a/dev-lang/python/python-3.12.0_alpha4.ebuild b/dev-lang/python/python-3.12.0_alpha4-r1.ebuild |
81 |
similarity index 99% |
82 |
rename from dev-lang/python/python-3.12.0_alpha4.ebuild |
83 |
rename to dev-lang/python/python-3.12.0_alpha4-r1.ebuild |
84 |
index e3431855d0e7..c2c9e1492070 100644 |
85 |
--- a/dev-lang/python/python-3.12.0_alpha4.ebuild |
86 |
+++ b/dev-lang/python/python-3.12.0_alpha4-r1.ebuild |
87 |
@@ -46,6 +46,7 @@ RDEPEND=" |
88 |
app-crypt/libb2 |
89 |
>=dev-libs/expat-2.1:= |
90 |
dev-libs/libffi:= |
91 |
+ dev-python/gentoo-common |
92 |
sys-apps/util-linux:= |
93 |
>=sys-libs/zlib-1.1.3:= |
94 |
virtual/libcrypt:= |
95 |
@@ -442,6 +443,8 @@ src_install() { |
96 |
rm -r "${libdir}/"{idlelib,tkinter,test/test_tk*} || die |
97 |
fi |
98 |
|
99 |
+ ln -s ../python/EXTERNALLY-MANAGED "${libdir}/EXTERNALLY-MANAGED" || die |
100 |
+ |
101 |
dodoc Misc/{ACKS,HISTORY,NEWS} |
102 |
|
103 |
if use examples; then |
104 |
|
105 |
diff --git a/dev-lang/python/python-3.9.16.ebuild b/dev-lang/python/python-3.9.16-r1.ebuild |
106 |
similarity index 98% |
107 |
rename from dev-lang/python/python-3.9.16.ebuild |
108 |
rename to dev-lang/python/python-3.9.16-r1.ebuild |
109 |
index cb84012fc09b..759118f41620 100644 |
110 |
--- a/dev-lang/python/python-3.9.16.ebuild |
111 |
+++ b/dev-lang/python/python-3.9.16-r1.ebuild |
112 |
@@ -1,4 +1,4 @@ |
113 |
-# Copyright 1999-2022 Gentoo Authors |
114 |
+# Copyright 1999-2023 Gentoo Authors |
115 |
# Distributed under the terms of the GNU General Public License v2 |
116 |
|
117 |
EAPI="7" |
118 |
@@ -45,6 +45,7 @@ RDEPEND=" |
119 |
app-arch/xz-utils:= |
120 |
dev-lang/python-exec[python_targets_python3_9(-)] |
121 |
dev-libs/libffi:= |
122 |
+ dev-python/gentoo-common |
123 |
sys-apps/util-linux:= |
124 |
>=sys-libs/zlib-1.1.3:= |
125 |
virtual/libcrypt:= |
126 |
@@ -429,6 +430,8 @@ src_install() { |
127 |
rm -r "${libdir}/"{idlelib,tkinter,test/test_tk*} || die |
128 |
fi |
129 |
|
130 |
+ ln -s ../python/EXTERNALLY-MANAGED "${libdir}/EXTERNALLY-MANAGED" || die |
131 |
+ |
132 |
dodoc Misc/{ACKS,HISTORY,NEWS} |
133 |
|
134 |
if use examples; then |