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/tomlkit/
Date: Mon, 07 Feb 2022 20:30:13
Message-Id: 1644265805.041a4109e50957e49871aea45831d433f28fcaa5.mgorny@gentoo
1 commit: 041a4109e50957e49871aea45831d433f28fcaa5
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Mon Feb 7 19:47:59 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Mon Feb 7 20:30:05 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=041a4109
7
8 dev-python/tomlkit: Bump to 0.9.1
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/tomlkit/Manifest | 1 +
13 dev-python/tomlkit/tomlkit-0.9.1.ebuild | 30 ++++++++++++++++++++++++++++++
14 2 files changed, 31 insertions(+)
15
16 diff --git a/dev-python/tomlkit/Manifest b/dev-python/tomlkit/Manifest
17 index 128b84c80e3d..7179b5ed43fc 100644
18 --- a/dev-python/tomlkit/Manifest
19 +++ b/dev-python/tomlkit/Manifest
20 @@ -1,2 +1,3 @@
21 DIST tomlkit-0.8.0.tar.gz 179067 BLAKE2B 871eb8371d94c76552d78a56adfbde5ebb9da4b93aa29229ae9aa279ae35fac488a1b4986169b818d2e5366883b8f246b44dc9075d0d9785b2d7d6f97e222ec1 SHA512 77b267201021e740d8134d0d5edfbef2cf077adac0b320d80887fdedda3f63f74df1957e8230976f16c80fcc58fd4cfabb195cccf0eda7d6cd29f5f65d362147
22 DIST tomlkit-0.9.0.tar.gz 176037 BLAKE2B 2301b1c9d28eeb595b0580ae4172b0c044a67c75b417b0a004af2afa5bb4bddb07a73e8cdc2949008efa024ab603e44e43d830453827e02d2b7a4483cc360dc3 SHA512 36cb7fd683b4dc6e82a4828db76ad997de79302ed485751b14375e7483400adbce8e9b8bf913a6f404ffc16a06cf90158caca20c4419bd032a7d27a8790573db
23 +DIST tomlkit-0.9.1.tar.gz 176273 BLAKE2B 99a7fff43a23b386e6570b52a34eaf599c1507d41fdf7ee068d8b545ee28ef4ce560a255c14008ee5d90f7b580a04c6c29b3a44767e10c25caf9fe19df029d20 SHA512 7c9a8d5fd9550cb23f90f6ed627f957fdfe29397be0a99b4b0f68767cee268343ebd8a4f8977b9a0f84573ce7e49116874ad1d1af419b86ee41bab0efbfdf400
24
25 diff --git a/dev-python/tomlkit/tomlkit-0.9.1.ebuild b/dev-python/tomlkit/tomlkit-0.9.1.ebuild
26 new file mode 100644
27 index 000000000000..4de45e362c79
28 --- /dev/null
29 +++ b/dev-python/tomlkit/tomlkit-0.9.1.ebuild
30 @@ -0,0 +1,30 @@
31 +# Copyright 1999-2022 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=8
35 +
36 +DISTUTILS_USE_PEP517=setuptools
37 +PYTHON_COMPAT=( pypy3 python3_{8..10} )
38 +
39 +inherit distutils-r1
40 +
41 +DESCRIPTION="Style preserving TOML library"
42 +HOMEPAGE="https://github.com/sdispater/tomlkit"
43 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
44 +
45 +LICENSE="MIT"
46 +SLOT="0"
47 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
48 +
49 +BDEPEND="test? ( dev-python/pyyaml[${PYTHON_USEDEP}] )"
50 +
51 +distutils_enable_tests pytest
52 +
53 +src_configure() {
54 + # use setup.py to avoid circular dep with poetry-core
55 + cat > pyproject.toml <<-EOF || die
56 + [build-system]
57 + requires = ["setuptools", "wheel"]
58 + build-backend = "setuptools.build_meta"
59 + EOF
60 +}