summaryrefslogtreecommitdiff
path: root/dev-python/cypari2
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/cypari2')
-rw-r--r--dev-python/cypari2/Manifest5
-rw-r--r--dev-python/cypari2/cypari2-2.2.1.ebuild (renamed from dev-python/cypari2/cypari2-2.1.4-r1.ebuild)17
-rw-r--r--dev-python/cypari2/files/cypari2-2.1.4-regen-bindings-for-each-python.patch40
3 files changed, 8 insertions, 54 deletions
diff --git a/dev-python/cypari2/Manifest b/dev-python/cypari2/Manifest
index 1b75d8adba8f..fe39d26dda4d 100644
--- a/dev-python/cypari2/Manifest
+++ b/dev-python/cypari2/Manifest
@@ -1,7 +1,6 @@
-AUX cypari2-2.1.4-regen-bindings-for-each-python.patch 1337 BLAKE2B e3223252db7834088400d9b1856ef9c15a63e3375847445cdcfd3d8a9e735c1d238e508ff2913825f4a0834e1e4e8b9468151d5bb77a2ed087309d54b183cc7c SHA512 a4588ffa8d9d2ec6e9bcab76876540e5e0da2bb9b56f927825737d030bf938e5fe10f84bca61dc2277f9842bca02db2c87c46c136565e5ef37b2190ce45d9029
AUX cypari2-2.2.0-regen-bindings-for-each-python.patch 884 BLAKE2B 692df0215f33390a964bfad85be740dddebe8b74134eaa12f1df962e39f904f6da09d36e6188cc9c5a6f2ddfe1392f0dcd206b560a42f9ab7d9cc968441bbc3b SHA512 0d05d8c386f5c345bb248abcc5b524e7d46649e583740ecad514947cbf5e2ca46fb8853367d8dcd81a1a336653d29fd82a05359f2daa0caddc243651f8269cba
-DIST cypari2-2.1.4.gh.tar.gz 127038 BLAKE2B 0d4998841a9a630ea062d7096845771a9a250ed66b68f99988ded6442724559089e8dbbce13ef5c6ad467705c65b2ac9fc5889fa9c40b9665083af558280b81a SHA512 b5926281037aebb899c1a433a0ca106cdfafcb8cb7abb863268ff8151dbc52ee21dbe1d09dde632de1640a4cc4d37f59bebb0e379d61ac2fbdf9fffcf3ba4775
DIST cypari2-2.2.0.tar.gz 127530 BLAKE2B 0ce2e3f157d63c20a257b3b7eaf9a06bf241893193bd561c8980ecb38e698b2ca6679a74958a2398944753e6445c1ab5b063b14e408ef0395a9eaf9e0d7cc8db SHA512 5ba237feb1910bd7182a3c3e8e1409209d4f6e68c9f8966c3bd0ad2f6e66193b4dc3006f26fcb507cac7e6d1ee32ec6d5dda612290d8bd3b3350c8243dd89616
-EBUILD cypari2-2.1.4-r1.ebuild 931 BLAKE2B 0ae3872d2e10f7f2a13fc250bf7377985aaa9a6bf873fcb24f83518a3d33d92b83c6b22a3da49488cbd9d44cef2f970553a1d98da3bb4a61cac017aebf302340 SHA512 2dfe1738f94a35e423cf7b23d8e50da1cc50fb7195f63ea2b04e836e4ede13e3ac17f804b0c0f86fc3cb220db2c193b900652fa081ee0639130b8f18697917ab
+DIST cypari2-2.2.1.tar.gz 127323 BLAKE2B 8dc382c54516482516388cdb98ff026938f87fb0b93cddc32ddc0bd6feca2dfd7983cabd0a2c9730bbe5f8eb189a23f4386bbe6325916e505fedfc10052e56e1 SHA512 b5b5c32a321cc8c58f44f9aecabf0a2ece5332596903a98bc6299c3598a247d994b4368318e57ae52e6768dcb1bdb95f152d31f1df378088d3412e22e979341b
EBUILD cypari2-2.2.0.ebuild 725 BLAKE2B 5ae4a6fd243d42ea1931a1efe8a10d2cefa163acf1cc6da1f8521948759c24a5ac9705ceea9fffae8aafa2cbb4354608f076a2bc72950740364c63e3f0be8051 SHA512 5b56e4e978db9fb3d3161b9028e867a456b67f9e921e732ee953a7695a0f7fda48bf7ab28707702ae4e444cf9ba324cef2395df61693729061f4bd3d066147d1
+EBUILD cypari2-2.2.1.ebuild 746 BLAKE2B 82ee6886e3451f36b84bae7ec9d2f9f60ea3e40696f8f83289ae30bb4b68376275437cf67e0cae26dffe58519afc41f5274a669f4e07e2b1cebf1b5d8048e2a3 SHA512 a8e2b6d24fdbd468a0fe344b5507d109646c4c9cfccac4e9ef03b1db9e4a2ee22a707b7c90e147ad2271b1ed3b977d8d56800e8b8cd6024b6579614cc12cc9ff
MISC metadata.xml 763 BLAKE2B bd41f69c681be66fb8d70d606f9dcaf586fd5b37399a1ce9bbb97eb3b2042272f681ed15d9f8e0654b34323672aaff784582a81c28f40e41385450ab233000ab SHA512 c9d7fc5d6ea9f9b4d995710f642aad46d83b3ba3222f089b601d4653e7e79966803c8d0b82683df232e44c2aee79219c4bf3965cff63265bbe480f4dcd03cf02
diff --git a/dev-python/cypari2/cypari2-2.1.4-r1.ebuild b/dev-python/cypari2/cypari2-2.2.1.ebuild
index eecd9596cc46..522686d8c0bb 100644
--- a/dev-python/cypari2/cypari2-2.1.4-r1.ebuild
+++ b/dev-python/cypari2/cypari2-2.2.1.ebuild
@@ -1,32 +1,27 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-PYTHON_COMPAT=( python3_{10..12} )
+PYTHON_COMPAT=( python3_{10..13} )
DISTUTILS_USE_PEP517=standalone
DISTUTILS_EXT=1
-inherit distutils-r1
+inherit distutils-r1 pypi
DESCRIPTION="Cython interface to PARI"
HOMEPAGE="https://github.com/sagemath/cypari2"
-# We're only using Github for v2.1.4 because PyPI is lagging:
-# https://github.com/sagemath/cypari2/issues/143
-SRC_URI="https://github.com/sagemath/${PN}/releases/download/${PV}/${P}.tar.gz -> ${P}.gh.tar.gz"
-
LICENSE="GPL-2+"
SLOT="0"
-KEYWORDS="amd64"
-IUSE=""
+KEYWORDS="~amd64 ~riscv"
-DEPEND="sci-mathematics/pari[gmp,doc]
+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}/${P}-regen-bindings-for-each-python.patch" )
+PATCHES=( "${FILESDIR}/cypari2-2.2.0-regen-bindings-for-each-python.patch" )
python_test(){
cd "${S}"/tests || die
diff --git a/dev-python/cypari2/files/cypari2-2.1.4-regen-bindings-for-each-python.patch b/dev-python/cypari2/files/cypari2-2.1.4-regen-bindings-for-each-python.patch
deleted file mode 100644
index cb9ba55fdd29..000000000000
--- a/dev-python/cypari2/files/cypari2-2.1.4-regen-bindings-for-each-python.patch
+++ /dev/null
@@ -1,40 +0,0 @@
-Ensure that the file auto_paridecl.pxd is both (re)generated with and
-installed for each python implementation.
-
-From 248d26e3e6b1c02fdd3391f033e29d7012189d9e Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Fran=C3=A7ois=20Bissey?= <frp.bissey@gmail.com>
-Date: Tue, 28 Apr 2020 09:42:39 +1200
-Subject: [PATCH] move rebuild out of build_ext so it is run before everything
-
----
- setup.py | 7 ++++---
- 1 file changed, 4 insertions(+), 3 deletions(-)
-
-diff --git a/setup.py b/setup.py
-index 099ed3b..473fe12 100755
---- a/setup.py
-+++ b/setup.py
-@@ -13,6 +13,10 @@ from autogen.paths import include_dirs, library_dirs
-
- ext_kwds = dict(include_dirs=include_dirs(), library_dirs=library_dirs())
-
-+# Generate auto-generated sources from pari.desc
-+# This needs to be done before build/build_ext so the generated pxd is moved
-+# to the build directory and installed with newer setuptools.
-+rebuild()
-
- if "READTHEDOCS" in os.environ:
- # When building with readthedocs, disable optimizations to decrease
-@@ -29,9 +33,6 @@ if "READTHEDOCS" in os.environ:
- # Adapted from Cython's new_build_ext
- class build_ext(_build_ext):
- def finalize_options(self):
-- # Generate auto-generated sources from pari.desc
-- rebuild()
--
- self.directives = {
- "autotestdict.cdef": True,
- "binding": True,
---
-2.26.2
-