Files
gentoo/dev-python/astor/astor-0.8.1.ebuild
T
Agostino Sarubbo 792e5ef289 dev-python/astor: x86 stable wrt bug #706146
Package-Manager: Portage-2.3.84, Repoman-2.3.20
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo <ago@gentoo.org>
2020-02-11 20:46:22 +01:00

27 lines
591 B
Bash

# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python{3_6,3_7,3_8} )
DISTUTILS_USE_SETUPTOOLS=bdepend
inherit distutils-r1
DESCRIPTION="Read/rewrite/write Python ASTs"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
HOMEPAGE="https://pypi.org/project/astor/"
LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 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
}