diff --git a/sdk_container/src/third_party/portage-stable/dev-python/tomli-w/Manifest b/sdk_container/src/third_party/portage-stable/dev-python/tomli-w/Manifest new file mode 100644 index 0000000000..93f0e4a757 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/dev-python/tomli-w/Manifest @@ -0,0 +1 @@ +DIST tomli-w-1.2.0.gh.tar.gz 65320 BLAKE2B d48174d177a5ed13880ba8c9c6beefae8ed43b0a3539441ecc17aa32af07428d9f7d2c2d185264a20f27ab2ab9b5085b91da120e49dfc17a0cf36b590ebfa81b SHA512 d7b5888d7e60eda701c4d3d02189b9e26467a647ed4e09f55ee325c6d62618de6a6b299de522d105decaee68fb9804968c59d4c911bdfb7520a0beb6c05f432b diff --git a/sdk_container/src/third_party/portage-stable/dev-python/tomli-w/metadata.xml b/sdk_container/src/third_party/portage-stable/dev-python/tomli-w/metadata.xml new file mode 100644 index 0000000000..7a20d26108 --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/dev-python/tomli-w/metadata.xml @@ -0,0 +1,12 @@ + + + + + python@gentoo.org + + + + hukkin/tomli-w + tomli-w + + diff --git a/sdk_container/src/third_party/portage-stable/dev-python/tomli-w/tomli-w-1.2.0.ebuild b/sdk_container/src/third_party/portage-stable/dev-python/tomli-w/tomli-w-1.2.0.ebuild new file mode 100644 index 0000000000..6d228cf16e --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/dev-python/tomli-w/tomli-w-1.2.0.ebuild @@ -0,0 +1,35 @@ +# Copyright 2021-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{11..14} python3_{13,14}t pypy3_11 ) + +inherit distutils-r1 + +DESCRIPTION="A lil' TOML writer" +HOMEPAGE=" + https://pypi.org/project/tomli-w/ + https://github.com/hukkin/tomli-w/ +" +SRC_URI=" + https://github.com/hukkin/tomli-w/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" + +BDEPEND=" + test? ( + dev-python/tomli[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + epytest tests +}