Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-mathematics/yafu/
Date: Sun, 18 Apr 2021 12:11:12
Message-Id: 1618747514.0115733449ace2a81ffc6eaa3ebff033da1bbf34.asturm@gentoo
1 commit: 0115733449ace2a81ffc6eaa3ebff033da1bbf34
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Sun Apr 18 12:05:14 2021 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Sun Apr 18 12:05:14 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01157334
7
8 sci-mathematics/yafu: Drop unmaintained live ebuild
9
10 Package-Manager: Portage-3.0.18, Repoman-3.0.3
11 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
12
13 sci-mathematics/yafu/yafu-9999.ebuild | 48 -----------------------------------
14 1 file changed, 48 deletions(-)
15
16 diff --git a/sci-mathematics/yafu/yafu-9999.ebuild b/sci-mathematics/yafu/yafu-9999.ebuild
17 deleted file mode 100644
18 index 76173ba1c42..00000000000
19 --- a/sci-mathematics/yafu/yafu-9999.ebuild
20 +++ /dev/null
21 @@ -1,48 +0,0 @@
22 -# Copyright 1999-2021 Gentoo Authors
23 -# Distributed under the terms of the GNU General Public License v2
24 -
25 -EAPI=5
26 -
27 -inherit subversion versionator
28 -
29 -DESCRIPTION="Yet another factoring utility"
30 -HOMEPAGE="https://sourceforge.net/projects/yafu/"
31 -#SRC_URI="mirror://sourceforge/${PN}/${PV}/${P}-src.zip"
32 -ESVN_REPO_URI="https://svn.code.sf.net/p/yafu/code/"
33 -
34 -SLOT="0"
35 -LICENSE="public-domain"
36 -
37 -DEPEND="
38 - dev-libs/gmp:0=
39 - sci-mathematics/gmp-ecm"
40 -RDEPEND="${DEPEND}"
41 -
42 -src_prepare() {
43 - cd trunk
44 - # This is not nice. But then the Makefile is quite special :)
45 - sed -i -e 's:../gmp/include:gmp:' Makefile || die "Failed to rectify things"
46 - sed -i -e 's:../gmp-ecm/include:gmp-ecm:' Makefile || die "Failed to rectify things"
47 - sed -i -e 's:LIBS += -L../:# LIBS += -L../:g' Makefile || die "Failed to rectify things"
48 - sed -i -e 's:\"config.h\":<gmp-ecm/config.h>:g' top/driver.c || die "Failed to rectify things"
49 - sed -i -e 's:# LIBS += -L../msieve/lib/linux/x86_64:LIBS += -lmsieve -lz -ldl:' Makefile || die "Failed to rectify things"
50 - sed -i -e 's:CFLAGS = -g:#CFLAGS = -g:' Makefile || die "Failed to rectify things"
51 - sed -i -e '/$(LIBS)$/s:$(CC):$(CC) $(LDFLAGS):g' Makefile || die
52 -
53 - # proper ggnfs default path
54 - sed -i -e 's~strcpy(fobj->nfs_obj.ggnfs_dir,"./");~strcpy(fobj->nfs_obj.ggnfs_dir,"/usr/bin/");~' factor/factor_common.c || die "Failed to rectify things"
55 -}
56 -
57 -src_compile() {
58 - local VAR=""
59 - cd trunk
60 - # hmm, not that useful:
61 - #VAR="TIMING=1 "
62 - use amd64 && emake $VAR x86_64
63 - use x86 && emake $VAR x86
64 -}
65 -
66 -src_install() {
67 - dobin "${S}/yafu"
68 - dodoc docfile.txt README yafu.ini
69 -}