sci-mathematics/gmp-ecm: Remove dep on sci-mathematics/gwnum
authorDavid Seifert <soap@gentoo.org>
Sun, 23 Jun 2019 18:13:44 +0000 (20:13 +0200)
committerDavid Seifert <soap@gentoo.org>
Sun, 23 Jun 2019 18:13:44 +0000 (20:13 +0200)
Closes: https://github.com/gentoo/gentoo/pull/12313
Package-Manager: Portage-2.3.67, Repoman-2.3.15
Signed-off-by: David Seifert <soap@gentoo.org>
sci-mathematics/gmp-ecm/gmp-ecm-6.4.3-r5.ebuild
sci-mathematics/gmp-ecm/gmp-ecm-6.4.4-r1.ebuild
sci-mathematics/gmp-ecm/gmp-ecm-9999.ebuild
sci-mathematics/gmp-ecm/metadata.xml

index e60693532085ee192d5b2672f7fca95c35db5b6f..0a752d428d6e9257f401c99f8aeace44f94e17aa 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=4
@@ -11,22 +11,17 @@ inherit eutils
 LICENSE="GPL-3 LGPL-3"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE="+blas +custom-tune gwnum -openmp test"
+IUSE="+blas +custom-tune -openmp test"
 
 # gmp 5.1 breaks a few things with this version
 DEPEND="<dev-libs/gmp-5.1.0
        blas? ( sci-libs/gsl )
-       gwnum? ( sci-mathematics/gwnum )
        openmp? ( sys-devel/gcc[openmp] )"
 RDEPEND="${DEPEND}"
 
-# can't be both enabled
-REQUIRED_USE="gwnum? ( !openmp )"
-
 S=${WORKDIR}/ecm-${PV}
 
 src_configure() {
-       if use gwnum; then myconf="--with-gwnum=/usr/lib"; fi
        # --enable-shellcmd is broken
        econf $(use_enable openmp) $myconf
 }
index 209011200da1b499018e41c7a1a41e050a3e50b4..29e28d2fc9cff255ac8c66b5493e8fac8fa5280c 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -12,18 +12,14 @@ SRC_URI="https://gforge.inria.fr/frs/download.php/32159/${P}.tar.gz"
 LICENSE="GPL-3 LGPL-3"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE="+blas +custom-tune gwnum -openmp static-libs test"
+IUSE="+blas +custom-tune -openmp static-libs test"
 
 DEPEND="
        dev-libs/gmp:0=
        blas? ( sci-libs/gsl )
-       gwnum? ( sci-mathematics/gwnum )
        openmp? ( sys-devel/gcc:*[openmp] )"
 RDEPEND="${DEPEND}"
 
-# can't be both enabled
-REQUIRED_USE="gwnum? ( !openmp )"
-
 S=${WORKDIR}/ecm-${PV}
 
 MAKEOPTS+=" -j1"
@@ -34,7 +30,6 @@ src_prepare() {
 }
 
 src_configure() {
-       use gwnum && local myconf="--with-gwnum="${EPREFIX}"/usr/$(get_libdir)"
        # --enable-shellcmd is broken
        econf \
                --enable-shared \
index a7936e1d8eabf2805aabb1ab80b19de84628d63a..728b19ecd5277cd6010e6cc26d84d19478f82e99 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -13,18 +13,14 @@ inherit autotools eutils flag-o-matic subversion
 LICENSE="GPL-3 LGPL-3"
 SLOT="0"
 KEYWORDS=""
-IUSE="blas gwnum -openmp test"
+IUSE="blas -openmp test"
 
 DEPEND="
        dev-libs/gmp:0=
        blas? ( sci-libs/gsl )
-       gwnum? ( sci-mathematics/gwnum )
        openmp? ( sys-devel/gcc:*[openmp] )"
 RDEPEND="${DEPEND}"
 
-# can't be both enabled
-REQUIRED_USE="gwnum? ( !openmp )"
-
 S=${WORKDIR}/ecm-${PV}
 
 MAKEOPTS+=" -j1"
@@ -34,7 +30,6 @@ src_prepare() {
 }
 
 src_configure() {
-       if use gwnum; then myconf="--with-gwnum=/usr/lib"; fi
        # --enable-shellcmd is broken
        econf $(use_enable openmp) $myconf
 }
index 928a8daa2073ac15e1f6a162aebaacc760b51462..b5bb0a9997eea6ea221b9d797e6570d4ca49db36 100644 (file)
@@ -7,6 +7,5 @@
   </maintainer>
   <use>
     <flag name="custom-tune">Improve performance of some operations by selecting machine-specific defaults</flag>
-    <flag name="gwnum">Use GWNum lib where possible</flag>
   </use>
 </pkgmetadata>