From: | "Arfrever Frehtes Taifersar Arahesis (arfrever)" <arfrever@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in app-admin/eselect-python: ChangeLog eselect-python-20090804.ebuild |
Date: | Tue, 04 Aug 2009 20:53:48 |
Message-Id: | E1MYR0x-0003U6-TJ@stork.gentoo.org |
1 | arfrever 09/08/04 20:53:43 |
2 | |
3 | Modified: ChangeLog |
4 | Added: eselect-python-20090804.ebuild |
5 | Log: |
6 | Version bump (bug #279915). |
7 | (Portage version: 13900-svn/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.34 app-admin/eselect-python/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/eselect-python/ChangeLog?rev=1.34&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/eselect-python/ChangeLog?rev=1.34&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/eselect-python/ChangeLog?r1=1.33&r2=1.34 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/app-admin/eselect-python/ChangeLog,v |
19 | retrieving revision 1.33 |
20 | retrieving revision 1.34 |
21 | diff -u -r1.33 -r1.34 |
22 | --- ChangeLog 3 Aug 2009 15:07:14 -0000 1.33 |
23 | +++ ChangeLog 4 Aug 2009 20:53:43 -0000 1.34 |
24 | @@ -1,6 +1,12 @@ |
25 | # ChangeLog for app-admin/eselect-python |
26 | # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
27 | -# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-python/ChangeLog,v 1.33 2009/08/03 15:07:14 flameeyes Exp $ |
28 | +# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-python/ChangeLog,v 1.34 2009/08/04 20:53:43 arfrever Exp $ |
29 | + |
30 | +*eselect-python-20090804 (04 Aug 2009) |
31 | + |
32 | + 04 Aug 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o> |
33 | + +eselect-python-20090804.ebuild: |
34 | + Version bump (bug #279915). |
35 | |
36 | 03 Aug 2009; Diego E. Pettenò <flameeyes@g.o> |
37 | eselect-python-20090801.ebuild: |
38 | |
39 | |
40 | |
41 | 1.1 app-admin/eselect-python/eselect-python-20090804.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/eselect-python/eselect-python-20090804.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/eselect-python/eselect-python-20090804.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: eselect-python-20090804.ebuild |
47 | =================================================================== |
48 | # Copyright 1999-2009 Gentoo Foundation |
49 | # Distributed under the terms of the GNU General Public License v2 |
50 | # $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-python/eselect-python-20090804.ebuild,v 1.1 2009/08/04 20:53:43 arfrever Exp $ |
51 | |
52 | inherit toolchain-funcs |
53 | |
54 | DESCRIPTION="Manages multiple Python versions" |
55 | HOMEPAGE="http://www.gentoo.org" |
56 | SRC_URI="mirror://gentoo/${P}.tar.bz2" |
57 | |
58 | LICENSE="GPL-2" |
59 | SLOT="0" |
60 | KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" |
61 | IUSE="" |
62 | |
63 | DEPEND=">=app-admin/eselect-1.0.2" |
64 | RDEPEND="${DEPEND}" |
65 | |
66 | src_compile() { |
67 | $(tc-getCC) ${CFLAGS} ${LDFLAGS} -o python-wrapper python.c || die "Building of python wrapper failed" |
68 | } |
69 | |
70 | src_install() { |
71 | keepdir /etc/env.d/python |
72 | |
73 | dobin python-wrapper || die "dobin python-wrapper failed" |
74 | |
75 | insinto /usr/share/eselect/modules |
76 | doins python.eselect || die "doins python.eselect failed" |
77 | } |
78 | |
79 | pkg_preinst() { |
80 | if has_version "<${CATEGORY}/${PN}-20090804"; then |
81 | run_eselect_python_update="1" |
82 | fi |
83 | } |
84 | |
85 | pkg_postinst() { |
86 | if [[ "${run_eselect_python_update}" == "1" ]]; then |
87 | ebegin "Running \`eselect python update\`" |
88 | eselect python update --ignore 3.0 --ignore 3.1 --ignore 3.2 > /dev/null |
89 | eend "$?" |
90 | fi |
91 | } |