diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-11-10 10:40:38 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-11-10 10:40:38 +0000 |
commit | 1b26473bc67c6bcd775f96cdd7ee9824b97d7ee8 (patch) | |
tree | 1353e87d560544f9f76061f9fb8ac8ba065c17b0 /dev-python/pyproject-fmt | |
parent | bcab5f78469b3a0e4b659b713069c5233054d6a2 (diff) |
gentoo auto-resync : 10:11:2023 - 10:40:38
Diffstat (limited to 'dev-python/pyproject-fmt')
-rw-r--r-- | dev-python/pyproject-fmt/Manifest | 2 | ||||
-rw-r--r-- | dev-python/pyproject-fmt/pyproject-fmt-1.5.1.ebuild | 42 |
2 files changed, 44 insertions, 0 deletions
diff --git a/dev-python/pyproject-fmt/Manifest b/dev-python/pyproject-fmt/Manifest index 98b46234e9d3..4d49abdb7ec0 100644 --- a/dev-python/pyproject-fmt/Manifest +++ b/dev-python/pyproject-fmt/Manifest @@ -1,5 +1,7 @@ DIST pyproject_fmt-1.3.0.tar.gz 14367 BLAKE2B 55e96febd3b0bf9a84013c9ca002b7f77c043a62dae1dfc993efcabfe349bf607ffc23ba969c213e15debcd9e13cfe65267c14fa1a144f311fd20f14c043fd4c SHA512 d3e853e0f7c85ddffcc7ec2aa94d7f61fff2e55cbf6f564fd3b4bb1cf02d2dc54407b550d44dfefbfdd496f1b3ea995197cc3d45aea7725799abff12ccadcf0a DIST pyproject_fmt-1.4.1.tar.gz 15280 BLAKE2B e91fd5b5a5c6b1e26337446488107cce5441ad53dec5c74e04b991d844c37cd142644b2213353a11ddb8865b517652c0d1a25b67b2696ad3af3a0de8ce0c2e3b SHA512 4750340ddea29a214abb20bbddda2ff505f2b022812c7a9ddfd92edfb38315376757c5263f7f1a272867665af8f176ba3fefd1a1c210ee5ce5577ba2e9a4807b +DIST pyproject_fmt-1.5.1.tar.gz 15639 BLAKE2B b625504295fce9fee9cfb09c821654edad8aa8e0537777f268f759ed8aeb6d2dd49e00b63c0e35e1d2a6946702c025ed5c15282ca8d2de5f479d373720273eef SHA512 12c3734ed2fab66f01c9cd2f5335cb4f925657f7c1f2cb8f7a3f9fdc73ec0746dd6b634cc1799b4dc4760d5b8061b4b30a06ae7030f94494792070674a2da338 EBUILD pyproject-fmt-1.3.0.ebuild 1037 BLAKE2B 7d49de346ada61178c1bff076053a7bd33904061648aefecaebd46c145693a5f3500252284fb5cd90393e2ca0840e1a1ce38ee7a7e7c599011a338f32ba84e28 SHA512 67bd92d4815b87884561c6bc2091bdc1214cae827e5c588e1bbff739a47475473a3e0454f2f8d5913eb15c0c5e8c7336a3100f0be8aa74ae815f6b32215135a3 EBUILD pyproject-fmt-1.4.1.ebuild 1045 BLAKE2B c914ab4658ff849055a10ab9bba136073dee119897ef3d74cf04f5583c2858bb00b63a16efdc713d57986be2dc869ab1ca555a03eb7cb3f210653edd777b68ee SHA512 65cc1ed712b09bdeb88bf4ed5bc4e5208d63a34db06999484cb436fc3178fc782cdd7c8b2466979fe40bd94f39abd1bd79bdf2334fc5fa2b83b9b0afef8bff50 +EBUILD pyproject-fmt-1.5.1.ebuild 1045 BLAKE2B c914ab4658ff849055a10ab9bba136073dee119897ef3d74cf04f5583c2858bb00b63a16efdc713d57986be2dc869ab1ca555a03eb7cb3f210653edd777b68ee SHA512 65cc1ed712b09bdeb88bf4ed5bc4e5208d63a34db06999484cb436fc3178fc782cdd7c8b2466979fe40bd94f39abd1bd79bdf2334fc5fa2b83b9b0afef8bff50 MISC metadata.xml 380 BLAKE2B f139b3f6c22d40d7c91b9b35db262813e299d1a3c1a1f8d6129e457fac62e3e7029a05315a3bddd9c4542764a33160c89b58b3b62f457efb088a7ae7cd86a936 SHA512 38bd0633defb67ee1831480c8b3896e158d0735ec74057b13b3c389cf26bd6ecb878f21d172f83293789d81ca2c30afedab8eaeb4ab1774b39972fdd5f805a81 diff --git a/dev-python/pyproject-fmt/pyproject-fmt-1.5.1.ebuild b/dev-python/pyproject-fmt/pyproject-fmt-1.5.1.ebuild new file mode 100644 index 000000000000..c440d098979a --- /dev/null +++ b/dev-python/pyproject-fmt/pyproject-fmt-1.5.1.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 +} |