From 6ad66dc8a702af7da08ab8d07656a21679ef749d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Tue, 31 Jan 2023 18:11:29 +0100 Subject: dev-python/astunparse: EAPI 8, PEP517 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/astunparse/astunparse-1.6.3-r1.ebuild | 38 ++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 dev-python/astunparse/astunparse-1.6.3-r1.ebuild (limited to 'dev-python/astunparse') diff --git a/dev-python/astunparse/astunparse-1.6.3-r1.ebuild b/dev-python/astunparse/astunparse-1.6.3-r1.ebuild new file mode 100644 index 000000000000..eccebf021ee7 --- /dev/null +++ b/dev-python/astunparse/astunparse-1.6.3-r1.ebuild @@ -0,0 +1,38 @@ +# Copyright 2020-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9..10} ) + +inherit distutils-r1 + +DESCRIPTION="Astun parser for python" +HOMEPAGE=" + https://github.com/simonpercivall/astunparse/ + https://pypi.org/project/astunparse/ +" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86" + +RDEPEND=" + >=dev-python/six-1.6.1[${PYTHON_USEDEP}] + >=dev-python/wheel-0.23.0[${PYTHON_USEDEP}] +" + +PATCHES=( + "${FILESDIR}/astunparse-1.6.2-tests.patch" + # from Fedora + "${FILESDIR}/${P}-py39.patch" +) + +distutils_enable_tests unittest + +python_install_all() { + distutils-r1_python_install_all + dodoc *.rst +} -- cgit v1.2.3