dev-python/beniget: Enable pypy3

Sponsored-by: Ex Makhina, Inc. <info-gentoo@exmakhina.com>
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2023-11-17 19:42:39 +01:00
parent 6f94e04177
commit a698b60d93

View File

@@ -3,22 +3,31 @@
EAPI=8
PYTHON_COMPAT=( python3_{10..12} )
PYTHON_COMPAT=( pypy3 python3_{10..12} )
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1
DESCRIPTION="Extract semantic information about static Python code"
HOMEPAGE="
https://pypi.org/project/beniget/
https://github.com/serge-sans-paille/beniget/"
https://github.com/serge-sans-paille/beniget/
"
SRC_URI="
https://github.com/serge-sans-paille/beniget/archive/${PV}.tar.gz
-> ${P}.gh.tar.gz"
-> ${P}.gh.tar.gz
"
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*[${PYTHON_USEDEP}]"
RDEPEND="
=dev-python/gast-0.5*[${PYTHON_USEDEP}]
"
distutils_enable_tests setup.py
distutils_enable_tests unittest
python_test() {
eunittest -s tests -p '*.py'
}