public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in sci-mathematics/num-utils: ChangeLog num-utils-0.5-r1.ebuild num-utils-0.5.ebuild
@ 2011-01-03 18:11 Sebastien Fabbro (bicatali)
  0 siblings, 0 replies; only message in thread
From: Sebastien Fabbro (bicatali) @ 2011-01-03 18:11 UTC (permalink / raw
  To: gentoo-commits

bicatali    11/01/03 18:11:18

  Modified:             ChangeLog
  Added:                num-utils-0.5-r1.ebuild
  Removed:              num-utils-0.5.ebuild
  Log:
  Renamed all execs with prefix num, avoiding number of collisions with other packages. Apply a few Debian patches.
  
  (Portage version: 2.1.9.26/cvs/Linux x86_64)

Revision  Changes    Path
1.9                  sci-mathematics/num-utils/ChangeLog

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

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-mathematics/num-utils/ChangeLog,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- ChangeLog	24 Jun 2010 13:00:56 -0000	1.8
+++ ChangeLog	3 Jan 2011 18:11:18 -0000	1.9
@@ -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:



1.1                  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.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/num-utils/num-utils-0.5-r1.ebuild?rev=1.1&content-type=text/plain

Index: num-utils-0.5-r1.ebuild
===================================================================
# 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-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
	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"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE=""

DEPEND=""
RDEPEND=""

src_prepare() {
	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//' \
		Makefile || die "sed Makefile failed"
}

src_install () {
	emake ROOT="${ED}" install || die "emake install failed"
}

pkg_postinst() {
	elog "All ${PN} programs have been renamed with prefix 'num' to avoid collisions"
}






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

only message in thread, other threads:[~2011-01-03 18:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-03 18:11 [gentoo-commits] gentoo-x86 commit in sci-mathematics/num-utils: ChangeLog num-utils-0.5-r1.ebuild num-utils-0.5.ebuild Sebastien Fabbro (bicatali)

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