mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-09 00:07:57 +03:00
31 lines
734 B
Bash
31 lines
734 B
Bash
# Copyright 2021-2025 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
PYTHON_COMPAT=( pypy3_11 python3_{11..14} )
|
|
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 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos"
|
|
|
|
RDEPEND="
|
|
>=dev-python/gast-0.7.0[${PYTHON_USEDEP}]
|
|
"
|
|
|
|
distutils_enable_tests unittest
|
|
|
|
PATCHES=(
|
|
# https://github.com/serge-sans-paille/beniget/commit/8234baaaa433a8d23445be1ac48e20f63e96d0e8
|
|
"${FILESDIR}/${P}-pypy311.patch"
|
|
)
|