diff options
Diffstat (limited to 'dev-python/astunparse')
-rw-r--r-- | dev-python/astunparse/Manifest | 1 | ||||
-rw-r--r-- | dev-python/astunparse/astunparse-1.6.3-r1.ebuild | 38 |
2 files changed, 39 insertions, 0 deletions
diff --git a/dev-python/astunparse/Manifest b/dev-python/astunparse/Manifest index a06a9bb5bc11..57a5a47e90c1 100644 --- a/dev-python/astunparse/Manifest +++ b/dev-python/astunparse/Manifest @@ -1,5 +1,6 @@ AUX astunparse-1.6.2-tests.patch 707 BLAKE2B 00d45b4b6bfdc70828d173985533345798a5982fa4f345e83c07e39c58dafffbf2a50ae1657df02769351a402e66faec443f7e63604ef457517e570803c50b3b SHA512 d1a86860548e0b904cc70017e0b5fa3a4e8da6bd1c03571e196e01a660d31a3ae03dec77c36945d7b5e53920b2531f0a7a0a5e3edc15b5a61c53ddafe83156d4 AUX astunparse-1.6.3-py39.patch 2466 BLAKE2B 8779b2a98e801f675f67e2f57b283401aa577f76bfc9633c0f17af9ee9c11f1508c3b23f4bba12040012e9796f887bb7253a40603f1777a1f8cb95c5cd080c4f SHA512 6bd1a46f48e96634f67ffbd49fce4a3e9251f030a1a4298455bbe92f09bdaf1d03ce807b9bd44b8e04218d80df72974570f2c4de00e617dc6557ce537fb2abcf DIST astunparse-1.6.3.tar.gz 18290 BLAKE2B d7e6fa3ba58c6e112eb84720832890f4515b1c4ed420587565cdff37da893c07eefd0b9eb00795a3eb08bf56834d65150298a6be65e524b0c267c38e6f9c20d1 SHA512 12e99b32524e551494d3053a57aeb646bca8a96a9aa17b0737e6dace6c11874e2e7633d82197cacc0b55622bea637030344ab45c8db57ef244bd63663799d2e9 +EBUILD astunparse-1.6.3-r1.ebuild 783 BLAKE2B f197682389357037e677fe3193c234a08e64f0fc6d385c3cee12ce7fe023f0de9606b6a65684faf1194084efb35377c0b4ad24faff6eaae1f28ec39d9e3a5b9f SHA512 7dc3b42c3ebfd782ca0b65b2c8941ca4bda4a210221cd46faed7df4dc4701762d3b03e91835f54c9d91eb2cf1a1afee0731f7ffc76232b37268e6ff76c0c09dd EBUILD astunparse-1.6.3.ebuild 702 BLAKE2B 9b9f5dd687d0e9ab81b0cc3138a5fbec9a730f2782f7faa5060525ae5d56c107d6a1325a0c73979ed0cc90725f70cb6a5fb9831af96a473043710385891d18ff SHA512 56843f5538ed864e63148bf02de0392a6182e16ef6a680bd3782f4c1056d554ceca0c3f6220ea071f8a16d3f8b85630155f560eb7f7ae9ad821a9b0e9ca9b799 MISC metadata.xml 423 BLAKE2B 2c4953145f52c0378af4a7170621e9d4060aaf20ea8a2adb5456cfecb4a6c3c223f1d5b75972a7512c4aac8210e1f62b8c0e07089e09c372e1e8564769aac9dc SHA512 d693f6f76e67227bb63323d8d6564ad3727c193e00aa5bd8ceae1ea99bb6dbd35521d97e332220a3541b0e5369928b491385ec2278279b410504920148a923b1 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 +} |