summaryrefslogtreecommitdiff
path: root/dev-python
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2025-08-25 07:38:43 +0200
committerMichał Górny <mgorny@gentoo.org>2025-08-25 14:53:38 +0200
commit694aa6e265517bd02ef060f1e9365cd93ffcadce (patch)
tree9e87853b093f5b744340349011be046100d521ee /dev-python
parentaf7dfc347e6433df1a01534a416ee92b420c8c56 (diff)
downloadgentoo-694aa6e265517bd02ef060f1e9365cd93ffcadce.tar.gz
gentoo-694aa6e265517bd02ef060f1e9365cd93ffcadce.tar.bz2
gentoo-694aa6e265517bd02ef060f1e9365cd93ffcadce.zip
dev-python/pyamg: Bump to 5.3.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/pyamg/Manifest1
-rw-r--r--dev-python/pyamg/pyamg-5.2.1.ebuild5
-rw-r--r--dev-python/pyamg/pyamg-5.3.0.ebuild57
3 files changed, 60 insertions, 3 deletions
diff --git a/dev-python/pyamg/Manifest b/dev-python/pyamg/Manifest
index cfb22e412993..423302dfe0ab 100644
--- a/dev-python/pyamg/Manifest
+++ b/dev-python/pyamg/Manifest
@@ -1 +1,2 @@
DIST pyamg-5.2.1.gh.tar.gz 4133340 BLAKE2B 04bb2a5bbcd76eed651512634670ea76359fe779c17ea50c2272d7a9656a348c94b6748efaf24f189219bc467c85418e0d6252ac809f4feb269059ee732b2ea6 SHA512 469a5675bb65ff9eadfdbf344c35cb01bebe09c987b493aaeaf5aa98273ebd8071534e25edac82ffc26f39eb3877e1a69cd2a3894de70bcb5396b6cf723aa3b6
+DIST pyamg-5.3.0.gh.tar.gz 4148527 BLAKE2B ee759f86474aab91a7774afade01b4647943a790cf2e1148d24f01e26b9be61c29df29cac2a6b62aa62d2428786f3cfa26c957c0fd5972b4e0c8eab1dad06c1d SHA512 f2e11705cfbcd28a59a7ec226eb9d5f4ef978adb9104953c6f5f01868d82c9e4f7605ecc57664e467cf78733f5ebc2ec80859a7136cd5c1c4351c603a978a5fc
diff --git a/dev-python/pyamg/pyamg-5.2.1.ebuild b/dev-python/pyamg/pyamg-5.2.1.ebuild
index 58bcf8ddb947..040de2c387fb 100644
--- a/dev-python/pyamg/pyamg-5.2.1.ebuild
+++ b/dev-python/pyamg/pyamg-5.2.1.ebuild
@@ -1,17 +1,16 @@
-# Copyright 1999-2024 Gentoo Authors
+# 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
-PYTHON_COMPAT=( python3_{10..12} )
+PYTHON_COMPAT=( python3_{11..12} )
inherit distutils-r1
DESCRIPTION="Algebraic multigrid solvers in Python"
HOMEPAGE="
- https://www.pyamg.org/
https://github.com/pyamg/pyamg/
https://pypi.org/project/pyamg/
"
diff --git a/dev-python/pyamg/pyamg-5.3.0.ebuild b/dev-python/pyamg/pyamg-5.3.0.ebuild
new file mode 100644
index 000000000000..a0fd276b8c39
--- /dev/null
+++ b/dev-python/pyamg/pyamg-5.3.0.ebuild
@@ -0,0 +1,57 @@
+# 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
+PYTHON_COMPAT=( python3_{11..12} )
+
+inherit distutils-r1
+
+DESCRIPTION="Algebraic multigrid solvers in Python"
+HOMEPAGE="
+ https://github.com/pyamg/pyamg/
+ https://pypi.org/project/pyamg/
+"
+SRC_URI="
+ https://github.com/pyamg/pyamg/archive/v${PV}.tar.gz
+ -> ${P}.gh.tar.gz
+"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+
+DEPEND="
+ dev-python/pybind11[${PYTHON_USEDEP}]
+ dev-python/numpy[${PYTHON_USEDEP}]
+"
+RDEPEND="
+ dev-python/cppheaderparser[${PYTHON_USEDEP}]
+ dev-python/numpy[${PYTHON_USEDEP}]
+ dev-python/pyyaml[${PYTHON_USEDEP}]
+ >=dev-python/scipy-1.11.0[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ ${DEPEND}
+ >=dev-python/setuptools-scm-7.0.0[${PYTHON_USEDEP}]
+ test? (
+ dev-python/matplotlib[${PYTHON_USEDEP}]
+ )
+"
+
+EPYTEST_PLUGINS=()
+distutils_enable_tests pytest
+
+src_prepare() {
+ distutils-r1_src_prepare
+
+ # invalid with >=setuptools-scm-9
+ sed -i -e '/version =/d' setup.cfg || die
+}
+
+python_test() {
+ cd "${T}" || die
+ epytest --pyargs pyamg
+}