commit: 948e6d8bfa0d8be20262ef64bd96d4718902d968
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 24 02:51:28 2025 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Aug 24 02:53:58 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=948e6d8b
dev-python/gmpy2: Bump to 2.3.0_alpha1
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/gmpy2/Manifest | 1 +
dev-python/gmpy2/gmpy2-2.3.0_alpha1.ebuild | 44 ++++++++++++++++++++++++++++++
2 files changed, 45 insertions(+)
diff --git a/dev-python/gmpy2/Manifest b/dev-python/gmpy2/Manifest
index 0438447f5105..b97be8bd6e79 100644
--- a/dev-python/gmpy2/Manifest
+++ b/dev-python/gmpy2/Manifest
@@ -1 +1,2 @@
DIST gmpy2-2.2.1.tar.gz 234228 BLAKE2B
80188c6abd30ee5b5ebc4d233d3d97dd78be7f9d21d0649429e87b23d3e6d8b5b9269c792d481f24bd3b43d28e012bdd64ee6bb5d0137e3ac759742c845186c1
SHA512
2a3dc011295a373e10455e1f133aa3063cff24cdac0151cee9f29ce5855c3e44c3e3aab61bf13c11c9df1147b9183c6c387db1cb4dcb270b9dce1a9cb521f5dc
+DIST gmpy2-2.3.0a1.tar.gz 244673 BLAKE2B
83ea701d248c610d9b9bc592e45e7cad4e5b8f73c916e05cde700e76e224cb9d40208d7cdf208c1862aa511708c5059f5dba007f1cfbf27cdf7f4a3259f9061a
SHA512
caf0ac50e07b62e403c137311c8dff8b2a13c2da43817ec575454e5c6f423ff2ddb73b16f48cc42b54bbf589ca6ae8dd260a911929c7c0736b4a7b2ee840cf31
diff --git a/dev-python/gmpy2/gmpy2-2.3.0_alpha1.ebuild
b/dev-python/gmpy2/gmpy2-2.3.0_alpha1.ebuild
new file mode 100644
index 000000000000..7601d112d64d
--- /dev/null
+++ b/dev-python/gmpy2/gmpy2-2.3.0_alpha1.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_EXT=1
+DISTUTILS_USE_PEP517=setuptools
+PYPI_PN="gmpy2"
+PYTHON_COMPAT=( python3_{11..14} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Python bindings for GMP, MPC, MPFR and MPIR libraries"
+HOMEPAGE="
+ https://github.com/aleaxit/gmpy/
+ https://pypi.org/project/gmpy2/
+"
+
+LICENSE="LGPL-3+"
+SLOT="2"
+
+DEPEND="
+ >=dev-libs/mpc-1.0.2:=
+ >=dev-libs/mpfr-3.1.2:=
+ dev-libs/gmp:0=
+"
+RDEPEND="
+ ${DEPEND}
+"
+BDEPEND="
+ test? (
+ dev-python/mpmath[${PYTHON_USEDEP}]
+ dev-python/numpy[${PYTHON_USEDEP}]
+ )
+"
+
+EPYTEST_PLUGINS=( hypothesis )
+EPYTEST_XDIST=1
+distutils_enable_tests pytest
+
+python_test() {
+ rm -rf gmpy2 || die
+ epytest
+}