summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2012-10-24 16:13:41 +0000
committerJeroen Roovers <jer@gentoo.org>2012-10-24 16:13:41 +0000
commit9d99d89b345ba117ff5a36df708a022e51f04ead (patch)
tree6629b38090023a8ac6c500d39c47d46400820618 /sci-calculators/units
parentwhitespace (diff)
downloadgentoo-2-9d99d89b345ba117ff5a36df708a022e51f04ead.tar.gz
gentoo-2-9d99d89b345ba117ff5a36df708a022e51f04ead.tar.bz2
gentoo-2-9d99d89b345ba117ff5a36df708a022e51f04ead.zip
Version bump.
(Portage version: 2.2.0_alpha141/cvs/Linux x86_64, signed Manifest commit with key A792A613)
Diffstat (limited to 'sci-calculators/units')
-rw-r--r--sci-calculators/units/ChangeLog7
-rw-r--r--sci-calculators/units/units-2.01.ebuild34
2 files changed, 40 insertions, 1 deletions
diff --git a/sci-calculators/units/ChangeLog b/sci-calculators/units/ChangeLog
index 13726d2fd052..944c3cfd91d1 100644
--- a/sci-calculators/units/ChangeLog
+++ b/sci-calculators/units/ChangeLog
@@ -1,6 +1,11 @@
# 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.35 2012/08/04 22:20:18 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-calculators/units/ChangeLog,v 1.36 2012/10/24 16:13:41 jer Exp $
+
+*units-2.01 (24 Oct 2012)
+
+ 24 Oct 2012; Jeroen Roovers <jer@gentoo.org> +units-2.01.ebuild:
+ Version bump.
04 Aug 2012; Sébastien Fabbro <bicatali@gentoo.org> units-2.00.ebuild:
keyword amd64-linux, x86-linux
diff --git a/sci-calculators/units/units-2.01.ebuild b/sci-calculators/units/units-2.01.ebuild
new file mode 100644
index 000000000000..5227b8019028
--- /dev/null
+++ b/sci-calculators/units/units-2.01.ebuild
@@ -0,0 +1,34 @@
+# 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.01.ebuild,v 1.1 2012/10/24 16:13:41 jer Exp $
+
+EAPI=4
+inherit eutils
+
+DESCRIPTION="Unit conversion program"
+HOMEPAGE="http://www.gnu.org/software/units/units.html"
+SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux"
+IUSE=""
+
+DEPEND="
+ >=sys-libs/readline-4.1-r2
+ >=sys-libs/ncurses-5.2-r3
+"
+RDEPEND="
+ || ( dev-lang/python:2.5 dev-lang/python:2.6 dev-lang/python:2.7 )
+ ${DEPEND}
+"
+
+src_prepare() {
+ # Fix shebang for python2
+ sed -i units_cur -e '1s|$|2|' || die
+}
+
+src_install() {
+ emake -j1 DESTDIR="${D}" install
+ dodoc ChangeLog NEWS README
+}