Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/tomli/
Date: Tue, 08 Feb 2022 20:14:39
Message-Id: 1644351271.7ae6914d8c4a7e66d03573d61d79d9f31a91245c.mgorny@gentoo
1 commit: 7ae6914d8c4a7e66d03573d61d79d9f31a91245c
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Tue Feb 8 19:40:36 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Tue Feb 8 20:14:31 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ae6914d
7
8 dev-python/tomli: Bump to 2.0.1
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/tomli/Manifest | 2 ++
13 dev-python/tomli/tomli-2.0.1.ebuild | 41 +++++++++++++++++++++++++++++++++++++
14 2 files changed, 43 insertions(+)
15
16 diff --git a/dev-python/tomli/Manifest b/dev-python/tomli/Manifest
17 index f8bb6db13d9e..59d4cf87d470 100644
18 --- a/dev-python/tomli/Manifest
19 +++ b/dev-python/tomli/Manifest
20 @@ -2,3 +2,5 @@ DIST tomli-1.2.3-py3-none-any.whl.zip 12122 BLAKE2B ad0037b3761a13043bffb5875a25
21 DIST tomli-1.2.3.gh.tar.gz 123142 BLAKE2B e8af1618aa962d7ff56d319c3a789c7655d9cb95e79f27b90cd9f9c7e978d2e29a49abef3884c4f53788305e54f8e919992d65fcec12679a9346690d86b7dd6a SHA512 270dbfe1df2e7f2692c35be5cc45e0b78e9e045e150fe959f4d6db8e3022126e7c17338636e57ba553fd928cbfd227938cfcd13128e1f05ee8cff29327594c61
22 DIST tomli-2.0.0-py3-none-any.whl.zip 12127 BLAKE2B 1a680c2baa158db3892fc616e4fa74aa197862dcdb792db51e16e00fd949c6e7554235ac083ea1524d5ae952c911899c512f37d1500786dae401df4086c5ca15 SHA512 6191981e9771dedc5dc225734295774c75a272d03edfbea7415d2b4c09531d5022dba53affc47baf817ff9cc5945d8d62ea3eb67bd69e146a07eaa35dec5acc0
23 DIST tomli-2.0.0.gh.tar.gz 123262 BLAKE2B cddd21e3297ee71608f2f3e08023ec8d86f8295133ee78a16bf3c4dca080d94ade1f7d8c43d262d5a5f0287ea743068f57d47336d5d9ec684cdfaf485194a2e6 SHA512 dc7cdfadaca74f39dd6cb00686ec2e5b47b8ee3dbec9bd0a289a6ff78619cfdbf125adb6253d838f197722f4389690872a3ca870664b7785c19f3c2bb1a18231
24 +DIST tomli-2.0.1-py3-none-any.whl.zip 12757 BLAKE2B 0a33773bc0409831aec6ee803ef0ef9d6b6b441213d549184068e218b73d6178d617bc2b58d11db98f0e6284baaf81663723fbc6eb89f7466608f0d89aeb1982 SHA512 b6164b03d3db360093f92e644e87a37a0ce20d63d7e9e271fcafd727f4fdb73ad6b301aaf32b3d2839f6eedbc8ea499dafba7335b8fdfc4667e30ed50c9805b4
25 +DIST tomli-2.0.1.gh.tar.gz 133685 BLAKE2B 0d3a1f4ee4e74eeab6a7e7c3d5e866ce1baf9017136cdc8ce1f6275f8d6d151239e5a00b97b6409872fac0e8558a49120adf16f0ae21f9d92ae630dfd39cd6ff SHA512 a467f8d48cdbd7213bd9b6f85fd48ba142ab7c9656c40bb30785e1c4b37a9e29eaed420f183458ad20112baee8413ebbec87755332795c8f02235d1018c3aa5c
26
27 diff --git a/dev-python/tomli/tomli-2.0.1.ebuild b/dev-python/tomli/tomli-2.0.1.ebuild
28 new file mode 100644
29 index 000000000000..fa824ad81635
30 --- /dev/null
31 +++ b/dev-python/tomli/tomli-2.0.1.ebuild
32 @@ -0,0 +1,41 @@
33 +# Copyright 2021-2022 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +# please keep this ebuild at EAPI 7 -- sys-apps/portage dep
37 +EAPI=7
38 +
39 +DISTUTILS_USE_SETUPTOOLS=manual
40 +PYTHON_COMPAT=( python3_{8..10} pypy3 )
41 +
42 +inherit distutils-r1
43 +
44 +DESCRIPTION="A lil' TOML parser"
45 +HOMEPAGE="
46 + https://pypi.org/project/tomli/
47 + https://github.com/hukkin/tomli/"
48 +SRC_URI="
49 + https://github.com/hukkin/tomli/archive/${PV}.tar.gz
50 + -> ${P}.gh.tar.gz
51 + https://files.pythonhosted.org/packages/py3/${PN::1}/${PN}/${P}-py3-none-any.whl
52 + -> ${P}-py3-none-any.whl.zip"
53 +S=${WORKDIR}
54 +
55 +LICENSE="MIT"
56 +SLOT="0"
57 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~ppc-macos ~x64-macos"
58 +
59 +BDEPEND="
60 + app-arch/unzip"
61 +
62 +distutils_enable_tests unittest
63 +
64 +# do not use any build system to avoid circular deps
65 +python_compile() { :; }
66 +
67 +python_test() {
68 + eunittest -s "${P}"
69 +}
70 +
71 +python_install() {
72 + python_domodule tomli *.dist-info
73 +}