public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in sci-mathematics/msieve: ChangeLog metadata.xml msieve-9999.ebuild msieve-1.51.ebuild msieve-1.50-r4.ebuild
@ 2013-03-07  9:52 Justin Lecher (jlec)
  0 siblings, 0 replies; only message in thread
From: Justin Lecher (jlec) @ 2013-03-07  9:52 UTC (permalink / raw
  To: gentoo-commits

jlec        13/03/07 09:52:28

  Modified:             ChangeLog metadata.xml msieve-9999.ebuild
  Added:                msieve-1.51.ebuild
  Removed:              msieve-1.50-r4.ebuild
  Log:
  sci-mathematics/msieve: Version Bump; fixing several QA issues; drop old fixes #443662
  
  (Portage version: 2.2.0_alpha166/cvs/Linux x86_64, signed Manifest commit with key 70EB7916)

Revision  Changes    Path
1.12                 sci-mathematics/msieve/ChangeLog

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

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-mathematics/msieve/ChangeLog,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- ChangeLog	6 Jan 2013 14:20:34 -0000	1.11
+++ ChangeLog	7 Mar 2013 09:52:28 -0000	1.12
@@ -1,6 +1,13 @@
 # ChangeLog for sci-mathematics/msieve
 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/msieve/ChangeLog,v 1.11 2013/01/06 14:20:34 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/msieve/ChangeLog,v 1.12 2013/03/07 09:52:28 jlec Exp $
+
+*msieve-1.51 (07 Mar 2013)
+
+  07 Mar 2013; Justin Lecher <jlec@gentoo.org> +msieve-1.51.ebuild,
+  msieve-9999.ebuild, files/reduce-printf2.patch, -msieve-1.50-r4.ebuild,
+  +files/msieve-1.51-reduce-printf.patch, metadata.xml:
+  Version Bump; fixing several QA issues; drop old fixes #443662
 
 *msieve-9999 (06 Jan 2013)
 



1.3                  sci-mathematics/msieve/metadata.xml

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

Index: metadata.xml
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-mathematics/msieve/metadata.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- metadata.xml	16 Nov 2012 03:59:10 -0000	1.2
+++ metadata.xml	7 Mar 2013 09:52:28 -0000	1.3
@@ -1,11 +1,11 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-	<maintainer>
-		<email>patrick@gentoo.org</email>
-		<name>Patrick Lauer</name>
-	</maintainer>
-	<use>
-		<flag name='ecm'>Enable support for the GMP-ECM library</flag>
-	</use>
+  <maintainer>
+    <email>patrick@gentoo.org</email>
+    <name>Patrick Lauer</name>
+  </maintainer>
+  <use>
+    <flag name="ecm">Enable support for the GMP-ECM library</flag>
+  </use>
 </pkgmetadata>



1.2                  sci-mathematics/msieve/msieve-9999.ebuild

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

Index: msieve-9999.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-mathematics/msieve/msieve-9999.ebuild,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- msieve-9999.ebuild	6 Jan 2013 14:20:34 -0000	1.1
+++ msieve-9999.ebuild	7 Mar 2013 09:52:28 -0000	1.2
@@ -1,22 +1,24 @@
 # Copyright 1999-2013 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/msieve/msieve-9999.ebuild,v 1.1 2013/01/06 14:20:34 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/msieve/msieve-9999.ebuild,v 1.2 2013/03/07 09:52:28 jlec Exp $
+
+EAPI=5
+
+inherit eutils subversion toolchain-funcs
 
-EAPI=4
 DESCRIPTION="A C library implementing a suite of algorithms to factor large integers"
 HOMEPAGE="http://sourceforge.net/projects/msieve/"
 #SRC_URI="mirror://sourceforge/${PN}/${PN}/Msieve%20v${PV}/${PN}${PV/./}src.tar.gz"
 ESVN_REPO_URI="https://msieve.svn.sourceforge.net/svnroot/msieve"
 
-inherit eutils subversion
-
 LICENSE="public-domain"
 SLOT="0"
 KEYWORDS=""
 IUSE="zlib +ecm mpi"
 
 # some linking troubles with gwnum
-DEPEND="ecm? ( sci-mathematics/gmp-ecm[-gwnum] )
+DEPEND="
+	ecm? ( sci-mathematics/gmp-ecm[-gwnum] )
 	mpi? ( virtual/mpi )
 	zlib? ( sys-libs/zlib )"
 RDEPEND="${DEPEND}"
@@ -31,16 +33,14 @@
 
 src_compile() {
 	cd trunk
-	if use ecm; then
-		export "ECM=1"
-	fi
-	if use mpi; then
-		export "MPI=1"
-	fi
-	if use zlib; then
-		export "ZLIB=1"
-	fi
-	emake all || die "Failed to build"
+	use ecm && export "ECM=1"
+	use mpi && export "MPI=1"
+	use zlib && export "ZLIB=1"
+	emake \
+		CC=$(tc-getCC) \
+		AR=$(tc-getAR) \
+		OPT_FLAGS="${CFLAGS}" \
+		all
 }
 
 src_install() {



1.1                  sci-mathematics/msieve/msieve-1.51.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/msieve/msieve-1.51.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/msieve/msieve-1.51.ebuild?rev=1.1&content-type=text/plain

Index: msieve-1.51.ebuild
===================================================================
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/msieve/msieve-1.51.ebuild,v 1.1 2013/03/07 09:52:28 jlec Exp $

EAPI=5

inherit eutils toolchain-funcs

DESCRIPTION="A C library implementing a suite of algorithms to factor large integers"
HOMEPAGE="http://sourceforge.net/projects/msieve/"
SRC_URI="mirror://sourceforge/${PN}/${PN}/Msieve%20v${PV}/${PN}${PV/./}.tar.gz"

LICENSE="public-domain"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="zlib +ecm mpi"

# some linking troubles with gwnum
DEPEND="
	ecm? ( sci-mathematics/gmp-ecm[-gwnum] )
	mpi? ( virtual/mpi )
	zlib? ( sys-libs/zlib )"
RDEPEND="${DEPEND}"

src_prepare() {
	# TODO: Integrate ggnfs properly
	epatch \
		"${FILESDIR}"/${P}-reduce-printf.patch \
		"${FILESDIR}"/fix-version.patch \
		"${FILESDIR}"/fix-version2.patch
	sed -i -e 's/-march=k8//' Makefile 		|| die
	sed -i -e 's/CC =/#CC =/' Makefile 		|| die
	sed -i -e 's/CFLAGS =/CFLAGS +=/' Makefile 	|| die
}

src_compile() {
	use ecm && export "ECM=1"
	use mpi && export "MPI=1"
	use zlib && export "ZLIB=1"
	emake \
		CC=$(tc-getCC) \
		AR=$(tc-getAR) \
		OPT_FLAGS="${CFLAGS}" \
		all
}

src_install() {
	mkdir -p "${D}/usr/include/msieve"
	mkdir -p "${D}/usr/lib/"
	mkdir -p "${D}/usr/share/doc/${P}/"
	cp include/* "${D}/usr/include/msieve" || die "Failed to install"
	cp libmsieve.a "${D}/usr/lib/" || die "Failed to install"
	dobin msieve || die "Failed to install"
	cp Readme* "${D}/usr/share/doc/${P}/" || die "Failed to install"
}





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

only message in thread, other threads:[~2013-03-07  9:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-07  9:52 [gentoo-commits] gentoo-x86 commit in sci-mathematics/msieve: ChangeLog metadata.xml msieve-9999.ebuild msieve-1.51.ebuild msieve-1.50-r4.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