dev-python/pymatgen - 2026.5.4 (stuff)

Search

Install

Install this version:

emerge -a =dev-python/pymatgen-2026.5.4

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =dev-python/pymatgen-2026.5.4

Or alternatively:

emerge --autounmask-write -a =dev-python/pymatgen-2026.5.4

Package Information

Description:
Python Materials Genomics (umbrella shim over pymatgen-core)
Homepage:
https://github.com/materialsproject/pymatgen/ https://pypi.org/project/pymatgen/
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
2026.5.4 8 ~amd64 0
View Raw Ebuild
# 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

DESCRIPTION="Python Materials Genomics (umbrella shim over pymatgen-core)"
HOMEPAGE="
	https://github.com/materialsproject/pymatgen/
	https://pypi.org/project/pymatgen/
"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"

RDEPEND="
	>=dev-python/pymatgen-core-2026.4.16[${PYTHON_USEDEP}]
"

src_prepare() {
	# Upstream finished the split: phase_diagram, chempot_diagram, and
	# reaction_calculator now live exclusively in pymatgen-core (no longer
	# shipped in this sdist). The pmg CLI entry still leaks though, so drop
	# it to keep pymatgen-core as the canonical CLI provider.
	sed -i -e '/^pmg = "pymatgen\.cli\.pmg:main"$/d' pyproject.toml || die
	distutils-r1_src_prepare
}

Inherited Eclasses

Dependencies

RDEPEND

	>=dev-python/pymatgen-core-2026.4.16[]