diff options
Diffstat (limited to 'sci-mathematics/num-utils')
-rw-r--r-- | sci-mathematics/num-utils/ChangeLog | 11 | ||||
-rw-r--r-- | sci-mathematics/num-utils/num-utils-0.5-r1.ebuild (renamed from sci-mathematics/num-utils/num-utils-0.5.ebuild) | 27 |
2 files changed, 26 insertions, 12 deletions
diff --git a/sci-mathematics/num-utils/ChangeLog b/sci-mathematics/num-utils/ChangeLog index 38a433790dd6..43041552de85 100644 --- a/sci-mathematics/num-utils/ChangeLog +++ b/sci-mathematics/num-utils/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for sci-mathematics/num-utils -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/num-utils/ChangeLog,v 1.8 2010/06/24 13:00:56 jlec Exp $ +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/num-utils/ChangeLog,v 1.9 2011/01/03 18:11:18 bicatali Exp $ + +*num-utils-0.5-r1 (03 Jan 2011) + + 03 Jan 2011; Sébastien Fabbro <bicatali@gentoo.org> -num-utils-0.5.ebuild, + +num-utils-0.5-r1.ebuild: + Renamed all execs with prefix num, avoiding number of collisions with other + packages. Apply a few Debian patches. 24 Jun 2010; Justin Lecher <jlec@gentoo.org> num-utils-0.3.ebuild, num-utils-0.5.ebuild: diff --git a/sci-mathematics/num-utils/num-utils-0.5.ebuild b/sci-mathematics/num-utils/num-utils-0.5-r1.ebuild index 0b259f35ec29..05745aaa05f4 100644 --- a/sci-mathematics/num-utils/num-utils-0.5.ebuild +++ b/sci-mathematics/num-utils/num-utils-0.5-r1.ebuild @@ -1,11 +1,16 @@ -# Copyright 1999-2010 Gentoo Foundation +# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/num-utils/num-utils-0.5.ebuild,v 1.8 2010/06/24 13:06:50 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/num-utils/num-utils-0.5-r1.ebuild,v 1.1 2011/01/03 18:11:18 bicatali Exp $ EAPI="3" +inherit eutils + +DEB_PR=11 DESCRIPTION="A set of programs for dealing with numbers from the command line" -SRC_URI="http://suso.suso.org/programs/num-utils/downloads/${P}.tar.gz" +SRC_URI="http://suso.suso.org/programs/num-utils/downloads/${P}.tar.gz + mirror://debian/pool/main/${PN:0:1}/${PN}/${PN}_${PV}-${DEB_PR}.diff.gz" + HOMEPAGE="http://suso.suso.org/programs/num-utils/" LICENSE="GPL-2" @@ -14,18 +19,20 @@ KEYWORDS="~amd64 ~ppc ~x86" IUSE="" DEPEND="" -RDEPEND=" - dev-lang/perl - !<sci-chemistry/gromacs-4" +RDEPEND="" src_prepare() { - # bug #248324 - mv normalize nnormalize || die + epatch "${WORKDIR}"/${PN}_${PV}-${DEB_PR}.diff + epatch "${S}"/debian/patches/*.diff + local x + for x in average bound interval normalize random range round; do + mv $x num$x || die "renaming $x failed" + done sed -i \ -e 's/^RPMDIR/#RPMDIR/' \ -e 's/COPYING//' \ + -e 's/LICENSE//' \ -e '/^DOCS/s/MANIFEST//' \ - -e 's/normalize/nnormalize/' \ Makefile || die "sed Makefile failed" } @@ -34,5 +41,5 @@ src_install () { } pkg_postinst() { - elog "normalize has been renamed nnormalize" + elog "All ${PN} programs have been renamed with prefix 'num' to avoid collisions" } |