From b590c8d7572b727d565cc0b8ff660d43569845de Mon Sep 17 00:00:00 2001 From: root Date: Fri, 12 Jun 2026 19:09:37 -0500 Subject: Adding metadata --- dev-python/tomlkit/Manifest | 2 ++ dev-python/tomlkit/metadata.xml | 14 ++++++++++ dev-python/tomlkit/tomlkit-0.14.0.ebuild | 48 ++++++++++++++++++++++++++++++++ dev-python/tomlkit/tomlkit-0.15.0.ebuild | 48 ++++++++++++++++++++++++++++++++ 4 files changed, 112 insertions(+) create mode 100644 dev-python/tomlkit/Manifest create mode 100644 dev-python/tomlkit/metadata.xml create mode 100644 dev-python/tomlkit/tomlkit-0.14.0.ebuild create mode 100644 dev-python/tomlkit/tomlkit-0.15.0.ebuild (limited to 'dev-python/tomlkit') diff --git a/dev-python/tomlkit/Manifest b/dev-python/tomlkit/Manifest new file mode 100644 index 000000000000..e0bdaff83f44 --- /dev/null +++ b/dev-python/tomlkit/Manifest @@ -0,0 +1,2 @@ +DIST tomlkit-0.14.0.tar.gz 187167 BLAKE2B d416ae531829d6904c6ee463091f4ed38e647f5af27c0a395f151978e2816d0399cd2de2e5fb4972197d4e22a31d460efb3f2ee0a5cb4229d502dfdf8d451995 SHA512 0abdf1a57c90895e1dd3972d18d2b9cd24fac12d7e59b26a8a88784695403b990598ebe806a232fefc0d769a0f606bcdcf78930a19f91935c0c0165512238d8d +DIST tomlkit-0.15.0.tar.gz 161875 BLAKE2B b3a6086665fd7ba5edc29c910ff762c2bf516a5604ba7efedfff9b886a5122d2dc9bb5c7aa9832f40fa3e98be32ce85d4d92ef2a15f7cc6193ce491286e859b8 SHA512 dfb7dbb44243f13e01c0b66aa9e0a49edba8c4d8cf720bc81b2faa30877599f465ba38e9235a0b4323100c4efd82d78659b25cf15b345ce5fc5376c3695b73e4 diff --git a/dev-python/tomlkit/metadata.xml b/dev-python/tomlkit/metadata.xml new file mode 100644 index 000000000000..b79a884f5527 --- /dev/null +++ b/dev-python/tomlkit/metadata.xml @@ -0,0 +1,14 @@ + + + + + sci@gentoo.org + Gentoo Science Project + + + python@gentoo.org + Python + + + baldeagleos-repo + diff --git a/dev-python/tomlkit/tomlkit-0.14.0.ebuild b/dev-python/tomlkit/tomlkit-0.14.0.ebuild new file mode 100644 index 000000000000..3eb5b042a6e4 --- /dev/null +++ b/dev-python/tomlkit/tomlkit-0.14.0.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Style preserving TOML library" +HOMEPAGE=" + https://github.com/python-poetry/tomlkit/ + https://pypi.org/project/tomlkit/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" + +BDEPEND=" + test? ( + dev-python/pyyaml[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest + +src_configure() { + grep -q 'build-backend = "poetry' pyproject.toml || + die "Upstream changed build-backend, recheck" + # write a custom pyproject.toml to ease setuptools bootstrap + cat > pyproject.toml <<-EOF || die + [build-system] + requires = ["flit_core >=3.2,<4"] + build-backend = "flit_core.buildapi" + + [project] + name = "tomlkit" + version = "${PV}" + description = "Style preserving TOML library" + EOF + + # some brilliant idea about forcing 1970 dates in sdist + # which are older than what zip can handle... + find -exec touch {} + || die +} diff --git a/dev-python/tomlkit/tomlkit-0.15.0.ebuild b/dev-python/tomlkit/tomlkit-0.15.0.ebuild new file mode 100644 index 000000000000..050dedc429f3 --- /dev/null +++ b/dev-python/tomlkit/tomlkit-0.15.0.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Style preserving TOML library" +HOMEPAGE=" + https://github.com/python-poetry/tomlkit/ + https://pypi.org/project/tomlkit/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +BDEPEND=" + test? ( + dev-python/pyyaml[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest + +src_configure() { + grep -q 'build-backend = "poetry' pyproject.toml || + die "Upstream changed build-backend, recheck" + # write a custom pyproject.toml to ease setuptools bootstrap + cat > pyproject.toml <<-EOF || die + [build-system] + requires = ["flit_core >=3.2,<4"] + build-backend = "flit_core.buildapi" + + [project] + name = "tomlkit" + version = "${PV}" + description = "Style preserving TOML library" + EOF + + # some brilliant idea about forcing 1970 dates in sdist + # which are older than what zip can handle... + find -exec touch {} + || die +} -- cgit v1.3