diff options
author | Michał Górny <mgorny@gentoo.org> | 2023-11-17 19:42:39 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2023-11-17 21:39:25 +0100 |
commit | a698b60d933463d64685d428b80f2358597457e6 (patch) | |
tree | 6e2d8c7a8aeba2ab3652229c9e75bd0f129ef61e /dev-python/beniget | |
parent | dev-python/gast: Enable pypy3 (diff) | |
download | gentoo-a698b60d933463d64685d428b80f2358597457e6.tar.gz gentoo-a698b60d933463d64685d428b80f2358597457e6.tar.bz2 gentoo-a698b60d933463d64685d428b80f2358597457e6.zip |
dev-python/beniget: Enable pypy3
Sponsored-by: Ex Makhina, Inc. <info-gentoo@exmakhina.com>
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/beniget')
-rw-r--r-- | dev-python/beniget/beniget-0.4.1-r1.ebuild | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/dev-python/beniget/beniget-0.4.1-r1.ebuild b/dev-python/beniget/beniget-0.4.1-r1.ebuild index 3dc8e16d73a6..2724ad10c0f4 100644 --- a/dev-python/beniget/beniget-0.4.1-r1.ebuild +++ b/dev-python/beniget/beniget-0.4.1-r1.ebuild @@ -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 unittest -distutils_enable_tests setup.py +python_test() { + eunittest -s tests -p '*.py' +} |