Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/yafu/
Date: Tue, 30 Mar 2021 09:25:13
Message-Id: 1617096243.96a339dda415fc229484841a898b0b4054f1152d.soap@gentoo
1 commit: 96a339dda415fc229484841a898b0b4054f1152d
2 Author: Jakov Smolic <jakov.smolic <AT> sartura <DOT> hr>
3 AuthorDate: Tue Mar 30 09:24:03 2021 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Tue Mar 30 09:24:03 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=96a339dd
7
8 sci-mathematics/yafu: Remove sieve USE flag
9
10 Signed-off-by: Jakov Smolic <jakov.smolic <AT> sartura.hr>
11 Signed-off-by: David Seifert <soap <AT> gentoo.org>
12
13 sci-mathematics/yafu/metadata.xml | 3 ---
14 .../yafu/{yafu-1.34.3.ebuild => yafu-1.34.3-r1.ebuild} | 8 +-------
15 sci-mathematics/yafu/yafu-9999.ebuild | 9 +--------
16 3 files changed, 2 insertions(+), 18 deletions(-)
17
18 diff --git a/sci-mathematics/yafu/metadata.xml b/sci-mathematics/yafu/metadata.xml
19 index f07f2757aeb..056ae1719a6 100644
20 --- a/sci-mathematics/yafu/metadata.xml
21 +++ b/sci-mathematics/yafu/metadata.xml
22 @@ -5,9 +5,6 @@
23 <email>patrick@g.o</email>
24 <name>Patrick Lauer</name>
25 </maintainer>
26 - <use>
27 - <flag name="sieve">Use msieve for the sieving steps of NFS</flag>
28 - </use>
29 <upstream>
30 <remote-id type="sourceforge">yafu</remote-id>
31 </upstream>
32
33 diff --git a/sci-mathematics/yafu/yafu-1.34.3.ebuild b/sci-mathematics/yafu/yafu-1.34.3-r1.ebuild
34 similarity index 90%
35 rename from sci-mathematics/yafu/yafu-1.34.3.ebuild
36 rename to sci-mathematics/yafu/yafu-1.34.3-r1.ebuild
37 index e48b2e4b205..24b5c5e29c9 100644
38 --- a/sci-mathematics/yafu/yafu-1.34.3.ebuild
39 +++ b/sci-mathematics/yafu/yafu-1.34.3-r1.ebuild
40 @@ -13,15 +13,10 @@ SRC_URI="mirror://sourceforge/${PN}/${MY_PV}/${PN}-${MY_PV}-src.zip"
41 SLOT="0"
42 LICENSE="public-domain"
43 KEYWORDS="~amd64 ~x86"
44 -IUSE="+sieve"
45
46 DEPEND="
47 dev-libs/gmp:0=
48 - sci-mathematics/gmp-ecm
49 - sieve? (
50 - sci-mathematics/ggnfs
51 - sci-mathematics/msieve
52 - )"
53 + sci-mathematics/gmp-ecm"
54 RDEPEND="${DEPEND}"
55 BDEPEND="app-arch/unzip"
56
57 @@ -48,7 +43,6 @@ src_configure() {
58
59 src_compile() {
60 local VAR
61 - use sieve && VAR="NFS=1"
62 use amd64 && emake $VAR x86_64
63 use x86 && emake $VAR x86
64 }
65
66 diff --git a/sci-mathematics/yafu/yafu-9999.ebuild b/sci-mathematics/yafu/yafu-9999.ebuild
67 index 3f727cf66ae..baa6c351b54 100644
68 --- a/sci-mathematics/yafu/yafu-9999.ebuild
69 +++ b/sci-mathematics/yafu/yafu-9999.ebuild
70 @@ -12,16 +12,10 @@ ESVN_REPO_URI="https://svn.code.sf.net/p/yafu/code/"
71
72 SLOT="0"
73 LICENSE="public-domain"
74 -KEYWORDS=""
75 -# nfs is overloaded, so using less confusing sieve here
76 -IUSE="+sieve"
77
78 DEPEND="
79 dev-libs/gmp:0=
80 - sci-mathematics/gmp-ecm
81 - sieve? (
82 - sci-mathematics/msieve
83 - sci-mathematics/ggnfs )"
84 + sci-mathematics/gmp-ecm"
85 RDEPEND="${DEPEND}"
86
87 src_prepare() {
88 @@ -44,7 +38,6 @@ src_compile() {
89 cd trunk
90 # hmm, not that useful:
91 #VAR="TIMING=1 "
92 - use sieve && VAR+="NFS=1"
93 use amd64 && emake $VAR x86_64
94 use x86 && emake $VAR x86
95 }