summaryrefslogtreecommitdiff
path: root/dev-python/pyproject-fmt
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-01-23 10:47:12 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-01-23 10:47:12 +0000
commit02d5de423c2b7f8d7c873bcc7a1a222b1847149d (patch)
tree29d109245f3aa2842c63489c8ec537f85e92ff41 /dev-python/pyproject-fmt
parent0770f5276c9044be774368cba8d9d8ce7a43627a (diff)
gentoo auto-resync : 23:01:2024 - 10:47:12
Diffstat (limited to 'dev-python/pyproject-fmt')
-rw-r--r--dev-python/pyproject-fmt/Manifest2
-rw-r--r--dev-python/pyproject-fmt/pyproject-fmt-1.7.0.ebuild42
2 files changed, 44 insertions, 0 deletions
diff --git a/dev-python/pyproject-fmt/Manifest b/dev-python/pyproject-fmt/Manifest
index df1b31f3be40..a7826a6dbaa4 100644
--- a/dev-python/pyproject-fmt/Manifest
+++ b/dev-python/pyproject-fmt/Manifest
@@ -1,5 +1,7 @@
DIST pyproject_fmt-1.5.3.tar.gz 15678 BLAKE2B 624cfc0e62285c59fdb1a3315d1f419cbb8c41430957b9a5eeed2521899a66fa15a1aae476d2986e18d990e4f5fc901312a70df819765cf8b4e077cf3678d8dc SHA512 3f269525b5e3e818cea5ef7b90644c7ced9e37a1dff4a514782ebf7769f6f5a53887cb831b488ed34d059f197a9d90fccc887146f5180c58c5a702c37ae9d79b
DIST pyproject_fmt-1.6.0.tar.gz 15924 BLAKE2B 96c44d40e5d0554e8bd146adb519787b42c63916569846ad1871c16d28f65c2afc0caf2c6f967208704ceaee7af5efd2a91ec1383c320e9d2f5399f3e1aaf6c6 SHA512 74d13d4bef2f8cc81a7ec6dfab316606333cb9896f4cef759221e8496e686021515b8a259bcd7d9b74c9870ae507c98b7bf16b1d59ebb69a7e68c8510c446d5a
+DIST pyproject_fmt-1.7.0.tar.gz 16358 BLAKE2B 944ca460a002caebb98d06588bc89d8cd5c041f7ced200afc9748c6c47f6641dc1e3857cb426c13fc7a1f65738c9d2cbd5d0a575b11e9897be4875d3aff86316 SHA512 f69ade0e9b617a5ccf59b401220cbc95dcae006eb64ff92380ad5f0df598f5f7e8283d96666ffbdd4d2f9acc900923795c2a11496eda8842bcf1d8d1c9113bf8
EBUILD pyproject-fmt-1.5.3.ebuild 1037 BLAKE2B 7d49de346ada61178c1bff076053a7bd33904061648aefecaebd46c145693a5f3500252284fb5cd90393e2ca0840e1a1ce38ee7a7e7c599011a338f32ba84e28 SHA512 67bd92d4815b87884561c6bc2091bdc1214cae827e5c588e1bbff739a47475473a3e0454f2f8d5913eb15c0c5e8c7336a3100f0be8aa74ae815f6b32215135a3
EBUILD pyproject-fmt-1.6.0.ebuild 1045 BLAKE2B bac8b260411f44e4ea4096216cb1e0e69ad6870b4005a78f2c61b7105f4a06dd051749377b7f656c5a667ffb4997b2fb709c8bec6f7c38e19705cbc802c0b2fa SHA512 5167fd3515cf4067cb2ad533821a21cedc23ba4ddf544096527035ae4260038f33f09cf6fbdcc5c75dc30c4ce7880729c7fcadbeb6b6062257aca5436df87dde
+EBUILD pyproject-fmt-1.7.0.ebuild 1045 BLAKE2B bac8b260411f44e4ea4096216cb1e0e69ad6870b4005a78f2c61b7105f4a06dd051749377b7f656c5a667ffb4997b2fb709c8bec6f7c38e19705cbc802c0b2fa SHA512 5167fd3515cf4067cb2ad533821a21cedc23ba4ddf544096527035ae4260038f33f09cf6fbdcc5c75dc30c4ce7880729c7fcadbeb6b6062257aca5436df87dde
MISC metadata.xml 380 BLAKE2B f139b3f6c22d40d7c91b9b35db262813e299d1a3c1a1f8d6129e457fac62e3e7029a05315a3bddd9c4542764a33160c89b58b3b62f457efb088a7ae7cd86a936 SHA512 38bd0633defb67ee1831480c8b3896e158d0735ec74057b13b3c389cf26bd6ecb878f21d172f83293789d81ca2c30afedab8eaeb4ab1774b39972fdd5f805a81
diff --git a/dev-python/pyproject-fmt/pyproject-fmt-1.7.0.ebuild b/dev-python/pyproject-fmt/pyproject-fmt-1.7.0.ebuild
new file mode 100644
index 000000000000..876042525ab4
--- /dev/null
+++ b/dev-python/pyproject-fmt/pyproject-fmt-1.7.0.ebuild
@@ -0,0 +1,42 @@
+# Copyright 2022-2024 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
+}