commit:     689381835ede0793ba6ff14278fdef70e7b12287
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Oct  3 03:24:33 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Oct  3 03:31:00 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68938183

dev-python/tomli: Bump to 2.0.2

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/tomli/Manifest           |  2 ++
 dev-python/tomli/tomli-2.0.2.ebuild | 40 +++++++++++++++++++++++++++++++++++++
 2 files changed, 42 insertions(+)

diff --git a/dev-python/tomli/Manifest b/dev-python/tomli/Manifest
index b87d6410b6b6..10b08e1fbb6d 100644
--- a/dev-python/tomli/Manifest
+++ b/dev-python/tomli/Manifest
@@ -1,2 +1,4 @@
 DIST tomli-2.0.1-py3-none-any.whl.zip 12757 BLAKE2B 
0a33773bc0409831aec6ee803ef0ef9d6b6b441213d549184068e218b73d6178d617bc2b58d11db98f0e6284baaf81663723fbc6eb89f7466608f0d89aeb1982
 SHA512 
b6164b03d3db360093f92e644e87a37a0ce20d63d7e9e271fcafd727f4fdb73ad6b301aaf32b3d2839f6eedbc8ea499dafba7335b8fdfc4667e30ed50c9805b4
 DIST tomli-2.0.1.gh.tar.gz 133685 BLAKE2B 
0d3a1f4ee4e74eeab6a7e7c3d5e866ce1baf9017136cdc8ce1f6275f8d6d151239e5a00b97b6409872fac0e8558a49120adf16f0ae21f9d92ae630dfd39cd6ff
 SHA512 
a467f8d48cdbd7213bd9b6f85fd48ba142ab7c9656c40bb30785e1c4b37a9e29eaed420f183458ad20112baee8413ebbec87755332795c8f02235d1018c3aa5c
+DIST tomli-2.0.2-py3-none-any.whl.zip 13237 BLAKE2B 
642af1b59a2b2bceeee2480208f3680ec699bc9b572bde186ff8c845526e41e2ebc145f78ae4094ae3ee084ebfde561ec635358ff3df9c5609101c96d0b54ded
 SHA512 
ad8278fc99a6913ebb70a618a7cad7acca9737e6ec546c932b4d0c1caddc1e70ef832340a33f2db974235459ff627949308d517b3c3a15b6baf8a4f1b3095e49
+DIST tomli-2.0.2.gh.tar.gz 135227 BLAKE2B 
1d61fd26793c4f814ed606a60b85edb388bf97d6fd17c830504971be725c84e9e6e67904170cff305fdb7be8196b56d0cc29dd36f8b202798788f4839ba8ddc6
 SHA512 
3eeea334d6d225590a9e074685c65d052e2f5d5286ca895ff7e9532d7289f0daa31ae67b5076d803e5adad4f20a9831058a0c4599715f049079904934d3d9c25

diff --git a/dev-python/tomli/tomli-2.0.2.ebuild 
b/dev-python/tomli/tomli-2.0.2.ebuild
new file mode 100644
index 000000000000..2ff54bd4c53d
--- /dev/null
+++ b/dev-python/tomli/tomli-2.0.2.ebuild
@@ -0,0 +1,40 @@
+# Copyright 2021-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# please keep this ebuild at EAPI 8 -- sys-apps/portage dep
+EAPI=8
+
+DISTUTILS_USE_PEP517=no
+PYTHON_COMPAT=( python3_{10..13} pypy3 )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="A lil' TOML parser"
+HOMEPAGE="
+       https://pypi.org/project/tomli/
+       https://github.com/hukkin/tomli/
+"
+SRC_URI="
+       https://github.com/hukkin/tomli/archive/${PV}.tar.gz
+               -> ${P}.gh.tar.gz
+       $(pypi_wheel_url --unpack)
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos 
~x64-macos ~x64-solaris"
+
+BDEPEND="
+       app-arch/unzip
+"
+
+distutils_enable_tests unittest
+
+python_compile() {
+       python_domodule src/tomli "${WORKDIR}"/*.dist-info
+}
+
+python_install() {
+       distutils-r1_python_install
+       python_optimize
+}

Reply via email to