commit: a8d9b659f08504394ee1c430279e3787ebb75c22
Author: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 12 01:34:57 2025 +0000
Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Sun Jan 12 01:39:30 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8d9b659
dev-python/cypari2: add 2.2.1
Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org>
dev-python/cypari2/Manifest | 1 +
dev-python/cypari2/cypari2-2.2.1.ebuild | 34 +++++++++++++++++++++++++++++++++
2 files changed, 35 insertions(+)
diff --git a/dev-python/cypari2/Manifest b/dev-python/cypari2/Manifest
index 845145514671..54b933892f6c 100644
--- a/dev-python/cypari2/Manifest
+++ b/dev-python/cypari2/Manifest
@@ -1 +1,2 @@
DIST cypari2-2.2.0.tar.gz 127530 BLAKE2B
0ce2e3f157d63c20a257b3b7eaf9a06bf241893193bd561c8980ecb38e698b2ca6679a74958a2398944753e6445c1ab5b063b14e408ef0395a9eaf9e0d7cc8db
SHA512
5ba237feb1910bd7182a3c3e8e1409209d4f6e68c9f8966c3bd0ad2f6e66193b4dc3006f26fcb507cac7e6d1ee32ec6d5dda612290d8bd3b3350c8243dd89616
+DIST cypari2-2.2.1.tar.gz 127323 BLAKE2B
8dc382c54516482516388cdb98ff026938f87fb0b93cddc32ddc0bd6feca2dfd7983cabd0a2c9730bbe5f8eb189a23f4386bbe6325916e505fedfc10052e56e1
SHA512
b5b5c32a321cc8c58f44f9aecabf0a2ece5332596903a98bc6299c3598a247d994b4368318e57ae52e6768dcb1bdb95f152d31f1df378088d3412e22e979341b
diff --git a/dev-python/cypari2/cypari2-2.2.1.ebuild
b/dev-python/cypari2/cypari2-2.2.1.ebuild
new file mode 100644
index 000000000000..522686d8c0bb
--- /dev/null
+++ b/dev-python/cypari2/cypari2-2.2.1.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
+}