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-w/
Date: Sat, 06 Nov 2021 20:49:04
Message-Id: 1636231737.04e0bba6292cce136ae69d1799d6ba5f91faafe6.mgorny@gentoo
1 commit: 04e0bba6292cce136ae69d1799d6ba5f91faafe6
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sat Nov 6 20:37:32 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat Nov 6 20:48:57 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=04e0bba6
7
8 dev-python/tomli-w: Bump to 0.4.0
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/tomli-w/Manifest | 1 +
13 dev-python/tomli-w/metadata.xml | 2 +-
14 dev-python/tomli-w/tomli-w-0.4.0.ebuild | 26 ++++++++++++++++++++++++++
15 3 files changed, 28 insertions(+), 1 deletion(-)
16
17 diff --git a/dev-python/tomli-w/Manifest b/dev-python/tomli-w/Manifest
18 index d51775295d7..fe492e2f4aa 100644
19 --- a/dev-python/tomli-w/Manifest
20 +++ b/dev-python/tomli-w/Manifest
21 @@ -1 +1,2 @@
22 DIST tomli-w-0.3.0.gh.tar.gz 61366 BLAKE2B 1ca3d50237d41fb22e8d506d2d8af3c5d9f690161a44439d3a79038bda7a67a6af9ad62b077169b5c2bdaee2110a3be5e3eec652aa8866a20c5841662f18a7e1 SHA512 618b93f2d98eee4fafe502e25f8770dc58558b25d9ec548fa5d0a6bdd8914e487fb1d16b68d138e0f8a48a6e5713c23e4d1a6daf70c8eafa27630fee05dfe8df
23 +DIST tomli-w-0.4.0.gh.tar.gz 63717 BLAKE2B 13f73718e84602e65243708481c546379120741bdef2c9b5dd53fc0a8f81bb098acfc18d8623d3b4ad9fe0ac37594c3c0fee94e009428cde2b46b6819f5598d1 SHA512 0a3940fd738aa62c9409cf33c515c33e232796374c10a7d0b0a7fcaf2d39e846cc1cf87700b5e8d5601e4bd02e76f5ee322c9d5fb37d4706670d34d8313fd19d
24
25 diff --git a/dev-python/tomli-w/metadata.xml b/dev-python/tomli-w/metadata.xml
26 index 499f307591c..7a20d261085 100644
27 --- a/dev-python/tomli-w/metadata.xml
28 +++ b/dev-python/tomli-w/metadata.xml
29 @@ -7,6 +7,6 @@
30 <stabilize-allarches/>
31 <upstream>
32 <remote-id type="github">hukkin/tomli-w</remote-id>
33 - <remote-id type="pypi">tomli_w</remote-id>
34 + <remote-id type="pypi">tomli-w</remote-id>
35 </upstream>
36 </pkgmetadata>
37
38 diff --git a/dev-python/tomli-w/tomli-w-0.4.0.ebuild b/dev-python/tomli-w/tomli-w-0.4.0.ebuild
39 new file mode 100644
40 index 00000000000..04615adae4a
41 --- /dev/null
42 +++ b/dev-python/tomli-w/tomli-w-0.4.0.ebuild
43 @@ -0,0 +1,26 @@
44 +# Copyright 2021 Gentoo Authors
45 +# Distributed under the terms of the GNU General Public License v2
46 +
47 +EAPI=8
48 +
49 +DISTUTILS_USE_SETUPTOOLS=pyproject.toml
50 +PYTHON_COMPAT=( python3_{8..10} pypy3 )
51 +
52 +inherit distutils-r1
53 +
54 +DESCRIPTION="A lil' TOML writer"
55 +HOMEPAGE="
56 + https://pypi.org/project/tomli-w/
57 + https://github.com/hukkin/tomli-w/"
58 +SRC_URI="
59 + https://github.com/hukkin/tomli-w/archive/${PV}.tar.gz
60 + -> ${P}.gh.tar.gz"
61 +
62 +LICENSE="MIT"
63 +SLOT="0"
64 +KEYWORDS="~amd64 ~x86"
65 +
66 +BDEPEND="
67 + test? ( dev-python/tomli[${PYTHON_USEDEP}] )"
68 +
69 +distutils_enable_tests pytest