1 |
commit: 8c7da7cc0a7a42cc82475a54a18b80c574ee8cc8 |
2 |
Author: Michael Orlitzky <mjo <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jun 15 00:22:50 2021 +0000 |
4 |
Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jun 15 00:40:54 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c7da7cc |
7 |
|
8 |
sci-mathematics/gmp-ecm: remove old "unused" gmp-ecm-7.0.4-r3.ebuild. |
9 |
|
10 |
Closes: https://bugs.gentoo.org/795819 |
11 |
Closes: https://github.com/gentoo/gentoo/pull/21244 |
12 |
Package-Manager: Portage-3.0.18, Repoman-3.0.2 |
13 |
Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org> |
14 |
|
15 |
sci-mathematics/gmp-ecm/gmp-ecm-7.0.4-r3.ebuild | 57 ------------------------- |
16 |
1 file changed, 57 deletions(-) |
17 |
|
18 |
diff --git a/sci-mathematics/gmp-ecm/gmp-ecm-7.0.4-r3.ebuild b/sci-mathematics/gmp-ecm/gmp-ecm-7.0.4-r3.ebuild |
19 |
deleted file mode 100644 |
20 |
index f36a15f13d2..00000000000 |
21 |
--- a/sci-mathematics/gmp-ecm/gmp-ecm-7.0.4-r3.ebuild |
22 |
+++ /dev/null |
23 |
@@ -1,57 +0,0 @@ |
24 |
-# Copyright 1999-2021 Gentoo Authors |
25 |
-# Distributed under the terms of the GNU General Public License v2 |
26 |
- |
27 |
-EAPI=7 |
28 |
- |
29 |
-inherit flag-o-matic toolchain-funcs |
30 |
- |
31 |
-MY_PN="ecm" |
32 |
-MY_P="${MY_PN}-${PV}" |
33 |
-DESCRIPTION="Elliptic Curve Method for Integer Factorization" |
34 |
-HOMEPAGE="https://gitlab.inria.fr/zimmerma/ecm" |
35 |
-SRC_URI="https://gitlab.inria.fr/zimmerma/ecm/uploads/9cd422ec80268f8a885e499e17f98056/${MY_P}.tar.gz" |
36 |
- |
37 |
-LICENSE="GPL-3 LGPL-3" |
38 |
-SLOT="0" |
39 |
-KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~ppc-macos ~x64-macos" |
40 |
-IUSE="+custom-tune openmp static-libs cpu_flags_x86_sse2" |
41 |
- |
42 |
-DEPEND="dev-libs/gmp:=" |
43 |
-RDEPEND="${DEPEND}" |
44 |
- |
45 |
-PATCHES=( |
46 |
- "${FILESDIR}"/${PN}-7.0.4-openmp.patch |
47 |
-) |
48 |
- |
49 |
-S="${WORKDIR}/${MY_P}" |
50 |
- |
51 |
-pkg_pretend() { |
52 |
- use openmp && tc-check-openmp |
53 |
-} |
54 |
- |
55 |
-src_compile() { |
56 |
- default |
57 |
- if use custom-tune; then |
58 |
- # One "emake" was needed to build the library. Now we can find |
59 |
- # the best set of parameters, and then run "emake" one more time |
60 |
- # to rebuild the library with the custom parameters. See the |
61 |
- # project's README or INSTALL-ecm. The build targets don't depend |
62 |
- # on ecm-params.h, so we need to "make clean" to force a rebuild. |
63 |
- emake ecm-params && emake clean && emake |
64 |
- fi |
65 |
-} |
66 |
-src_configure() { |
67 |
- econf \ |
68 |
- --enable-shared \ |
69 |
- $(use_enable static-libs static) \ |
70 |
- $(use_enable openmp) \ |
71 |
- $(use_enable cpu_flags_x86_sse2 sse2) \ |
72 |
- $(use_enable custom-tune asm-redc) |
73 |
-} |
74 |
- |
75 |
-src_install() { |
76 |
- default |
77 |
- |
78 |
- # remove .la file |
79 |
- find "${ED}" -name '*.la' -delete || die |
80 |
-} |