Install this version:
emerge -a =dev-python/petsc4py-3.26.0
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =dev-python/petsc4py-3.26.0
Or alternatively:
emerge --autounmask-write -a =dev-python/petsc4py-3.26.0
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 3.26.0 | 8 | ~amd64 | 0 |
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{12..14} )
DISTUTILS_EXT=1
inherit distutils-r1
DESCRIPTION="A suite of data structures and routines for the scalable (parallel) solution of scientific applications modeled by partial differential equations"
HOMEPAGE="https://gitlab.com/petsc/petsc"
SRC_URI="https://web.cels.anl.gov/projects/petsc/download/release-snapshots/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="
dev-python/numpy[${PYTHON_USEDEP}]
dev-python/mpi4py[${PYTHON_USEDEP}]
~sci-mathematics/petsc-${PV}
dev-python/cython[${PYTHON_USEDEP}]
"
dev-python/numpy[] dev-python/mpi4py[] ~sci-mathematics/petsc-3.26.0 dev-python/cython[]
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | petsc4py-3.26.0.tar.gz | 524118 bytes | https://web.cels.anl.gov/projects/petsc/download/release-snapshots/petsc4py-3.26.0.tar.gz |