mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
dev-python/astor: enable py3.10, cleanup
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
This commit is contained in:
@@ -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
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user