summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-01-30 07:37:36 +0100
committerMichał Górny <mgorny@gentoo.org>2023-01-30 07:58:43 +0100
commitc19963d04db14b7e3a6d6298a0bb339694eba107 (patch)
tree6da5e57d469000e44c29e4dc7b7582a982df870c /dev-python/pyproject-fmt
parentmedia-sound/subsonic-bin: drop 5.2.1-r3 (diff)
downloadgentoo-c19963d04db14b7e3a6d6298a0bb339694eba107.tar.gz
gentoo-c19963d04db14b7e3a6d6298a0bb339694eba107.tar.bz2
gentoo-c19963d04db14b7e3a6d6298a0bb339694eba107.zip
dev-python/pyproject-fmt: Bump to 0.6.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/pyproject-fmt')
-rw-r--r--dev-python/pyproject-fmt/Manifest1
-rw-r--r--dev-python/pyproject-fmt/pyproject-fmt-0.6.0.ebuild38
2 files changed, 39 insertions, 0 deletions
diff --git a/dev-python/pyproject-fmt/Manifest b/dev-python/pyproject-fmt/Manifest
index 332e97e549a7..4e2d30119754 100644
--- a/dev-python/pyproject-fmt/Manifest
+++ b/dev-python/pyproject-fmt/Manifest
@@ -1,2 +1,3 @@
DIST pyproject-fmt-0.4.1.gh.tar.gz 14853 BLAKE2B e06e3602290fdc4df00fb48dfe9d6d516a623ef29eaa535ab3b11754a577385611313172f207966b121f072a5b453774afcbf5e8699a0b7fd4426f5332e48e5a SHA512 f00999470e66e7f11e9299a902b686342fbad27a07634206011ff7712c7c422f9962d8a4eeffae6a6263712620b787bbdcd78c2129cb4b164631b56a45910363
DIST pyproject-fmt-0.5.0.gh.tar.gz 14906 BLAKE2B f75482988c8e10fbfcffaa518e6004f0e96b922e8bf929e43c7be26cf16149b3fa97a3070fabfbb90641ee3d953ab17bd854ba2e107b776f65f6bc802980bd54 SHA512 58ec7975f7c69990b1d2a0ee8a29681731d7143e59754343dc64e52e135cc5d280adf3c31b6818f042982697a7221a36aa0842ffba1ede28b57cefad77bf065c
+DIST pyproject-fmt-0.6.0.gh.tar.gz 15082 BLAKE2B 9ec7126530c98b984c5346bfd65fa817967dc7def60d16eb93e63ff690eaad53209d49483e19b5e87caf7b879f6661862a68606a0adb3b4513ff119262ff99a6 SHA512 50c9dcb468213de62e86edd500ae001815a83d8374ac1d36467fd7c560a5774862b001414f687d588fc0622ba5896c83338d6833ac4c248d2b4aa111fefe33ce
diff --git a/dev-python/pyproject-fmt/pyproject-fmt-0.6.0.ebuild b/dev-python/pyproject-fmt/pyproject-fmt-0.6.0.ebuild
new file mode 100644
index 000000000000..a802c14c305f
--- /dev/null
+++ b/dev-python/pyproject-fmt/pyproject-fmt-0.6.0.ebuild
@@ -0,0 +1,38 @@
+# 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_{9..11} )
+
+inherit distutils-r1
+
+DESCRIPTION="Format your pyproject.toml file"
+HOMEPAGE="
+ https://github.com/tox-dev/pyproject-fmt/
+ https://pypi.org/project/pyproject-fmt/
+"
+SRC_URI="
+ https://github.com/tox-dev/pyproject-fmt/archive/${PV}.tar.gz
+ -> ${P}.gh.tar.gz
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+
+RDEPEND="
+ >=dev-python/packaging-23[${PYTHON_USEDEP}]
+ >=dev-python/tomlkit-0.11.6[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ dev-python/hatch-vcs[${PYTHON_USEDEP}]
+ test? (
+ >=dev-python/pytest-mock-3.10[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests pytest
+
+export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}