commit:     96a339dda415fc229484841a898b0b4054f1152d
Author:     Jakov Smolic <jakov.smolic <AT> sartura <DOT> hr>
AuthorDate: Tue Mar 30 09:24:03 2021 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Tue Mar 30 09:24:03 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=96a339dd

sci-mathematics/yafu: Remove sieve USE flag

Signed-off-by: Jakov Smolic <jakov.smolic <AT> sartura.hr>
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 sci-mathematics/yafu/metadata.xml                                | 3 ---
 .../yafu/{yafu-1.34.3.ebuild => yafu-1.34.3-r1.ebuild}           | 8 +-------
 sci-mathematics/yafu/yafu-9999.ebuild                            | 9 +--------
 3 files changed, 2 insertions(+), 18 deletions(-)

diff --git a/sci-mathematics/yafu/metadata.xml 
b/sci-mathematics/yafu/metadata.xml
index f07f2757aeb..056ae1719a6 100644
--- a/sci-mathematics/yafu/metadata.xml
+++ b/sci-mathematics/yafu/metadata.xml
@@ -5,9 +5,6 @@
                <email>patr...@gentoo.org</email>
                <name>Patrick Lauer</name>
        </maintainer>
-       <use>
-               <flag name="sieve">Use msieve for the sieving steps of 
NFS</flag>
-       </use>
        <upstream>
                <remote-id type="sourceforge">yafu</remote-id>
        </upstream>

diff --git a/sci-mathematics/yafu/yafu-1.34.3.ebuild 
b/sci-mathematics/yafu/yafu-1.34.3-r1.ebuild
similarity index 90%
rename from sci-mathematics/yafu/yafu-1.34.3.ebuild
rename to sci-mathematics/yafu/yafu-1.34.3-r1.ebuild
index e48b2e4b205..24b5c5e29c9 100644
--- a/sci-mathematics/yafu/yafu-1.34.3.ebuild
+++ b/sci-mathematics/yafu/yafu-1.34.3-r1.ebuild
@@ -13,15 +13,10 @@ 
SRC_URI="mirror://sourceforge/${PN}/${MY_PV}/${PN}-${MY_PV}-src.zip"
 SLOT="0"
 LICENSE="public-domain"
 KEYWORDS="~amd64 ~x86"
-IUSE="+sieve"
 
 DEPEND="
        dev-libs/gmp:0=
-       sci-mathematics/gmp-ecm
-       sieve? (
-               sci-mathematics/ggnfs
-               sci-mathematics/msieve
-       )"
+       sci-mathematics/gmp-ecm"
 RDEPEND="${DEPEND}"
 BDEPEND="app-arch/unzip"
 
@@ -48,7 +43,6 @@ src_configure() {
 
 src_compile() {
        local VAR
-       use sieve && VAR="NFS=1"
        use amd64 && emake $VAR x86_64
        use x86 && emake $VAR x86
 }

diff --git a/sci-mathematics/yafu/yafu-9999.ebuild 
b/sci-mathematics/yafu/yafu-9999.ebuild
index 3f727cf66ae..baa6c351b54 100644
--- a/sci-mathematics/yafu/yafu-9999.ebuild
+++ b/sci-mathematics/yafu/yafu-9999.ebuild
@@ -12,16 +12,10 @@ ESVN_REPO_URI="https://svn.code.sf.net/p/yafu/code/";
 
 SLOT="0"
 LICENSE="public-domain"
-KEYWORDS=""
-# nfs is overloaded, so using less confusing sieve here
-IUSE="+sieve"
 
 DEPEND="
        dev-libs/gmp:0=
-       sci-mathematics/gmp-ecm
-       sieve? (
-               sci-mathematics/msieve
-               sci-mathematics/ggnfs )"
+       sci-mathematics/gmp-ecm"
 RDEPEND="${DEPEND}"
 
 src_prepare() {
@@ -44,7 +38,6 @@ src_compile() {
        cd trunk
        # hmm, not that useful:
        #VAR="TIMING=1 "
-       use sieve && VAR+="NFS=1"
        use amd64 && emake $VAR x86_64
        use x86 && emake $VAR x86
 }

Reply via email to