diff options
author | 2019-12-11 16:54:28 +0800 | |
---|---|---|
committer | 2019-12-11 16:55:00 +0800 | |
commit | 17db9eb9aedbc67d55496d5c8303cfc48acd763e (patch) | |
tree | 137932e83b19e1db69c768d2c47923adb130e4c6 /dev-python/astor/astor-0.8.1.ebuild | |
parent | Revert "sci-libs/tensorflow: drop unneeded dep for zip" (diff) | |
download | gentoo-17db9eb9aedbc67d55496d5c8303cfc48acd763e.tar.gz gentoo-17db9eb9aedbc67d55496d5c8303cfc48acd763e.tar.bz2 gentoo-17db9eb9aedbc67d55496d5c8303cfc48acd763e.zip |
dev-python/astor: bump 0.8.1
Add python3_8 and switch testrunner to pytest
Package-Manager: Portage-2.3.79, Repoman-2.3.16
Signed-off-by: Jason Zaman <perfinion@gentoo.org>
Diffstat (limited to 'dev-python/astor/astor-0.8.1.ebuild')
-rw-r--r-- | dev-python/astor/astor-0.8.1.ebuild | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/dev-python/astor/astor-0.8.1.ebuild b/dev-python/astor/astor-0.8.1.ebuild new file mode 100644 index 000000000000..c4da9ca17c5b --- /dev/null +++ b/dev-python/astor/astor-0.8.1.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python{2_7,3_5,3_6,3_7,3_8} pypy ) +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 +} |