commit: 3072366dd55ae9eaf1b5599bd8ea8927e27faf13 Author: Pavel Sobolev <contact <AT> paveloom <DOT> dev> AuthorDate: Mon Mar 16 17:37:37 2026 +0000 Commit: Pavel Sobolev <contact <AT> paveloom <DOT> dev> CommitDate: Mon Mar 16 18:52:29 2026 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3072366d
dev-python/toml: new package, add 0.10.2 Signed-off-by: Pavel Sobolev <contact <AT> paveloom.dev> dev-python/toml/Manifest | 1 + dev-python/toml/metadata.xml | 13 +++++++++++++ dev-python/toml/toml-0.10.2.ebuild | 36 ++++++++++++++++++++++++++++++++++++ 3 files changed, 50 insertions(+) diff --git a/dev-python/toml/Manifest b/dev-python/toml/Manifest new file mode 100644 index 0000000000..7ec297e4a1 --- /dev/null +++ b/dev-python/toml/Manifest @@ -0,0 +1 @@ +DIST toml-0.10.2.gh.tar.gz 23325 BLAKE2B dedab7d08dadca963e62d64e9108e254dd73b78761985faa892792823027befc6473ae02c35c275a216b4544d1af8776afa78e39c63c95eb856e2bccf1de49c4 SHA512 5c706a3ae336e6b29bdce9752b91c677f7610cbcc1af4169cc24779e248031406cd19ac367725b2aa7903e4b1db71fa59255238c0270b2c146fd5d7e12d9a5da diff --git a/dev-python/toml/metadata.xml b/dev-python/toml/metadata.xml new file mode 100644 index 0000000000..32487634ae --- /dev/null +++ b/dev-python/toml/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <name>Pavel Sobolev</name> + <email>[email protected]</email> + </maintainer> + <upstream> + <bugs-to>https://github.com/uiri/toml/issues</bugs-to> + <remote-id type="github">uiri/toml</remote-id> + <remote-id type="pypi">toml</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/toml/toml-0.10.2.ebuild b/dev-python/toml/toml-0.10.2.ebuild new file mode 100644 index 0000000000..6a730982e3 --- /dev/null +++ b/dev-python/toml/toml-0.10.2.ebuild @@ -0,0 +1,36 @@ +# 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 + +DESCRIPTION="Python library for TOML" +HOMEPAGE=" + https://github.com/uiri/toml + https://pypi.org/project/toml/ +" +SRC_URI="https://github.com/uiri/toml/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND="dev-python/numpy[${PYTHON_USEDEP}]" + +EPYTEST_DESELECT=( + tests/test_api.py::test_invalid_tests + tests/test_api.py::test_valid_tests +) + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest + +src_install() { + distutils-r1_src_install + + dodoc LICENSE +}
