gpo.zugaina.org

Search Portage & Overlays:

dev-python/mp-api

Client library for accessing the new Materials Project API

Screenshots

  • mp-api-0.46.1
    ~amd64
    python_single_target_python3_12 python_single_target_python3_13 python_single_target_python3_14

    View      Download      Browse     License: BSD   
    Overlay: stuff
  • mp-api-0.46.0
    ~amd64
    python_single_target_python3_12 python_single_target_python3_13 python_single_target_python3_14

    View      Download      Browse     License: BSD   
    Overlay: stuff

ChangeLog

commit 365c8d901cfe9ba045b34b5b97a95c68c45c938d
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Sun May 10 21:10:25 2026 +0200

dev-python/mp-api: switch to DISTUTILS_SINGLE_IMPL

dev-python/{pymatgen,emmet-core} are now SINGLE_IMPL; multi-impl
consumer with bare $ on them produces
python_targets_python3_*(-)? that the single-impl children can't expose.
Convert both versions; SINGLE_IMPL pair on bare $,
multi-impl deps wrapped in python_gen_cond_dep.

commit 52c9a04c1705457bd082e828a8f4aaeb3f8995fc
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Tue May 5 09:24:05 2026 +0200

dev-python/mp-api: bump to 0.46.1

Upstream tightens pymatgen floor to >2024.2.20, switches emmet-core constraint to
>=0.86.4,<0.86.5, and adds two new mandatory deps: dev-python/pyarrow (>=20) and dev-
python/deltalake (>=1.4.0). The deltalake stack (deltalake + arro3-core) was added to
this overlay in the two preceding commits.

commit 92cc8000c8e38dbf069b68ca217af0873dcad1e4
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Wed Apr 22 22:31:20 2026 +0200

*/*: normalize personal-maintainer metadata.xml

Unify the three styles that had accumulated across the overlay
(pf-sources-style tab+email-only, bidict-style 2-space+name,
plus a handful of one-off indents) onto a single canonical form:

- DTD URL on https
- 2-space indentation
- <maintainer type="person"> with both <email> and
<name>Ivan S. Titov</name>

Only the Titov maintainer block is touched; co-maintainers and
::gentoo proxy-project maintainers in forked packages are left
as-is. 66 files changed; pkgcheck scan identical before and
after.

commit d4004d888c88dd86888389a0cbf9ebe993c822cc
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Wed Apr 22 12:20:16 2026 +0200

dev-python/mp-api: document accepted orjson DeprecatedDep

Add an XML comment to metadata.xml explaining why the
dev-python/orjson DeprecatedDep warning is accepted policy
rather than a bug:

- Upstream mp-api hard-requires orjson in requires_dist
(>=3.10,<4) and uses it pervasively; it is not a drop-in
for stdlib json (bytes output, native datetime/numpy).
- ::gentoo soft-deprecated orjson on 2026-04-01 (upstream
abandoned, heavy unsafe Rust) but it is still installable.

Future pkgcheck runs can leave the warning flagged; the comment
now makes the "known and accepted" status discoverable from the
package itself.

commit 11c41c54b9e03f9e943cd47fffe070ae51c34be2
Author: Ivan S. Titov <iohann.s.titov@gmail.com>
Date: Tue Apr 21 17:39:07 2026 +0200

dev-python/mp-api: new package, add 0.46.0

Client library for the Materials Project REST API. Mandatory dep of
dev-python/larixite (xraylarch 2026.x's new dep).

RESTRICT=test because upstream's test suite talks to
api.materialsproject.org over the network and requires an MP_API_KEY
env var; not usable at package build time.

Sdist uses the underscore form (mp_api-*.tar.gz); handle via MY_PN
+ pypi_sdist_url --no-normalize.

Tested: `ebuild ... clean compile install` is clean, only upstream's
pyproject-TOML-license deprecation warning.

Signed-off-by: Raukaan Cogbrother <cogbrother@raukaan.local>