commit:     d63903d7fa4d1452f5848649ef5b0ec1afa6c30b
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 28 16:11:31 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Aug 28 16:53:04 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d63903d7

dev-python/pyproject-fmt: Bump to 1.1.0

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

 dev-python/pyproject-fmt/Manifest                  |  1 +
 .../pyproject-fmt/pyproject-fmt-1.1.0.ebuild       | 42 ++++++++++++++++++++++
 2 files changed, 43 insertions(+)

diff --git a/dev-python/pyproject-fmt/Manifest 
b/dev-python/pyproject-fmt/Manifest
index 0f1fd4e771d2..9e31e433095c 100644
--- a/dev-python/pyproject-fmt/Manifest
+++ b/dev-python/pyproject-fmt/Manifest
@@ -1,3 +1,4 @@
 DIST pyproject_fmt-0.13.0.tar.gz 13021 BLAKE2B 
911925fb489782af9952cea68105ceeaa62fe96af130688f08892bc6fc701063f0a3b17c079323fd5358999f73fdffff59dbe910ca280cf9a963b2e45c10d22d
 SHA512 
eb97893c9e04edd4667f961cb2232cda1be42f96ae94cd95886e70e48835b0228a0054bb4a75c439deff16990335ef56fbf60b8a0b2530d18856d075d42ff404
 DIST pyproject_fmt-0.13.1.tar.gz 13938 BLAKE2B 
42a75840a45eeb96a58bc277a4e1834a4e2965a18a41d4305ff6060c1e01835474f664494f1fdde2ddd4bc945818691f72e9d1033090d321f2444dcb6c529f28
 SHA512 
e8465f94590557f89bfbd7e3825831420859ba291f0413444de10709ec866d6b771f6fe139acaf930b2139c638b90a58c9bddf2ae6aecfb9745b306b815a041d
 DIST pyproject_fmt-1.0.0.tar.gz 13946 BLAKE2B 
a1c3f91a9b7f04b7f980ebbb19a93fee1b445ad87c34c0ddcff39545371f02e7b8448df0706d9d42eee7f52f7f616c6c8b2a7a844c3acbe251fc958f1f8c7d37
 SHA512 
a8d39edaf1ddaa5e8a84a6854c5fc4e1284caaf89f0a87ec67f22a06186f7ad7cf4ffe0e07f2c51f626a5e488b1814b17e1b3697103233b6de087e8787f0207a
+DIST pyproject_fmt-1.1.0.tar.gz 14219 BLAKE2B 
9b5180edab6f1f0684d1bc5a503321f09d59acfc71e2f98a36c2b974f95a3f6c0309d43e2a87cbb0c9249d3bc0f74f0696dd3965d9fd2c8329441a2f20fcafea
 SHA512 
dc18e19b7140bfe7a97e1b9720d493327f9006fb666130438b0ef670a91480e2faaad9ff951d42b8856044d028b725ec3b6a522084b7090208df5c853cefc78c

diff --git a/dev-python/pyproject-fmt/pyproject-fmt-1.1.0.ebuild 
b/dev-python/pyproject-fmt/pyproject-fmt-1.1.0.ebuild
new file mode 100644
index 000000000000..c440d098979a
--- /dev/null
+++ b/dev-python/pyproject-fmt/pyproject-fmt-1.1.0.ebuild
@@ -0,0 +1,42 @@
+# Copyright 2022-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=hatchling
+PYTHON_COMPAT=( pypy3 python3_{10..12} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Format your pyproject.toml file"
+HOMEPAGE="
+       https://github.com/tox-dev/pyproject-fmt/
+       https://pypi.org/project/pyproject-fmt/
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86"
+
+RDEPEND="
+       dev-python/natsort[${PYTHON_USEDEP}]
+       dev-python/packaging[${PYTHON_USEDEP}]
+       dev-python/tomlkit[${PYTHON_USEDEP}]
+"
+# tox is called as a subprocess, to get targets from tox.ini
+BDEPEND="
+       dev-python/hatch-vcs[${PYTHON_USEDEP}]
+       test? (
+               >=dev-python/pytest-mock-3.10[${PYTHON_USEDEP}]
+               dev-python/tox
+       )
+"
+
+distutils_enable_tests pytest
+
+src_prepare() {
+       # upstream lower bounds are completely meaningless and copying them
+       # to the ebuild is a horrible waste of time
+       sed -i -e 's:>=[0-9.]*::' pyproject.toml || die
+       distutils-r1_src_prepare
+}

Reply via email to