dev-python/astor: enable py3.10, cleanup

Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
This commit is contained in:
Arthur Zamarin
2021-08-28 15:12:14 +03:00
parent ce5965469e
commit 7553584e92

View File

@@ -2,9 +2,8 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{8,9} )
DISTUTILS_USE_SETUPTOOLS=bdepend
PYTHON_COMPAT=( python3_{8..10} )
inherit distutils-r1
DESCRIPTION="Read/rewrite/write Python ASTs"
@@ -14,13 +13,9 @@ HOMEPAGE="https://pypi.org/project/astor/"
LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc x86"
IUSE=""
distutils_enable_tests pytest
python_prepare_all() {
# Tries to roundtrip every package on the system and is unreliable
rm -f tests/test_rtrip.py || die
distutils-r1_python_prepare_all
}
EPYTEST_IGNORE=(
tests/test_rtrip.py
)