hasufell    14/05/18 17:58:55

  Modified:             metadata.xml ChangeLog
  Added:                flint-2.4.3.ebuild
  Log:
  version bump wrt #507572
  
  (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 
BDEED020)
Revision  Changes    Path
1.2                  sci-mathematics/flint/metadata.xml

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

Index: metadata.xml
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-mathematics/flint/metadata.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- metadata.xml        26 Nov 2012 08:06:33 -0000      1.1
+++ metadata.xml        18 May 2014 17:58:55 -0000      1.2
@@ -5,4 +5,9 @@
                <email>patr...@gentoo.org</email>
                <name>Patrick Lauer</name>
        </maintainer>
+       <use>
+               <flag name='gc'>Enable garbage collection
+                       support via <pkg>dev-libs/boehm-gc</pkg></flag>
+               <flag name='ntl'>Build NTL interface</flag>
+       </use>
 </pkgmetadata>



1.3                  sci-mathematics/flint/ChangeLog

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

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-mathematics/flint/ChangeLog,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- ChangeLog   21 May 2013 07:10:10 -0000      1.2
+++ ChangeLog   18 May 2014 17:58:55 -0000      1.3
@@ -1,6 +1,13 @@
 # ChangeLog for sci-mathematics/flint
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/flint/ChangeLog,v 1.2 
2013/05/21 07:10:10 patrick Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/flint/ChangeLog,v 1.3 
2014/05/18 17:58:55 hasufell Exp $
+
+*flint-2.4.3 (18 May 2014)
+
+  18 May 2014; Julian Ospald <hasuf...@gentoo.org> +flint-2.4.3.ebuild,
+  +files/flint-2.4.3-cflags-ldflags.patch, +files/flint-2.4.3-libdir.patch,
+  +files/flint-2.4.3-whitespaces.patch, metadata.xml:
+  version bump wrt #507572
 
   21 May 2013; Patrick Lauer <patr...@gentoo.org> flint-2.3.ebuild:
   Fixing libdir for #470732



1.1                  sci-mathematics/flint/flint-2.4.3.ebuild

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

Index: flint-2.4.3.ebuild
===================================================================
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/flint/flint-2.4.3.ebuild,v 
1.1 2014/05/18 17:58:55 hasufell Exp $

EAPI="5"

inherit eutils multilib toolchain-funcs

DESCRIPTION="Fast Library for Number Theory"
HOMEPAGE="http://www.flintlib.org/";
SRC_URI="http://www.flintlib.org/${P}.tar.gz";

RESTRICT="mirror"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc gc ntl static-libs test"

RDEPEND="dev-libs/gmp
        dev-libs/mpfr
        gc? ( dev-libs/boehm-gc )
        ntl? ( dev-libs/ntl )"
DEPEND="${RDEPEND}
        doc? ( app-text/texlive-core )"

src_prepare() {
        epatch "${FILESDIR}"/${PN}-2.4.3-libdir.patch \
                "${FILESDIR}"/${PN}-2.4.3-whitespaces.patch \
                "${FILESDIR}"/${PN}-2.4.3-cflags-ldflags.patch
}

src_configure() {
        ./configure \
                --prefix="${EPREFIX}/usr" \
                --with-gmp="${EPREFIX}/usr" \
                --with-mpfr="${EPREFIX}/usr" \
                $(usex ntl "--with-ntl=${EPREFIX}/usr" "") \
                $(use_enable static-libs static) \
                $(usex gc "--with-gc=${EPREFIX}/usr" "") \
                CC=$(tc-getCC) \
                CXX=$(tc-getCXX) \
                AR=$(tc-getAR) \
                || die
}

src_compile() {
        emake verbose

        if use doc ; then
                emake -C doc/latex
        fi
}

src_test() {
        emake AT= QUIET_CC= QUIET_CXX= QUIET_AR= check
}

src_install() {
        emake DESTDIR="${D}" LIBDIR="$(get_libdir)" install
        einstalldocs
        use doc && dodoc doc/latex/flint-manual.pdf
}




Reply via email to