Install this version:
emerge -a =dev-python/pymatgen-io-validation-0.1.2
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =dev-python/pymatgen-io-validation-0.1.2
Or alternatively:
emerge --autounmask-write -a =dev-python/pymatgen-io-validation-0.1.2
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 0.1.2 | 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} )
inherit distutils-r1 pypi
MY_PN="pymatgen_io_validation"
DESCRIPTION="Schema-validation helpers for pymatgen IO classes"
HOMEPAGE="
https://github.com/materialsproject/pymatgen-io-validation/
https://pypi.org/project/pymatgen-io-validation/
"
SRC_URI="$(pypi_sdist_url --no-normalize "${MY_PN}" "${PV}")"
S="${WORKDIR}/${MY_PN}-${PV}"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="
dev-python/pymatgen[${PYTHON_USEDEP}]
dev-python/numpy[${PYTHON_USEDEP}]
dev-python/requests[${PYTHON_USEDEP}]
>=dev-python/pydantic-2.0.1[${PYTHON_USEDEP}]
>=dev-python/pydantic-settings-2.0.0[${PYTHON_USEDEP}]
"
src_prepare() {
# Upstream ships an examples/ tree at the source root that
# find_packages picks up alongside pymatgen/, leaving examples/
# at the top of site-packages and tripping Gentoo's
# stray-top-level-files check.
rm -r examples || die
distutils-r1_src_prepare
}
dev-python/pymatgen[] dev-python/numpy[] dev-python/requests[] >=dev-python/pydantic-2.0.1[] >=dev-python/pydantic-settings-2.0.0[]