dev-python/pyamg: Bump to 5.3.0

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2025-08-25 07:38:43 +02:00
parent af7dfc347e
commit 694aa6e265
3 changed files with 60 additions and 3 deletions

View File

@@ -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

View File

@@ -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/
"

View File

@@ -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
}