diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-06-20 19:17:08 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-06-20 19:17:08 +0100 |
commit | 1941d371dc945a34f7070c341af1392edb5ca3a9 (patch) | |
tree | e827c75ecfe184ed595a64cc562c654341edf373 /dev-python/yapf | |
parent | 332b9eb4903f99b0e65722058ce481fdc21b93d3 (diff) |
gentoo auto-resync : 20:06:2023 - 19:17:08
Diffstat (limited to 'dev-python/yapf')
-rw-r--r-- | dev-python/yapf/Manifest | 2 | ||||
-rw-r--r-- | dev-python/yapf/yapf-0.40.1.ebuild | 36 |
2 files changed, 38 insertions, 0 deletions
diff --git a/dev-python/yapf/Manifest b/dev-python/yapf/Manifest index 1a074b976181..e6ae5d5789c5 100644 --- a/dev-python/yapf/Manifest +++ b/dev-python/yapf/Manifest @@ -1,5 +1,7 @@ DIST yapf-0.33.0.gh.tar.gz 186345 BLAKE2B 0ce1b0ca9e3838eecacf36c8f666ad58c0f35fbee1384ae5e02f3294892dd23003c39af954ed9deb3aac70397ed9924b92233e229362da1907a9cd2c692fb7e6 SHA512 82846900a9aec22ad2519ebb29fcd3d6e5a787e71e93f80c0169cf796201ae5e970ad7307f2b528e6454264cf61ca96ac4f99442ce6a52b7cebf78ceb2c9a395 DIST yapf-0.40.0.gh.tar.gz 226057 BLAKE2B 34d08d952f462e17f6f4388cb8203f49e7a6236f28a673f8d4b532c87bfd9ebe3a9c42fd52e895c0e6f507611de14be87ba51422db6f9a0f42234bc4727fa224 SHA512 5c635618820fd0e4bc8065e240280dd41a533101f6457596b398807a61f8406681cf0555188ccab16222e7b1c41a83871473a4069a0d1594319da9d0a850f999 +DIST yapf-0.40.1.gh.tar.gz 226063 BLAKE2B 57dd62e32d06312a5a8964fb7822cd87321ae1548be67a1824f5d6efd90e86c629452faf71722a1dfc8f70052f63020ab88d55501c140f33660368c56cce2ea4 SHA512 7d44ea8976c93db850f0a139535962e166b4e488e47761720747686061ad7d7d3bbb2771f2e1519b7db8af630f64b7bcf71143faa56d448c9d098c2d151bffeb EBUILD yapf-0.33.0.ebuild 688 BLAKE2B eb26ffb8c55168da956bf9fbb1d6098b513e157e4440821d894e660946389eb60c8805f8ccb52ee3f27c2ffc056b321b2b9aa97070dbfbea998095eeed779de9 SHA512 19f8e7dbe3be97a3f168a0b1dc211fae82e9fd8d8396f245265742898d7471d1930064f14d9e5995068274d648fc4b249d9e1d783fe1b650e33873cc733d2613 EBUILD yapf-0.40.0.ebuild 794 BLAKE2B 7c1f4c91d0664ed6d4445676f7f2db46b4a44cba99c2c398e72a3d6eecc8e0f1f0e6e5924be59167a932f090bd19cc958c12426b40d4e8153ec2df128413c6f4 SHA512 0f5a7b3db3d9ad7473e2c9f48d8e41d344aca92950124c42cbf90cd17200c8fb16bff91919416b2458e8374a90e68e35f0bfb63512485aeea0a5d162a2383654 +EBUILD yapf-0.40.1.ebuild 794 BLAKE2B 7c1f4c91d0664ed6d4445676f7f2db46b4a44cba99c2c398e72a3d6eecc8e0f1f0e6e5924be59167a932f090bd19cc958c12426b40d4e8153ec2df128413c6f4 SHA512 0f5a7b3db3d9ad7473e2c9f48d8e41d344aca92950124c42cbf90cd17200c8fb16bff91919416b2458e8374a90e68e35f0bfb63512485aeea0a5d162a2383654 MISC metadata.xml 654 BLAKE2B 9b8696004f7b8613e02a2cdc79c74a79806b1e4278c7a6e8b8b82f953629ad1233f1a5d1b1212306c688edba57ed4933fc23ba251ec12baac5c93c67b51ec47c SHA512 ccea54dccfb6f336699e0078cb3cd238b3aff5e7c05c50d6fdaf60e9b717a064c7e0cf27e17b001d252b0b52f7fa48c48eec5789aecd81c8f2e53a6ebb4054b6 diff --git a/dev-python/yapf/yapf-0.40.1.ebuild b/dev-python/yapf/yapf-0.40.1.ebuild new file mode 100644 index 000000000000..207f1b6e2b11 --- /dev/null +++ b/dev-python/yapf/yapf-0.40.1.ebuild @@ -0,0 +1,36 @@ +# Copyright 2018-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..11} ) + +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/importlib-metadata-6.6.0[${PYTHON_USEDEP}] + >=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}" +} |