summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2012-07-02 04:20:41 +0000
committerJeroen Roovers <jer@gentoo.org>2012-07-02 04:20:41 +0000
commitd9b0827026186e19c37d5d78396f794de85ccc40 (patch)
tree6ce72b4a4e73a4470c4f04f9ef03767f07939960 /sci-calculators
parentBump for release 1.7.6 - upstream has changed download pkg naming rules, will... (diff)
downloadhistorical-d9b0827026186e19c37d5d78396f794de85ccc40.tar.gz
historical-d9b0827026186e19c37d5d78396f794de85ccc40.tar.bz2
historical-d9b0827026186e19c37d5d78396f794de85ccc40.zip
Add dev-lang/python dependency for units_cur.
Package-Manager: portage-2.2.0_alpha114/cvs/Linux x86_64
Diffstat (limited to 'sci-calculators')
-rw-r--r--sci-calculators/units/ChangeLog5
-rw-r--r--sci-calculators/units/Manifest10
-rw-r--r--sci-calculators/units/units-2.00.ebuild10
3 files changed, 17 insertions, 8 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/Manifest b/sci-calculators/units/Manifest
index 6bf94b940d73..7fecfac18a6c 100644
--- a/sci-calculators/units/Manifest
+++ b/sci-calculators/units/Manifest
@@ -6,13 +6,13 @@ DIST units-1.88.tar.gz 261519 RMD160 567caeb52e741cccd260e16fcdf9d7998de0f95b SH
DIST units-2.00.tar.gz 653473 RMD160 1a272a6dc6c38d0a3571205180146e25e3e0845c SHA1 6da9ea78ff0dc21bc43cf1809c530e61d9394ce0 SHA256 573c831e428bf47419c5c540dcd4c6669f14154181d0e8812d635ee5bcff7f60
EBUILD units-1.88-r1.ebuild 691 RMD160 9460b1667509d109087f4815fc58ccba1af900e4 SHA1 21dff684209e173585c41a0c3c296fd751d3ae36 SHA256 e8a46123ec516f7909931a68e4b5880a764d7586156d46ba54d6d874959e9feb
EBUILD units-1.88.ebuild 721 RMD160 79463af27e7fdc63023240bc74f0250cd7baa8e1 SHA1 aeb3f741faf0b880ba569a1786c103393e834c84 SHA256 ad29785bbdef28df33e380a4a60a6c0447d94aaed27097ee3a94474ca30c8c29
-EBUILD units-2.00.ebuild 692 RMD160 51330809ae1cf4cb9f5242c5e832b0bccc6ef94d SHA1 8bdf20886400d302221ac1cc312f8a84927ddcf5 SHA256 60c3260db1bebce910c8acbbe8df3e4cfdddaa3a45f9dbcbdb0c7166ac8866ee
-MISC ChangeLog 5591 RMD160 7a27343ae9489965f1e3601f4b5c5e2384fc3abf SHA1 7022e0d3c85508f34ef2049cbf1a99c05cf12115 SHA256 8657a16b224a7550bc2ec8adabe14e726bb827b2821a3c1f847b9fe0b4cbd180
+EBUILD units-2.00.ebuild 829 RMD160 23575e4bdb00df5e954c51a47431219d4aa55daf SHA1 eb661a645b5ca7390fbba8e724b1ec2c2be0bd8a SHA256 09be1df25c581867780e57ec2de81505e55ae5ce85ef113509aba5dac4ea0d93
+MISC ChangeLog 5706 RMD160 f971b508f1386fcc0650719bce1e9b1d0078e388 SHA1 a0b16b87c5d2b32f4b87198ddd40376e24691ba5 SHA256 e712437586e2d6dd64e05bdce9d4993f26ba054131c2f7edd60a12c0e9f17522
MISC metadata.xml 248 RMD160 8c08c86593f9dda6604bb9d940d72ffe37a442eb SHA1 b0013f853f65f27b4ae66be7055c6dc8d3ebb0d4 SHA256 58e4ea49619db3881b26ad216ddbeb323a376bf8240a7018c17a13290b1ca961
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
-iEYEARECAAYFAk/xHHEACgkQVWmRsqeSphOvAwCggU6lkfjQLW2OcVvGWQ6Yp4UR
-MY4AniedDWqNNkVCAl2qwiRBLue6+jrQ
-=oH6E
+iEYEARECAAYFAk/xIZ4ACgkQVWmRsqeSphNOvwCdE6ExmY/bc2MbnQHhA+oI6HG8
+S3AAnA1o3//eYlnpcGqUbwa8vafa8/Qx
+=5fx/
-----END PGP SIGNATURE-----
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() {