diff options
author | Michał Górny <mgorny@gentoo.org> | 2022-12-07 16:06:36 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2022-12-07 16:59:40 +0100 |
commit | 3b6645c1106e056e9ce08e1eb980ee9f4d824844 (patch) | |
tree | e919ec13231deb0c5a6c2e37fcc6fc117166a48e /dev-python/gmpy | |
parent | dev-python/flatbuffers: Bump to 22.12.06 (diff) | |
download | gentoo-3b6645c1106e056e9ce08e1eb980ee9f4d824844.tar.gz gentoo-3b6645c1106e056e9ce08e1eb980ee9f4d824844.tar.bz2 gentoo-3b6645c1106e056e9ce08e1eb980ee9f4d824844.zip |
dev-python/gmpy: Bump to 2.1.3
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/gmpy')
-rw-r--r-- | dev-python/gmpy/Manifest | 1 | ||||
-rw-r--r-- | dev-python/gmpy/gmpy-2.1.3.ebuild | 40 |
2 files changed, 41 insertions, 0 deletions
diff --git a/dev-python/gmpy/Manifest b/dev-python/gmpy/Manifest index 2306905479d9..fa8b099a6104 100644 --- a/dev-python/gmpy/Manifest +++ b/dev-python/gmpy/Manifest @@ -1 +1,2 @@ DIST gmpy2-2.1.2.tar.gz 258445 BLAKE2B 5fd89478bb7c48c317a7af74fd872e5a9c1141f8f23c110aba7298d1a325caa13e24f1a2e601d6b3c6f6af30d60505f9161a03def16df59dddabe611fb600ef4 SHA512 abfeb0d8a155235e3aa797ca7b34ab6947f0714273e9d381167a9f6273bad34689e1985c139080b146e072b5bfbb4fa2b937566a14f4b94cc09ed21b3f2082b7 +DIST gmpy2-2.1.3.tar.gz 261520 BLAKE2B 4480522da105638521e99a4477285ace5178e6ebd2da2144eba9168da49b8f9ff627030dd2ddb6cc4431bf306c1e48d3ef2b23e193d48315e7e70575ddcc124c SHA512 6759ab52ee9c7abd5a95633d8f42399eb92430b0b2110a7e2db4850d9136f2b41c553a44e5e8c6eb7d44aa68318fd04d43f57b7a8a8af60b5d70140e8d2e2a6f diff --git a/dev-python/gmpy/gmpy-2.1.3.ebuild b/dev-python/gmpy/gmpy-2.1.3.ebuild new file mode 100644 index 000000000000..708409ffeb6a --- /dev/null +++ b/dev-python/gmpy/gmpy-2.1.3.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}" +} |