mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-python/yapf: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
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
|
||||
|
||||
@@ -1,36 +0,0 @@
|
||||
# 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..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/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}"
|
||||
}
|
||||
Reference in New Issue
Block a user