public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in sci-mathematics/num-utils: metadata.xml ChangeLog num-utils-0.5-r1.ebuild
@ 2012-06-19 11:56 Justin Lecher (jlec)
  0 siblings, 0 replies; only message in thread
From: Justin Lecher (jlec) @ 2012-06-19 11:56 UTC (permalink / raw
  To: gentoo-commits

jlec        12/06/19 11:56:26

  Modified:             metadata.xml ChangeLog num-utils-0.5-r1.ebuild
  Log:
  sci-mathematics/num-utils: Bump EAPI=4, fix recursive-relative path in patches, #421787
  
  (Portage version: 2.2.0_alpha110/cvs/Linux x86_64)

Revision  Changes    Path
1.3                  sci-mathematics/num-utils/metadata.xml

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/num-utils/metadata.xml?rev=1.3&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/num-utils/metadata.xml?rev=1.3&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/num-utils/metadata.xml?r1=1.2&r2=1.3

Index: metadata.xml
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-mathematics/num-utils/metadata.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- metadata.xml	31 Jul 2006 17:52:38 -0000	1.2
+++ metadata.xml	19 Jun 2012 11:56:26 -0000	1.3
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-<herd>sci-mathematics</herd>
+	<herd>sci-mathematics</herd>
 </pkgmetadata>



1.10                 sci-mathematics/num-utils/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/num-utils/ChangeLog?rev=1.10&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/num-utils/ChangeLog?rev=1.10&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/num-utils/ChangeLog?r1=1.9&r2=1.10

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-mathematics/num-utils/ChangeLog,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- ChangeLog	3 Jan 2011 18:11:18 -0000	1.9
+++ ChangeLog	19 Jun 2012 11:56:26 -0000	1.10
@@ -1,6 +1,10 @@
 # ChangeLog for sci-mathematics/num-utils
-# 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 $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/num-utils/ChangeLog,v 1.10 2012/06/19 11:56:26 jlec Exp $
+
+  19 Jun 2012; Justin Lecher <jlec@gentoo.org> num-utils-0.5-r1.ebuild,
+  metadata.xml:
+  Bump EAPI=4, fix recursive-relative path in patches, #421787
 
 *num-utils-0.5-r1 (03 Jan 2011)
 



1.2                  sci-mathematics/num-utils/num-utils-0.5-r1.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/num-utils/num-utils-0.5-r1.ebuild?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/num-utils/num-utils-0.5-r1.ebuild?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/num-utils/num-utils-0.5-r1.ebuild?r1=1.1&r2=1.2

Index: num-utils-0.5-r1.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-mathematics/num-utils/num-utils-0.5-r1.ebuild,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- num-utils-0.5-r1.ebuild	3 Jan 2011 18:11:18 -0000	1.1
+++ num-utils-0.5-r1.ebuild	19 Jun 2012 11:56:26 -0000	1.2
@@ -1,43 +1,46 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2012 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-r1.ebuild,v 1.1 2011/01/03 18:11:18 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/num-utils/num-utils-0.5-r1.ebuild,v 1.2 2012/06/19 11:56:26 jlec Exp $
+
+EAPI=4
 
-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
-	mirror://debian/pool/main/${PN:0:1}/${PN}/${PN}_${PV}-${DEB_PR}.diff.gz"
-
 HOMEPAGE="http://suso.suso.org/programs/num-utils/"
+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"
 
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~amd64 ~ppc ~x86"
 IUSE=""
 
-DEPEND=""
-RDEPEND=""
-
 src_prepare() {
 	epatch "${WORKDIR}"/${PN}_${PV}-${DEB_PR}.diff
+	sed \
+		-e 's:../orig/num-utils-0.5/::g' \
+		-i "${S}"/debian/patches/*.diff || die
 	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 \
+
+	sed \
 		-e 's/^RPMDIR/#RPMDIR/' \
 		-e 's/COPYING//' \
 		-e 's/LICENSE//' \
 		-e '/^DOCS/s/MANIFEST//' \
-		Makefile || die "sed Makefile failed"
+		-i Makefile || die "sed Makefile failed"
 }
 
 src_install () {
-	emake ROOT="${ED}" install || die "emake install failed"
+	emake ROOT="${ED}" install
 }
 
 pkg_postinst() {






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-06-19 11:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-19 11:56 [gentoo-commits] gentoo-x86 commit in sci-mathematics/num-utils: metadata.xml ChangeLog num-utils-0.5-r1.ebuild Justin Lecher (jlec)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox