summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2024-06-28 06:29:24 +0200
committerMichał Górny <mgorny@gentoo.org>2024-06-28 07:19:46 +0200
commitac8c14990e509f09d8fd4387ef22c66f82a9917e (patch)
treee618b587f9284a47158e177d999b7e2f28640e79 /dev-python/beniget/beniget-0.4.2.ebuild
parentdev-python/cfn-lint: Bump to 1.4.2 (diff)
downloadgentoo-ac8c14990e509f09d8fd4387ef22c66f82a9917e.tar.gz
gentoo-ac8c14990e509f09d8fd4387ef22c66f82a9917e.tar.bz2
gentoo-ac8c14990e509f09d8fd4387ef22c66f82a9917e.zip
dev-python/beniget: Bump to 0.4.2
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/beniget/beniget-0.4.2.ebuild')
-rw-r--r--dev-python/beniget/beniget-0.4.2.ebuild33
1 files changed, 33 insertions, 0 deletions
diff --git a/dev-python/beniget/beniget-0.4.2.ebuild b/dev-python/beniget/beniget-0.4.2.ebuild
new file mode 100644
index 000000000000..e5a878b3b7bf
--- /dev/null
+++ b/dev-python/beniget/beniget-0.4.2.ebuild
@@ -0,0 +1,33 @@
+# Copyright 2021-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( pypy3 python3_{10..13} )
+DISTUTILS_USE_PEP517=setuptools
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Extract semantic information about static Python code"
+HOMEPAGE="
+ https://pypi.org/project/beniget/
+ https://github.com/serge-sans-paille/beniget/
+"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos"
+
+RDEPEND="
+ >=dev-python/gast-0.5.0[${PYTHON_USEDEP}]
+ dev-python/ordered-set[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests unittest
+
+src_prepare() {
+ distutils-r1_src_prepare
+
+ # https://github.com/serge-sans-paille/beniget/issues/104
+ rm beniget/beniget_std.py || die
+}