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: eselect-python-20090606.ebuild |
Date: | Fri, 28 Aug 2009 20:15:56 |
Message-Id: | E1MfzrY-000196-6n@stork.gentoo.org |
1 | arfrever 09/08/25 17:31:16 |
2 | |
3 | Modified: eselect-python-20090606.ebuild |
4 | Log: |
5 | Disallow downgrades from >=app-admin/eselect-python-20090804 to avoid problems caused by disappearing python-wrapper. |
6 | (Portage version: 14155-svn/cvs/Linux x86_64) |
7 | |
8 | Revision Changes Path |
9 | 1.8 app-admin/eselect-python/eselect-python-20090606.ebuild |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/eselect-python/eselect-python-20090606.ebuild?rev=1.8&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/eselect-python/eselect-python-20090606.ebuild?rev=1.8&content-type=text/plain |
13 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/eselect-python/eselect-python-20090606.ebuild?r1=1.7&r2=1.8 |
14 | |
15 | Index: eselect-python-20090606.ebuild |
16 | =================================================================== |
17 | RCS file: /var/cvsroot/gentoo-x86/app-admin/eselect-python/eselect-python-20090606.ebuild,v |
18 | retrieving revision 1.7 |
19 | retrieving revision 1.8 |
20 | diff -u -r1.7 -r1.8 |
21 | --- eselect-python-20090606.ebuild 11 Jul 2009 20:40:16 -0000 1.7 |
22 | +++ eselect-python-20090606.ebuild 25 Aug 2009 17:31:16 -0000 1.8 |
23 | @@ -1,6 +1,6 @@ |
24 | # Copyright 1999-2009 Gentoo Foundation |
25 | # Distributed under the terms of the GNU General Public License v2 |
26 | -# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-python/eselect-python-20090606.ebuild,v 1.7 2009/07/11 20:40:16 josejx Exp $ |
27 | +# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-python/eselect-python-20090606.ebuild,v 1.8 2009/08/25 17:31:16 arfrever Exp $ |
28 | |
29 | DESCRIPTION="Manages multiple Python versions" |
30 | HOMEPAGE="http://www.gentoo.org" |
31 | @@ -13,6 +13,12 @@ |
32 | |
33 | RDEPEND=">=app-admin/eselect-1.0.2" |
34 | |
35 | +pkg_setup() { |
36 | + if has_version ">=app-admin/eselect-python-20090804"; then |
37 | + die "Downgrade of app-admin/eselect-python is not supported" |
38 | + fi |
39 | +} |
40 | + |
41 | src_install() { |
42 | insinto /usr/share/eselect/modules |
43 | newins "${WORKDIR}/python.eselect-${PVR}" python.eselect || die "newins python.eselect failed" |