mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-11-03 22:30:34 -05:00
dev-python/autoflake: drop 2.2.1
Signed-off-by: Julien Roy <julien@jroy.ca>
This commit is contained in:
2 files changed
-31
No files matched your search
@@ -1,2 +1 @@
|
||||
DIST autoflake-2.2.1.tar.gz 27377 BLAKE2B d669fd1954974f7237423d7dc67de044d737ba5a462b565f3307f1b6bdecefa6a6b2a6de437570e6a7772a692e894fb414e1ff05fc0aae7cbb3a0901ec9a0129 SHA512 02021b5f92edcdcb0b3c11132a46cf73dbc4b6e4efc4f5d5981b66bc5beafbef66a81229e65a727816ebda419c93399df14e9b6ba9f38a728f95a3455c1089f9
|
||||
DIST autoflake-2.3.1.tar.gz 27642 BLAKE2B 5002b404c39a5a1e18c5dc6e8a70f958b9d02e412b9320ba4b801b1a20427110cd15363bb3e4acb25de4ceca77ce86d49c1c36cef5ba3e886fecffb996ef7b81 SHA512 bad9a34f253e1182f3128867eb8699c8c02b99f35479c1b65669f0411d7dff29fe477a267d0398e60a5e833530ace3cf28443a4b2a8924bd019447cc7ee8ab08
|
||||
@@ -1,30 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..11} )
|
||||
DISTUTILS_USE_PEP517=hatchling
|
||||
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
DESCRIPTION="Removes unused imports and unused variables from Python code"
|
||||
HOMEPAGE="https://github.com/PyCQA/autoflake/ https://pypi.org/project/autoflake/"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
RDEPEND=">=dev-python/tomli-2.0.1
|
||||
>=dev-python/pyflakes-3.0.0"
|
||||
|
||||
distutils_enable_tests unittest
|
||||
|
||||
src_prepare() {
|
||||
sed -Ei -e '/include/,/]/ { /(test_.*|LICENSE|README)/d }' pyproject.toml || die "Sed failed :-("
|
||||
default
|
||||
}
|
||||
|
||||
python_test() {
|
||||
# unit test
|
||||
eunittest -p "test_autoflake.py"
|
||||
}
|
||||
Reference in new issue
Block a user