commit:     1f0553aa466deb9d52e45b7fb8392ef0acc3a482
Author:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Mon Jun  2 12:04:34 2025 +0000
Commit:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Mon Jun  2 12:04:57 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1f0553aa

dev-python/cypari2: add 2.2.2

Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org>

 dev-python/cypari2/Manifest             |  1 +
 dev-python/cypari2/cypari2-2.2.2.ebuild | 34 +++++++++++++++++++++++++++++++++
 2 files changed, 35 insertions(+)

diff --git a/dev-python/cypari2/Manifest b/dev-python/cypari2/Manifest
index cf19746cdd96..e25980459f1f 100644
--- a/dev-python/cypari2/Manifest
+++ b/dev-python/cypari2/Manifest
@@ -1 +1,2 @@
 DIST cypari2-2.2.1.tar.gz 127323 BLAKE2B 
8dc382c54516482516388cdb98ff026938f87fb0b93cddc32ddc0bd6feca2dfd7983cabd0a2c9730bbe5f8eb189a23f4386bbe6325916e505fedfc10052e56e1
 SHA512 
b5b5c32a321cc8c58f44f9aecabf0a2ece5332596903a98bc6299c3598a247d994b4368318e57ae52e6768dcb1bdb95f152d31f1df378088d3412e22e979341b
+DIST cypari2-2.2.2.tar.gz 127375 BLAKE2B 
01481a74c892fdfab1192a1f7cd50fcb73bdbb59d8c3f15a23c01f3c17a55099c0f20d867f065a2007c53b4c0635880899550c252abe4171f6dfc61ccbfb6531
 SHA512 
b9f1d7aaba5fca71a78a41b10a7f98b61d0e0076d73f97c3fda003b81260e5f8f79c6489d8c75a7d12ea8c2715fe45cb6687984b4b448d1c6b2d3ee9616791db

diff --git a/dev-python/cypari2/cypari2-2.2.2.ebuild 
b/dev-python/cypari2/cypari2-2.2.2.ebuild
new file mode 100644
index 000000000000..522686d8c0bb
--- /dev/null
+++ b/dev-python/cypari2/cypari2-2.2.2.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..13} )
+DISTUTILS_USE_PEP517=standalone
+DISTUTILS_EXT=1
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Cython interface to PARI"
+HOMEPAGE="https://github.com/sagemath/cypari2";
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~riscv"
+
+DEPEND=">=sci-mathematics/pari-2.17.1:=[gmp,doc]
+       dev-python/cysignals[${PYTHON_USEDEP}]"
+RDEPEND="${DEPEND}"
+BDEPEND=">=dev-python/cython-3[${PYTHON_USEDEP}]"
+
+PATCHES=( "${FILESDIR}/cypari2-2.2.0-regen-bindings-for-each-python.patch" )
+
+python_test(){
+       cd "${S}"/tests || die
+       "${EPYTHON}" rundoctest.py || die
+}
+
+python_install() {
+       distutils-r1_python_install
+       python_optimize
+}

Reply via email to