diff options
author | Jeroen Roovers <jer@gentoo.org> | 2012-07-02 04:20:41 +0000 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2012-07-02 04:20:41 +0000 |
commit | a72df5c6557ac5791a8952373be2a967c71ac61b (patch) | |
tree | 16f56f3ef92be2390740b10de204dd52e5cbf1bc /sci-calculators/units | |
parent | Bump for release 1.7.6 - upstream has changed download pkg naming rules, will... (diff) | |
download | gentoo-2-a72df5c6557ac5791a8952373be2a967c71ac61b.tar.gz gentoo-2-a72df5c6557ac5791a8952373be2a967c71ac61b.tar.bz2 gentoo-2-a72df5c6557ac5791a8952373be2a967c71ac61b.zip |
Add dev-lang/python dependency for units_cur.
(Portage version: 2.2.0_alpha114/cvs/Linux x86_64)
Diffstat (limited to 'sci-calculators/units')
-rw-r--r-- | sci-calculators/units/ChangeLog | 5 | ||||
-rw-r--r-- | sci-calculators/units/units-2.00.ebuild | 10 |
2 files changed, 12 insertions, 3 deletions
diff --git a/sci-calculators/units/ChangeLog b/sci-calculators/units/ChangeLog index 55d0239df640..7869bfb25725 100644 --- a/sci-calculators/units/ChangeLog +++ b/sci-calculators/units/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for sci-calculators/units # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-calculators/units/ChangeLog,v 1.33 2012/07/02 03:58:36 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-calculators/units/ChangeLog,v 1.34 2012/07/02 04:20:41 jer Exp $ + + 02 Jul 2012; Jeroen Roovers <jer@gentoo.org> units-2.00.ebuild: + Add dev-lang/python dependency for units_cur. *units-2.00 (02 Jul 2012) diff --git a/sci-calculators/units/units-2.00.ebuild b/sci-calculators/units/units-2.00.ebuild index 416a246348fb..203c9d9fcae8 100644 --- a/sci-calculators/units/units-2.00.ebuild +++ b/sci-calculators/units/units-2.00.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-calculators/units/units-2.00.ebuild,v 1.1 2012/07/02 03:58:36 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-calculators/units/units-2.00.ebuild,v 1.2 2012/07/02 04:20:41 jer Exp $ EAPI=4 inherit eutils @@ -18,10 +18,16 @@ DEPEND=" >=sys-libs/readline-4.1-r2 >=sys-libs/ncurses-5.2-r3 " -RDEPEND="${DEPEND}" +RDEPEND=" + || ( dev-lang/python:2.5 dev-lang/python:2.6 dev-lang/python:2.7 ) + ${DEPEND} +" src_prepare() { epatch "${FILESDIR}"/${P}-gentoo.patch + + # Fix shebang for python2 + sed -i units_cur -e '1s|$|2|' || die } src_install() { |