From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 3746715800F for ; Tue, 31 Jan 2023 17:13:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7F75DE0AD0; Tue, 31 Jan 2023 17:13:38 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 65925E0AD0 for ; Tue, 31 Jan 2023 17:13:38 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 91F1D340D5F for ; Tue, 31 Jan 2023 17:13:37 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E0CB762F for ; Tue, 31 Jan 2023 17:13:35 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1675185089.6ad66dc8a702af7da08ab8d07656a21679ef749d.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/astunparse/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/astunparse/astunparse-1.6.3-r1.ebuild X-VCS-Directories: dev-python/astunparse/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 6ad66dc8a702af7da08ab8d07656a21679ef749d X-VCS-Branch: master Date: Tue, 31 Jan 2023 17:13:35 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 76c658e0-a2f3-4610-ab72-cac95e048381 X-Archives-Hash: 19b9329ed7e5d2a0d907f5330addb3c7 commit: 6ad66dc8a702af7da08ab8d07656a21679ef749d Author: Michał Górny gentoo org> AuthorDate: Tue Jan 31 17:11:29 2023 +0000 Commit: Michał Górny gentoo org> CommitDate: Tue Jan 31 17:11:29 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ad66dc8 dev-python/astunparse: EAPI 8, PEP517 Signed-off-by: Michał Górny gentoo.org> dev-python/astunparse/astunparse-1.6.3-r1.ebuild | 38 ++++++++++++++++++++++++ 1 file changed, 38 insertions(+) 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 +}