diff options
| author | Michał Górny <mgorny@gentoo.org> | 2024-02-27 07:23:59 +0100 |
|---|---|---|
| committer | Michał Górny <mgorny@gentoo.org> | 2024-02-27 07:23:59 +0100 |
| commit | 6bd157a6ba80263055b58af4914b6b0b7d930820 (patch) | |
| tree | 1a1d9a44f9a0e121803949bbdc93d7cef3c0aaaf /dev-python | |
| parent | ea70ddbbf4f498ef06df595c8049adbf2530270d (diff) | |
| download | gentoo-6bd157a6ba80263055b58af4914b6b0b7d930820.tar.gz gentoo-6bd157a6ba80263055b58af4914b6b0b7d930820.tar.bz2 gentoo-6bd157a6ba80263055b58af4914b6b0b7d930820.zip | |
dev-python/tomlkit: Bump to 0.12.4
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
| -rw-r--r-- | dev-python/tomlkit/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/tomlkit/tomlkit-0.12.4.ebuild | 43 |
2 files changed, 44 insertions, 0 deletions
diff --git a/dev-python/tomlkit/Manifest b/dev-python/tomlkit/Manifest index 1348c338a680..37ee5eba1a09 100644 --- a/dev-python/tomlkit/Manifest +++ b/dev-python/tomlkit/Manifest @@ -1 +1,2 @@ DIST tomlkit-0.12.3.tar.gz 190967 BLAKE2B 82205c8e012d4584c60ce8d53a995a01fccd50e35330b8aaecd84dd348b79be1ec7cd9bbaf84dbdbcd904102b7dc4216551298657553606d4da8457f565e8945 SHA512 f89b1fdcbefcd511bbc5e22a1cc57d8c4593fc1353e901de31c69ac99ed3c685f042d71205c747bd5d20df246dd19b5402393df81231f12d18414d85c0a0000c +DIST tomlkit-0.12.4.tar.gz 191162 BLAKE2B 3a5f8f01c7965a6d445fa96d0253d0dad55414bf9cae875fe9d9bc670d5b0a20a76fbf655695396ea188cddcea7ad034a38eed05d85f48c47301a3f23a9c7ded SHA512 b6b1cbb954202a256411388eea46852964bbdd02026086a42eab9107c55b961718398ec504f0289560894e9b46cf1c2f4b7e943267454509f6212e899e161d05 diff --git a/dev-python/tomlkit/tomlkit-0.12.4.ebuild b/dev-python/tomlkit/tomlkit-0.12.4.ebuild new file mode 100644 index 000000000000..909ac0927d76 --- /dev/null +++ b/dev-python/tomlkit/tomlkit-0.12.4.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( pypy3 python3_{10..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Style preserving TOML library" +HOMEPAGE=" + https://github.com/sdispater/tomlkit/ + https://pypi.org/project/tomlkit/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~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 +} |
