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/pyproject-fmt/
Date: Mon, 30 Jan 2023 06:59:04
Message-Id: 1675061923.c19963d04db14b7e3a6d6298a0bb339694eba107.mgorny@gentoo
1 commit: c19963d04db14b7e3a6d6298a0bb339694eba107
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jan 30 06:37:36 2023 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Mon Jan 30 06:58:43 2023 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c19963d0
7
8 dev-python/pyproject-fmt: Bump to 0.6.0
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/pyproject-fmt/Manifest | 1 +
13 .../pyproject-fmt/pyproject-fmt-0.6.0.ebuild | 38 ++++++++++++++++++++++
14 2 files changed, 39 insertions(+)
15
16 diff --git a/dev-python/pyproject-fmt/Manifest b/dev-python/pyproject-fmt/Manifest
17 index 332e97e549a7..4e2d30119754 100644
18 --- a/dev-python/pyproject-fmt/Manifest
19 +++ b/dev-python/pyproject-fmt/Manifest
20 @@ -1,2 +1,3 @@
21 DIST pyproject-fmt-0.4.1.gh.tar.gz 14853 BLAKE2B e06e3602290fdc4df00fb48dfe9d6d516a623ef29eaa535ab3b11754a577385611313172f207966b121f072a5b453774afcbf5e8699a0b7fd4426f5332e48e5a SHA512 f00999470e66e7f11e9299a902b686342fbad27a07634206011ff7712c7c422f9962d8a4eeffae6a6263712620b787bbdcd78c2129cb4b164631b56a45910363
22 DIST pyproject-fmt-0.5.0.gh.tar.gz 14906 BLAKE2B f75482988c8e10fbfcffaa518e6004f0e96b922e8bf929e43c7be26cf16149b3fa97a3070fabfbb90641ee3d953ab17bd854ba2e107b776f65f6bc802980bd54 SHA512 58ec7975f7c69990b1d2a0ee8a29681731d7143e59754343dc64e52e135cc5d280adf3c31b6818f042982697a7221a36aa0842ffba1ede28b57cefad77bf065c
23 +DIST pyproject-fmt-0.6.0.gh.tar.gz 15082 BLAKE2B 9ec7126530c98b984c5346bfd65fa817967dc7def60d16eb93e63ff690eaad53209d49483e19b5e87caf7b879f6661862a68606a0adb3b4513ff119262ff99a6 SHA512 50c9dcb468213de62e86edd500ae001815a83d8374ac1d36467fd7c560a5774862b001414f687d588fc0622ba5896c83338d6833ac4c248d2b4aa111fefe33ce
24
25 diff --git a/dev-python/pyproject-fmt/pyproject-fmt-0.6.0.ebuild b/dev-python/pyproject-fmt/pyproject-fmt-0.6.0.ebuild
26 new file mode 100644
27 index 000000000000..a802c14c305f
28 --- /dev/null
29 +++ b/dev-python/pyproject-fmt/pyproject-fmt-0.6.0.ebuild
30 @@ -0,0 +1,38 @@
31 +# Copyright 2022-2023 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=8
35 +
36 +DISTUTILS_USE_PEP517=hatchling
37 +PYTHON_COMPAT=( pypy3 python3_{9..11} )
38 +
39 +inherit distutils-r1
40 +
41 +DESCRIPTION="Format your pyproject.toml file"
42 +HOMEPAGE="
43 + https://github.com/tox-dev/pyproject-fmt/
44 + https://pypi.org/project/pyproject-fmt/
45 +"
46 +SRC_URI="
47 + https://github.com/tox-dev/pyproject-fmt/archive/${PV}.tar.gz
48 + -> ${P}.gh.tar.gz
49 +"
50 +
51 +LICENSE="MIT"
52 +SLOT="0"
53 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
54 +
55 +RDEPEND="
56 + >=dev-python/packaging-23[${PYTHON_USEDEP}]
57 + >=dev-python/tomlkit-0.11.6[${PYTHON_USEDEP}]
58 +"
59 +BDEPEND="
60 + dev-python/hatch-vcs[${PYTHON_USEDEP}]
61 + test? (
62 + >=dev-python/pytest-mock-3.10[${PYTHON_USEDEP}]
63 + )
64 +"
65 +
66 +distutils_enable_tests pytest
67 +
68 +export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}