summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEkaterina Vaartis <vaartis@kotobank.ch>2021-05-31 19:11:37 +0300
committerSam James <sam@gentoo.org>2021-05-31 23:53:26 +0000
commit972b605a4ab98db21610bd9dfc2c8da2d51ceaba (patch)
tree5d714a0920e01921d56c713a00a1584397ba1047 /dev-python/gmpy
parentsys-fs/fuse: Stabilize 3.10.3 sparc, #793362 (diff)
downloadgentoo-972b605a4ab98db21610bd9dfc2c8da2d51ceaba.tar.gz
gentoo-972b605a4ab98db21610bd9dfc2c8da2d51ceaba.tar.bz2
gentoo-972b605a4ab98db21610bd9dfc2c8da2d51ceaba.zip
dev-python/gmpy: remove broken mpir useflag
Upstream doesn't seem to even support it anymore. Plus, also reformat metadata.xml with tabs Closes: https://bugs.gentoo.org/791124 Signed-off-by: Ekaterina Vaartis <vaartis@kotobank.ch> Closes: https://github.com/gentoo/gentoo/pull/21063 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-python/gmpy')
-rw-r--r--dev-python/gmpy/gmpy-2.1.0_beta5.ebuild12
-rw-r--r--dev-python/gmpy/metadata.xml34
2 files changed, 19 insertions, 27 deletions
diff --git a/dev-python/gmpy/gmpy-2.1.0_beta5.ebuild b/dev-python/gmpy/gmpy-2.1.0_beta5.ebuild
index 739475e74e0a..420ebc5367e4 100644
--- a/dev-python/gmpy/gmpy-2.1.0_beta5.ebuild
+++ b/dev-python/gmpy/gmpy-2.1.0_beta5.ebuild
@@ -17,13 +17,12 @@ S="${WORKDIR}"/${MY_P}
LICENSE="LGPL-3+"
SLOT="2"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
-IUSE="mpir"
RDEPEND="
>=dev-libs/mpc-1.0.2:=
>=dev-libs/mpfr-3.1.2:=
- !mpir? ( dev-libs/gmp:0= )
- mpir? ( sci-libs/mpir:= )"
+ dev-libs/gmp:0=
+"
DEPEND="${RDEPEND}"
PATCHES=(
@@ -40,13 +39,6 @@ PATCHES=(
distutils_enable_sphinx docs
-python_configure_all() {
- mydistutilsargs=(
- # GMP is the default, add mpir if the USE flag is set
- $(usex mpir --mpir "")
- )
-}
-
python_test() {
cd test || die
"${EPYTHON}" runtests.py || die "tests failed under ${EPYTHON}"
diff --git a/dev-python/gmpy/metadata.xml b/dev-python/gmpy/metadata.xml
index 1c3638694bff..fd738a835d7c 100644
--- a/dev-python/gmpy/metadata.xml
+++ b/dev-python/gmpy/metadata.xml
@@ -1,21 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <maintainer type="project">
- <email>python@gentoo.org</email>
- <name>Python</name>
- </maintainer>
- <longdescription lang="en">
- gmpy2 is a C-coded Python extension module that supports
- multiple-precision arithmetic. gmpy2 supports the GMP multi-precision
- library, the MPFR (correctly rounded real floating-point arithmetic) and MPC
- (correctly rounded complex floating-point arithmetic) libraries.
-</longdescription>
- <upstream>
- <remote-id type="pypi">gmpy2</remote-id>
- <remote-id type="github">aleaxit/gmpy</remote-id>
- </upstream>
- <use>
- <flag name="mpir">Use <pkg>sci-libs/mpir</pkg> as gmp implementation</flag>
- </use>
+ <maintainer type="project">
+ <email>python@gentoo.org</email>
+ <name>Python</name>
+ </maintainer>
+ <longdescription lang="en">
+ gmpy2 is a C-coded Python extension module that supports
+ multiple-precision arithmetic. gmpy2 supports the GMP multi-precision
+ library, the MPFR (correctly rounded real floating-point arithmetic) and MPC
+ (correctly rounded complex floating-point arithmetic) libraries.
+ </longdescription>
+ <use>
+ <flag name="mpir">Use <pkg>sci-libs/mpir</pkg> as gmp implementation</flag>
+ </use>
+ <upstream>
+ <remote-id type="pypi">gmpy2</remote-id>
+ <remote-id type="github">aleaxit/gmpy</remote-id>
+ </upstream>
</pkgmetadata>