1 |
arfrever 09/12/30 22:17:13 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: eselect-python-20091230.ebuild |
5 |
Log: |
6 |
Version bump. Add support for --python2 / --python3 options (bug #296220). |
7 |
Support `eselect --brief python list` (bug #292112). Fix some minor bugs. |
8 |
Require GCC >=3.4 (bug #291980). |
9 |
(Portage version: 15155-svn/cvs/Linux x86_64) |
10 |
|
11 |
Revision Changes Path |
12 |
1.51 app-admin/eselect-python/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/eselect-python/ChangeLog?rev=1.51&view=markup |
15 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/eselect-python/ChangeLog?rev=1.51&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/eselect-python/ChangeLog?r1=1.50&r2=1.51 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/app-admin/eselect-python/ChangeLog,v |
21 |
retrieving revision 1.50 |
22 |
retrieving revision 1.51 |
23 |
diff -u -r1.50 -r1.51 |
24 |
--- ChangeLog 30 Dec 2009 21:49:53 -0000 1.50 |
25 |
+++ ChangeLog 30 Dec 2009 22:17:12 -0000 1.51 |
26 |
@@ -1,11 +1,19 @@ |
27 |
# ChangeLog for app-admin/eselect-python |
28 |
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-python/ChangeLog,v 1.50 2009/12/30 21:49:53 arfrever Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-python/ChangeLog,v 1.51 2009/12/30 22:17:12 arfrever Exp $ |
31 |
+ |
32 |
+*eselect-python-20091230 (30 Dec 2009) |
33 |
|
34 |
30 Dec 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o> |
35 |
- eselect-python-99999999.ebuild: |
36 |
+ +eselect-python-20091230.ebuild: |
37 |
+ Version bump. Add support for --python2 / --python3 options (bug #296220). |
38 |
+ Support `eselect --brief python list` (bug #292112). Fix some minor bugs. |
39 |
Require GCC >=3.4 (bug #291980). |
40 |
|
41 |
+ 30 Dec 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o> |
42 |
+ eselect-python-99999999.ebuild: |
43 |
+ Require GCC >=3.4 (bug #291980). Update dependencies. |
44 |
+ |
45 |
04 Oct 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o> |
46 |
eselect-python-20090824.ebuild: |
47 |
Use EAPI="1" to allow upgrades using older versions of Portage not |
48 |
|
49 |
|
50 |
|
51 |
1.1 app-admin/eselect-python/eselect-python-20091230.ebuild |
52 |
|
53 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/eselect-python/eselect-python-20091230.ebuild?rev=1.1&view=markup |
54 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/eselect-python/eselect-python-20091230.ebuild?rev=1.1&content-type=text/plain |
55 |
|
56 |
Index: eselect-python-20091230.ebuild |
57 |
=================================================================== |
58 |
# Copyright 1999-2009 Gentoo Foundation |
59 |
# Distributed under the terms of the GNU General Public License v2 |
60 |
# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-python/eselect-python-20091230.ebuild,v 1.1 2009/12/30 22:17:12 arfrever Exp $ |
61 |
|
62 |
EAPI="1" |
63 |
|
64 |
inherit flag-o-matic toolchain-funcs |
65 |
|
66 |
DESCRIPTION="Eselect module for management of multiple Python versions" |
67 |
HOMEPAGE="http://www.gentoo.org" |
68 |
SRC_URI="mirror://gentoo/${P}.tar.bz2" |
69 |
|
70 |
LICENSE="GPL-2" |
71 |
SLOT="0" |
72 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd" |
73 |
IUSE="" |
74 |
|
75 |
RDEPEND=">=app-admin/eselect-1.2.3" |
76 |
DEPEND="${RDEPEND} |
77 |
sys-devel/autoconf |
78 |
>=sys-devel/gcc-3.4" |
79 |
|
80 |
pkg_setup() { |
81 |
append-flags -fno-PIC -fno-PIE |
82 |
|
83 |
if [[ $(gcc-major-version) -lt 3 || ($(gcc-major-version) -eq 3 && $(gcc-minor-version) -lt 4) ]]; then |
84 |
die "GCC >=3.4 is required" |
85 |
fi |
86 |
} |
87 |
|
88 |
src_unpack() { |
89 |
unpack ${A} |
90 |
cd "${S}" |
91 |
./autogen.sh || die "autogen.sh failed" |
92 |
} |
93 |
|
94 |
src_install() { |
95 |
keepdir /etc/env.d/python |
96 |
emake DESTDIR="${D}" install || die "emake install failed" |
97 |
} |
98 |
|
99 |
pkg_preinst() { |
100 |
if has_version "<${CATEGORY}/${PN}-20090804" || ! has_version "${CATEGORY}/${PN}"; then |
101 |
run_eselect_python_update="1" |
102 |
fi |
103 |
} |
104 |
|
105 |
pkg_postinst() { |
106 |
if [[ "${run_eselect_python_update}" == "1" ]]; then |
107 |
ebegin "Running \`eselect python update\`" |
108 |
eselect python update --ignore 3.0 --ignore 3.1 --ignore 3.2 > /dev/null |
109 |
eend "$?" |
110 |
fi |
111 |
} |