Gentoo Archives: gentoo-commits

From: "Jeroen Roovers (jer)" <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-calculators/units: ChangeLog units-2.00.ebuild
Date: Mon, 02 Jul 2012 04:20:51
Message-Id: 20120702042041.64F542004B@flycatcher.gentoo.org
1 jer 12/07/02 04:20:41
2
3 Modified: ChangeLog units-2.00.ebuild
4 Log:
5 Add dev-lang/python dependency for units_cur.
6
7 (Portage version: 2.2.0_alpha114/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.34 sci-calculators/units/ChangeLog
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-calculators/units/ChangeLog?rev=1.34&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-calculators/units/ChangeLog?rev=1.34&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-calculators/units/ChangeLog?r1=1.33&r2=1.34
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sci-calculators/units/ChangeLog,v
19 retrieving revision 1.33
20 retrieving revision 1.34
21 diff -u -r1.33 -r1.34
22 --- ChangeLog 2 Jul 2012 03:58:36 -0000 1.33
23 +++ ChangeLog 2 Jul 2012 04:20:41 -0000 1.34
24 @@ -1,6 +1,9 @@
25 # ChangeLog for sci-calculators/units
26 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/sci-calculators/units/ChangeLog,v 1.33 2012/07/02 03:58:36 jer Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/sci-calculators/units/ChangeLog,v 1.34 2012/07/02 04:20:41 jer Exp $
29 +
30 + 02 Jul 2012; Jeroen Roovers <jer@g.o> units-2.00.ebuild:
31 + Add dev-lang/python dependency for units_cur.
32
33 *units-2.00 (02 Jul 2012)
34
35
36
37
38 1.2 sci-calculators/units/units-2.00.ebuild
39
40 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-calculators/units/units-2.00.ebuild?rev=1.2&view=markup
41 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-calculators/units/units-2.00.ebuild?rev=1.2&content-type=text/plain
42 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-calculators/units/units-2.00.ebuild?r1=1.1&r2=1.2
43
44 Index: units-2.00.ebuild
45 ===================================================================
46 RCS file: /var/cvsroot/gentoo-x86/sci-calculators/units/units-2.00.ebuild,v
47 retrieving revision 1.1
48 retrieving revision 1.2
49 diff -u -r1.1 -r1.2
50 --- units-2.00.ebuild 2 Jul 2012 03:58:36 -0000 1.1
51 +++ units-2.00.ebuild 2 Jul 2012 04:20:41 -0000 1.2
52 @@ -1,6 +1,6 @@
53 # Copyright 1999-2012 Gentoo Foundation
54 # Distributed under the terms of the GNU General Public License v2
55 -# $Header: /var/cvsroot/gentoo-x86/sci-calculators/units/units-2.00.ebuild,v 1.1 2012/07/02 03:58:36 jer Exp $
56 +# $Header: /var/cvsroot/gentoo-x86/sci-calculators/units/units-2.00.ebuild,v 1.2 2012/07/02 04:20:41 jer Exp $
57
58 EAPI=4
59 inherit eutils
60 @@ -18,10 +18,16 @@
61 >=sys-libs/readline-4.1-r2
62 >=sys-libs/ncurses-5.2-r3
63 "
64 -RDEPEND="${DEPEND}"
65 +RDEPEND="
66 + || ( dev-lang/python:2.5 dev-lang/python:2.6 dev-lang/python:2.7 )
67 + ${DEPEND}
68 +"
69
70 src_prepare() {
71 epatch "${FILESDIR}"/${P}-gentoo.patch
72 +
73 + # Fix shebang for python2
74 + sed -i units_cur -e '1s|$|2|' || die
75 }
76
77 src_install() {