summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Zamarin <arthurzam@gentoo.org>2021-08-28 15:12:14 +0300
committerArthur Zamarin <arthurzam@gentoo.org>2021-08-28 16:53:07 +0300
commit7553584e92ec6aa0d12a6ef04fb842e25b72b58a (patch)
treeab4b64177b6d6d96d5b5827a369c5833bccbb0d9 /dev-python/astor
parentdev-python/astor: add github upstream metadata (diff)
downloadgentoo-7553584e92ec6aa0d12a6ef04fb842e25b72b58a.tar.gz
gentoo-7553584e92ec6aa0d12a6ef04fb842e25b72b58a.tar.bz2
gentoo-7553584e92ec6aa0d12a6ef04fb842e25b72b58a.zip
dev-python/astor: enable py3.10, cleanup
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'dev-python/astor')
-rw-r--r--dev-python/astor/astor-0.8.1.ebuild13
1 files 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 d3cba04651ba..379e71b65705 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
+)