summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2022-12-12 15:39:22 +0100
committerMichał Górny <mgorny@gentoo.org>2022-12-12 16:33:12 +0100
commit89fe77b78e35f17fa3009d2f5a1378bd7c9e8d46 (patch)
tree253b134d418a2f6346b8d8a8fedc36e75dba9d12 /dev-python/gmpy
parentdev-python/shapely: Bump to 2.0.0 (diff)
downloadgentoo-89fe77b78e35f17fa3009d2f5a1378bd7c9e8d46.tar.gz
gentoo-89fe77b78e35f17fa3009d2f5a1378bd7c9e8d46.tar.bz2
gentoo-89fe77b78e35f17fa3009d2f5a1378bd7c9e8d46.zip
dev-python/gmpy: Bump to 2.1.4
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/gmpy')
-rw-r--r--dev-python/gmpy/Manifest1
-rw-r--r--dev-python/gmpy/gmpy-2.1.4.ebuild40
2 files changed, 41 insertions, 0 deletions
diff --git a/dev-python/gmpy/Manifest b/dev-python/gmpy/Manifest
index fa8b099a6104..c4235ba2db5e 100644
--- a/dev-python/gmpy/Manifest
+++ b/dev-python/gmpy/Manifest
@@ -1,2 +1,3 @@
DIST gmpy2-2.1.2.tar.gz 258445 BLAKE2B 5fd89478bb7c48c317a7af74fd872e5a9c1141f8f23c110aba7298d1a325caa13e24f1a2e601d6b3c6f6af30d60505f9161a03def16df59dddabe611fb600ef4 SHA512 abfeb0d8a155235e3aa797ca7b34ab6947f0714273e9d381167a9f6273bad34689e1985c139080b146e072b5bfbb4fa2b937566a14f4b94cc09ed21b3f2082b7
DIST gmpy2-2.1.3.tar.gz 261520 BLAKE2B 4480522da105638521e99a4477285ace5178e6ebd2da2144eba9168da49b8f9ff627030dd2ddb6cc4431bf306c1e48d3ef2b23e193d48315e7e70575ddcc124c SHA512 6759ab52ee9c7abd5a95633d8f42399eb92430b0b2110a7e2db4850d9136f2b41c553a44e5e8c6eb7d44aa68318fd04d43f57b7a8a8af60b5d70140e8d2e2a6f
+DIST gmpy2-2.1.4.tar.gz 261649 BLAKE2B 7ddb02522d8f401f17dd664586623fa7fc2da448948515aac49b02a4ac46ca4f3ab74ab87594bf2c0ab3862832293c1a6f271e5a6afeeb0845890bc0b9ee27e8 SHA512 a71ddcd70b33a83a81a88c893337844dc1e4cfd058ff2236d53568f81c654079489e17c19f22a63fb08670c7254821d92778d9b9c33415467b6ed4634ff598cb
diff --git a/dev-python/gmpy/gmpy-2.1.4.ebuild b/dev-python/gmpy/gmpy-2.1.4.ebuild
new file mode 100644
index 000000000000..708409ffeb6a
--- /dev/null
+++ b/dev-python/gmpy/gmpy-2.1.4.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..11} )
+
+inherit distutils-r1
+
+MY_PN="${PN}2"
+MY_P="${MY_PN}-${PV/_beta/b}"
+
+DESCRIPTION="Python bindings for GMP, MPC, MPFR and MPIR libraries"
+HOMEPAGE="
+ https://github.com/aleaxit/gmpy/
+ https://pypi.org/project/gmpy2/
+"
+SRC_URI="mirror://pypi/${PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
+S=${WORKDIR}/${MY_P}
+
+LICENSE="LGPL-3+"
+SLOT="2"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
+
+DEPEND="
+ >=dev-libs/mpc-1.0.2:=
+ >=dev-libs/mpfr-3.1.2:=
+ dev-libs/gmp:0=
+"
+RDEPEND="
+ ${DEPEND}
+"
+
+distutils_enable_sphinx docs
+
+python_test() {
+ cd test || die
+ "${EPYTHON}" runtests.py || die "tests failed under ${EPYTHON}"
+}