diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-11-15 03:02:36 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-11-15 03:02:36 +0000 |
commit | 57d1fe5ae0c56e604db5d29bf7b62d685c42e043 (patch) | |
tree | bc1bdf3c531b7b4cef73b051dbb3cd439dee4a39 /dev-python/yapf | |
parent | d3c7d3e5f9607edef1a795ccc502ab3eb3121165 (diff) |
gentoo auto-resync : 15:11:2024 - 03:02:36
Diffstat (limited to 'dev-python/yapf')
-rw-r--r-- | dev-python/yapf/Manifest | 2 | ||||
-rw-r--r-- | dev-python/yapf/yapf-0.43.0.ebuild | 35 |
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-python/yapf/Manifest b/dev-python/yapf/Manifest index 2724900210f6..2441e7a99c20 100644 --- a/dev-python/yapf/Manifest +++ b/dev-python/yapf/Manifest @@ -1,3 +1,5 @@ DIST yapf-0.40.2.gh.tar.gz 229593 BLAKE2B a3e614eb10577af5a627f7ddd916eee5792c02cdda3dfab7008cfec91a4ad8588be8ee6cbdb82fb5967dba21ed2760dcf2d4d99783749ec5df025bd189111fd5 SHA512 be71b622efde162d64e5143c2a27de254a3791c229046309a083fa0df00afb4170cf0427c4402d3c621ca2120210ba15aa6d124ef7b8790c4b72705f5c5342e3 +DIST yapf-0.43.0.gh.tar.gz 231930 BLAKE2B 71a18e2c55505fe623230ab2426e62545d19ee2e945264332e4652694cb388d4b7c71252c10768be0a3b5e7234f3c72595b37addb526d2dccd32647ff1544b58 SHA512 a261d9e5205c783b1bc77ed29970b916296b151c8cf2c549fbe326e5853e20199244c17444c49432c2dc995dc5905c5b2a591bc6a74b95dc2faf3616851f867b EBUILD yapf-0.40.2.ebuild 797 BLAKE2B 22d7a9097119c0921366feffeb58ab545747f46f2f6ea153176be69e51af5ef3184a2235dafdf0f41a4b7310665ae70b990349edc3f00970eb6154fcf73b1a44 SHA512 8d95d284d48ffc21844ba7a9d9bc83b36b73fb95ae1d6d01d51975e0620dfd05eb8bceba93d0c52f40d2f4316d266f7e06456187b38381b49aaa2eef9639c682 +EBUILD yapf-0.43.0.ebuild 743 BLAKE2B 62e828d757089040cd4fa8a63945a90cdd65920d17b45ae569a2a76b6f3c836e5165c01f486de3bb48e31a39797446b2b2c759ac7e374a01444f60034b2079ea SHA512 22acbded1e4f9a41877dfbba909261ba2f8d1a4cc0d4148a955168c08bfb964ac3b8d5d8be7c7ab165d9e3d24f56a5046e8ad9f1bc5a49e4e82af5676c647318 MISC metadata.xml 654 BLAKE2B 9b8696004f7b8613e02a2cdc79c74a79806b1e4278c7a6e8b8b82f953629ad1233f1a5d1b1212306c688edba57ed4933fc23ba251ec12baac5c93c67b51ec47c SHA512 ccea54dccfb6f336699e0078cb3cd238b3aff5e7c05c50d6fdaf60e9b717a064c7e0cf27e17b001d252b0b52f7fa48c48eec5789aecd81c8f2e53a6ebb4054b6 diff --git a/dev-python/yapf/yapf-0.43.0.ebuild b/dev-python/yapf/yapf-0.43.0.ebuild new file mode 100644 index 000000000000..32c64981d2f1 --- /dev/null +++ b/dev-python/yapf/yapf-0.43.0.ebuild @@ -0,0 +1,35 @@ +# Copyright 2018-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="A formatter for Python files" +HOMEPAGE=" + https://github.com/google/yapf/ + https://pypi.org/project/yapf/ +" +SRC_URI=" + https://github.com/google/yapf/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-python/platformdirs-3.5.1[${PYTHON_USEDEP}] + >=dev-python/tomli-2.0.1[${PYTHON_USEDEP}] +" + +python_test() { + "${EPYTHON}" -m unittest discover -v -p '*_test.py' || + die "Tests failed with ${EPYTHON}" +} |