1 |
commit: def44310c577435bc45fc2f37190588cb8399a3c |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Feb 28 16:50:24 2016 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Feb 28 17:14:47 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=def44310 |
7 |
|
8 |
app-eselect/eselect-python: Remove old ~arch versions |
9 |
|
10 |
.../eselect-python/eselect-python-20131210.ebuild | 53 ---------------------- |
11 |
.../eselect-python/eselect-python-20140115.ebuild | 51 --------------------- |
12 |
.../eselect-python/eselect-python-20140125.ebuild | 51 --------------------- |
13 |
3 files changed, 155 deletions(-) |
14 |
|
15 |
diff --git a/app-eselect/eselect-python/eselect-python-20131210.ebuild b/app-eselect/eselect-python/eselect-python-20131210.ebuild |
16 |
deleted file mode 100644 |
17 |
index 2fbad79..0000000 |
18 |
--- a/app-eselect/eselect-python/eselect-python-20131210.ebuild |
19 |
+++ /dev/null |
20 |
@@ -1,53 +0,0 @@ |
21 |
-# Copyright 1999-2015 Gentoo Foundation |
22 |
-# Distributed under the terms of the GNU General Public License v2 |
23 |
-# $Id$ |
24 |
- |
25 |
-# Keep the EAPI low here because everything else depends on it. |
26 |
-# We want to make upgrading simpler. |
27 |
- |
28 |
-if [[ ${PV} == "99999999" ]] ; then |
29 |
- inherit autotools git-r3 |
30 |
- EGIT_REPO_URI="git://anongit.gentoo.org/proj/${PN}.git" |
31 |
-else |
32 |
- SRC_URI="mirror://gentoo/${P}.tar.bz2 |
33 |
- https://dev.gentoo.org/~floppym/dist/${P}.tar.bz2" |
34 |
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd" |
35 |
-fi |
36 |
- |
37 |
-DESCRIPTION="Eselect module for management of multiple Python versions" |
38 |
-HOMEPAGE="https://www.gentoo.org/proj/en/Python/" |
39 |
- |
40 |
-LICENSE="GPL-2" |
41 |
-SLOT="0" |
42 |
-IUSE="" |
43 |
- |
44 |
-RDEPEND=">=app-admin/eselect-1.2.3" |
45 |
-# Avoid autotool deps for released versions for circ dep issues. |
46 |
-if [[ ${PV} == "99999999" ]] ; then |
47 |
- DEPEND="sys-devel/autoconf" |
48 |
-else |
49 |
- DEPEND="" |
50 |
-fi |
51 |
- |
52 |
-src_unpack() { |
53 |
- if [[ ${PV} == "99999999" ]] ; then |
54 |
- git-r3_src_unpack |
55 |
- cd "${S}" |
56 |
- eautoreconf |
57 |
- else |
58 |
- unpack ${A} |
59 |
- fi |
60 |
-} |
61 |
- |
62 |
-src_install() { |
63 |
- keepdir /etc/env.d/python |
64 |
- emake DESTDIR="${D}" install || die |
65 |
-} |
66 |
- |
67 |
-pkg_postinst() { |
68 |
- local ret=0 |
69 |
- ebegin "Running 'eselect python update'" |
70 |
- eselect python update --python2 --if-unset || ret=1 |
71 |
- eselect python update --python3 --if-unset || ret=1 |
72 |
- eend ${ret} |
73 |
-} |
74 |
|
75 |
diff --git a/app-eselect/eselect-python/eselect-python-20140115.ebuild b/app-eselect/eselect-python/eselect-python-20140115.ebuild |
76 |
deleted file mode 100644 |
77 |
index 3fbf408..0000000 |
78 |
--- a/app-eselect/eselect-python/eselect-python-20140115.ebuild |
79 |
+++ /dev/null |
80 |
@@ -1,51 +0,0 @@ |
81 |
-# Copyright 1999-2015 Gentoo Foundation |
82 |
-# Distributed under the terms of the GNU General Public License v2 |
83 |
-# $Id$ |
84 |
- |
85 |
-# Keep the EAPI low here because everything else depends on it. |
86 |
-# We want to make upgrading simpler. |
87 |
- |
88 |
-if [[ ${PV} == "99999999" ]] ; then |
89 |
- inherit autotools git-r3 |
90 |
- EGIT_REPO_URI="git://anongit.gentoo.org/proj/${PN}.git" |
91 |
-else |
92 |
- SRC_URI="mirror://gentoo/${P}.tar.bz2 |
93 |
- https://dev.gentoo.org/~floppym/dist/${P}.tar.bz2" |
94 |
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd" |
95 |
-fi |
96 |
- |
97 |
-DESCRIPTION="Eselect module for management of multiple Python versions" |
98 |
-HOMEPAGE="https://www.gentoo.org/proj/en/Python/" |
99 |
- |
100 |
-LICENSE="GPL-2" |
101 |
-SLOT="0" |
102 |
-IUSE="" |
103 |
- |
104 |
-RDEPEND=">=app-admin/eselect-1.2.3" |
105 |
- |
106 |
-src_unpack() { |
107 |
- if [[ ${PV} == "99999999" ]] ; then |
108 |
- git-r3_src_unpack |
109 |
- cd "${S}" |
110 |
- eautoreconf |
111 |
- else |
112 |
- unpack ${A} |
113 |
- fi |
114 |
-} |
115 |
- |
116 |
-src_install() { |
117 |
- keepdir /etc/env.d/python |
118 |
- emake DESTDIR="${D}" install || die |
119 |
-} |
120 |
- |
121 |
-pkg_postinst() { |
122 |
- if has_version 'dev-lang/python'; then |
123 |
- eselect python update --if-unset |
124 |
- fi |
125 |
- if has_version '=dev-lang/python-2*'; then |
126 |
- eselect python update --python2 --if-unset |
127 |
- fi |
128 |
- if has_version '=dev-lang/python-3*'; then |
129 |
- eselect python update --python3 --if-unset |
130 |
- fi |
131 |
-} |
132 |
|
133 |
diff --git a/app-eselect/eselect-python/eselect-python-20140125.ebuild b/app-eselect/eselect-python/eselect-python-20140125.ebuild |
134 |
deleted file mode 100644 |
135 |
index 6b16b3d..0000000 |
136 |
--- a/app-eselect/eselect-python/eselect-python-20140125.ebuild |
137 |
+++ /dev/null |
138 |
@@ -1,51 +0,0 @@ |
139 |
-# Copyright 1999-2015 Gentoo Foundation |
140 |
-# Distributed under the terms of the GNU General Public License v2 |
141 |
-# $Id$ |
142 |
- |
143 |
-# Keep the EAPI low here because everything else depends on it. |
144 |
-# We want to make upgrading simpler. |
145 |
- |
146 |
-if [[ ${PV} == "99999999" ]] ; then |
147 |
- inherit autotools git-r3 |
148 |
- EGIT_REPO_URI="git://anongit.gentoo.org/proj/${PN}.git" |
149 |
-else |
150 |
- SRC_URI="mirror://gentoo/${P}.tar.bz2 |
151 |
- https://dev.gentoo.org/~floppym/dist/${P}.tar.bz2" |
152 |
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~ppc-aix ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
153 |
-fi |
154 |
- |
155 |
-DESCRIPTION="Eselect module for management of multiple Python versions" |
156 |
-HOMEPAGE="https://www.gentoo.org/proj/en/Python/" |
157 |
- |
158 |
-LICENSE="GPL-2" |
159 |
-SLOT="0" |
160 |
-IUSE="" |
161 |
- |
162 |
-RDEPEND=">=app-admin/eselect-1.2.3" |
163 |
- |
164 |
-src_unpack() { |
165 |
- if [[ ${PV} == "99999999" ]] ; then |
166 |
- git-r3_src_unpack |
167 |
- cd "${S}" |
168 |
- eautoreconf |
169 |
- else |
170 |
- unpack ${A} |
171 |
- fi |
172 |
-} |
173 |
- |
174 |
-src_install() { |
175 |
- keepdir /etc/env.d/python |
176 |
- emake DESTDIR="${D}" install || die |
177 |
-} |
178 |
- |
179 |
-pkg_postinst() { |
180 |
- if has_version 'dev-lang/python'; then |
181 |
- eselect python update --if-unset |
182 |
- fi |
183 |
- if has_version '=dev-lang/python-2*'; then |
184 |
- eselect python update --python2 --if-unset |
185 |
- fi |
186 |
- if has_version '=dev-lang/python-3*'; then |
187 |
- eselect python update --python3 --if-unset |
188 |
- fi |
189 |
-} |