diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-06-06 19:03:26 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-06-06 19:03:26 +0000 |
| commit | 7fb7fe9770462a5fef9201bd8813209027234ecc (patch) | |
| tree | 00d0b3f7c69c85079170465c64629210dc2fe0ba /dev-python/tomlkit | |
| parent | d978d72049154f2c3054f5a98e90927410b85bd5 (diff) | |
| download | srcux-7fb7fe9770462a5fef9201bd8813209027234ecc.tar.gz srcux-7fb7fe9770462a5fef9201bd8813209027234ecc.tar.xz srcux-7fb7fe9770462a5fef9201bd8813209027234ecc.zip | |
Adding metadata
Diffstat (limited to 'dev-python/tomlkit')
| -rw-r--r-- | dev-python/tomlkit/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/tomlkit/tomlkit-0.13.3.ebuild | 52 |
2 files changed, 53 insertions, 0 deletions
diff --git a/dev-python/tomlkit/Manifest b/dev-python/tomlkit/Manifest index 59800bcee3bb..ff95e1151ea4 100644 --- a/dev-python/tomlkit/Manifest +++ b/dev-python/tomlkit/Manifest @@ -1 +1,2 @@ DIST tomlkit-0.13.2.tar.gz 192885 BLAKE2B c95d24e0ec61cb90dfdd3fe7a07f8187fdfdee1b60d6d3e5a1af08e6d319e24c2447107cd3e49455a3f1cd29a50bde2e09f3a57708ce7349d1e9bd6957e46c9d SHA512 65b45468de25a6b9f22c3fe3468301902e1e439de580e74f15f5a24985546a4bfe47642b6014a25590eb176fedbe468828d7bc84c9c3b65ab418c071f0902957 +DIST tomlkit-0.13.3.tar.gz 185207 BLAKE2B e4248dd22357295b4315abb28abb1e2949499fcc2f451058205876ffd67b4f45e0a773de9f73f07ec3a44dd8d066d7ee6bb2ea9d2067db2b76adba9b5391982b SHA512 bdb679d64ad09f89b8ae8c6b8406d24b805562e4d80a1a0644a533b15eafe8bf5b3451754d71d453ca581d43bcc598473499dab29176d52b2ff0589ff59bbec9 diff --git a/dev-python/tomlkit/tomlkit-0.13.3.ebuild b/dev-python/tomlkit/tomlkit-0.13.3.ebuild new file mode 100644 index 000000000000..5aa2fb057ade --- /dev/null +++ b/dev-python/tomlkit/tomlkit-0.13.3.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( python3_{9,10,11,12,13} pypy3 ) + +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}] + ) +" + +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 +} + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +} |
