From 7553584e92ec6aa0d12a6ef04fb842e25b72b58a Mon Sep 17 00:00:00 2001 From: Arthur Zamarin Date: Sat, 28 Aug 2021 15:12:14 +0300 Subject: [PATCH] dev-python/astor: enable py3.10, cleanup Signed-off-by: Arthur Zamarin --- dev-python/astor/astor-0.8.1.ebuild | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/dev-python/astor/astor-0.8.1.ebuild b/dev-python/astor/astor-0.8.1.ebuild index d3cba04651ba5..379e71b65705d 100644 --- a/dev-python/astor/astor-0.8.1.ebuild +++ b/dev-python/astor/astor-0.8.1.ebuild @@ -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 +)