Install this version:
emerge -a =dev-python/pyamg-5.4.1
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =dev-python/pyamg-5.4.1
Or alternatively:
emerge --autounmask-write -a =dev-python/pyamg-5.4.1
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 5.4.1 | 8 | ~amd64 | 0 |
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_EXT=1
DISTUTILS_USE_PEP517=meson-python
PYPI_VERIFY_REPO=https://github.com/pyamg/pyamg
PYTHON_COMPAT=( python3_{12..14} )
inherit distutils-r1 pypi
DESCRIPTION="Algebraic multigrid solvers in Python"
HOMEPAGE="
https://github.com/pyamg/pyamg/
https://pypi.org/project/pyamg/
"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"
DEPEND="
>=dev-python/pybind11-2.12.0[${PYTHON_USEDEP}]
>=dev-python/numpy-2.0.0[${PYTHON_USEDEP}]
"
RDEPEND="
dev-python/cppheaderparser[${PYTHON_USEDEP}]
>=dev-python/numpy-1.23.5[${PYTHON_USEDEP}]
dev-python/pyyaml[${PYTHON_USEDEP}]
>=dev-python/scipy-1.15.0[${PYTHON_USEDEP}]
"
BDEPEND="
${DEPEND}
dev-python/versioningit[${PYTHON_USEDEP}]
test? (
dev-python/matplotlib[${PYTHON_USEDEP}]
)
"
EPYTEST_PLUGINS=()
distutils_enable_tests pytest
python_test() {
cd "${T}" || die
epytest --pyargs pyamg
}
>=dev-python/pybind11-2.12.0[] >=dev-python/numpy-2.0.0[]
dev-python/cppheaderparser[] >=dev-python/numpy-1.23.5[] dev-python/pyyaml[] >=dev-python/scipy-1.15.0[]
>=dev-python/pybind11-2.12.0[] >=dev-python/numpy-2.0.0[] dev-python/versioningit[] test? ( dev-python/matplotlib[] )