1 |
commit: 972b605a4ab98db21610bd9dfc2c8da2d51ceaba |
2 |
Author: Ekaterina Vaartis <vaartis <AT> kotobank <DOT> ch> |
3 |
AuthorDate: Mon May 31 16:11:37 2021 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon May 31 23:53:26 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=972b605a |
7 |
|
8 |
dev-python/gmpy: remove broken mpir useflag |
9 |
|
10 |
Upstream doesn't seem to even support it anymore. |
11 |
|
12 |
Plus, also reformat metadata.xml with tabs |
13 |
|
14 |
Closes: https://bugs.gentoo.org/791124 |
15 |
|
16 |
Signed-off-by: Ekaterina Vaartis <vaartis <AT> kotobank.ch> |
17 |
Closes: https://github.com/gentoo/gentoo/pull/21063 |
18 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
19 |
|
20 |
dev-python/gmpy/gmpy-2.1.0_beta5.ebuild | 12 ++---------- |
21 |
dev-python/gmpy/metadata.xml | 34 ++++++++++++++++----------------- |
22 |
2 files changed, 19 insertions(+), 27 deletions(-) |
23 |
|
24 |
diff --git a/dev-python/gmpy/gmpy-2.1.0_beta5.ebuild b/dev-python/gmpy/gmpy-2.1.0_beta5.ebuild |
25 |
index 739475e74e0..420ebc5367e 100644 |
26 |
--- a/dev-python/gmpy/gmpy-2.1.0_beta5.ebuild |
27 |
+++ b/dev-python/gmpy/gmpy-2.1.0_beta5.ebuild |
28 |
@@ -17,13 +17,12 @@ S="${WORKDIR}"/${MY_P} |
29 |
LICENSE="LGPL-3+" |
30 |
SLOT="2" |
31 |
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" |
32 |
-IUSE="mpir" |
33 |
|
34 |
RDEPEND=" |
35 |
>=dev-libs/mpc-1.0.2:= |
36 |
>=dev-libs/mpfr-3.1.2:= |
37 |
- !mpir? ( dev-libs/gmp:0= ) |
38 |
- mpir? ( sci-libs/mpir:= )" |
39 |
+ dev-libs/gmp:0= |
40 |
+" |
41 |
DEPEND="${RDEPEND}" |
42 |
|
43 |
PATCHES=( |
44 |
@@ -40,13 +39,6 @@ PATCHES=( |
45 |
|
46 |
distutils_enable_sphinx docs |
47 |
|
48 |
-python_configure_all() { |
49 |
- mydistutilsargs=( |
50 |
- # GMP is the default, add mpir if the USE flag is set |
51 |
- $(usex mpir --mpir "") |
52 |
- ) |
53 |
-} |
54 |
- |
55 |
python_test() { |
56 |
cd test || die |
57 |
"${EPYTHON}" runtests.py || die "tests failed under ${EPYTHON}" |
58 |
|
59 |
diff --git a/dev-python/gmpy/metadata.xml b/dev-python/gmpy/metadata.xml |
60 |
index 1c3638694bf..fd738a835d7 100644 |
61 |
--- a/dev-python/gmpy/metadata.xml |
62 |
+++ b/dev-python/gmpy/metadata.xml |
63 |
@@ -1,21 +1,21 @@ |
64 |
<?xml version="1.0" encoding="UTF-8"?> |
65 |
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
66 |
<pkgmetadata> |
67 |
- <maintainer type="project"> |
68 |
- <email>python@g.o</email> |
69 |
- <name>Python</name> |
70 |
- </maintainer> |
71 |
- <longdescription lang="en"> |
72 |
- gmpy2 is a C-coded Python extension module that supports |
73 |
- multiple-precision arithmetic. gmpy2 supports the GMP multi-precision |
74 |
- library, the MPFR (correctly rounded real floating-point arithmetic) and MPC |
75 |
- (correctly rounded complex floating-point arithmetic) libraries. |
76 |
-</longdescription> |
77 |
- <upstream> |
78 |
- <remote-id type="pypi">gmpy2</remote-id> |
79 |
- <remote-id type="github">aleaxit/gmpy</remote-id> |
80 |
- </upstream> |
81 |
- <use> |
82 |
- <flag name="mpir">Use <pkg>sci-libs/mpir</pkg> as gmp implementation</flag> |
83 |
- </use> |
84 |
+ <maintainer type="project"> |
85 |
+ <email>python@g.o</email> |
86 |
+ <name>Python</name> |
87 |
+ </maintainer> |
88 |
+ <longdescription lang="en"> |
89 |
+ gmpy2 is a C-coded Python extension module that supports |
90 |
+ multiple-precision arithmetic. gmpy2 supports the GMP multi-precision |
91 |
+ library, the MPFR (correctly rounded real floating-point arithmetic) and MPC |
92 |
+ (correctly rounded complex floating-point arithmetic) libraries. |
93 |
+ </longdescription> |
94 |
+ <use> |
95 |
+ <flag name="mpir">Use <pkg>sci-libs/mpir</pkg> as gmp implementation</flag> |
96 |
+ </use> |
97 |
+ <upstream> |
98 |
+ <remote-id type="pypi">gmpy2</remote-id> |
99 |
+ <remote-id type="github">aleaxit/gmpy</remote-id> |
100 |
+ </upstream> |
101 |
</pkgmetadata> |