From 9d99d89b345ba117ff5a36df708a022e51f04ead Mon Sep 17 00:00:00 2001 From: Jeroen Roovers Date: Wed, 24 Oct 2012 16:13:41 +0000 Subject: Version bump. (Portage version: 2.2.0_alpha141/cvs/Linux x86_64, signed Manifest commit with key A792A613) --- sci-calculators/units/ChangeLog | 7 ++++++- sci-calculators/units/units-2.01.ebuild | 34 +++++++++++++++++++++++++++++++++ 2 files changed, 40 insertions(+), 1 deletion(-) create mode 100644 sci-calculators/units/units-2.01.ebuild (limited to 'sci-calculators') 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 +units-2.01.ebuild: + Version bump. 04 Aug 2012; Sébastien Fabbro 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 +} -- cgit v1.2.3-65-gdbad