commit:     7553584e92ec6aa0d12a6ef04fb842e25b72b58a
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 28 12:12:14 2021 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Aug 28 13:53:07 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7553584e

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

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 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 d3cba04651b..379e71b6570 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
+)

Reply via email to