dev-python/moderngl-window: disable py3.11, allow tests

Closes: https://bugs.gentoo.org/893396
Signed-off-by: Henri Gasc <gasc@eurecom.fr>
This commit is contained in:
Henri Gasc
2023-02-06 19:33:12 +01:00
parent 4dfd0b969d
commit 871ba81c11

View File

@@ -4,9 +4,9 @@
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{10..11} )
PYTHON_COMPAT=( python3_10 )
inherit distutils-r1
inherit distutils-r1 virtualx
DESCRIPTION="A cross platform utility library for ModernGL"
HOMEPAGE="https://github.com/moderngl/moderngl-window https://pypi.org/project/moderngl-window"
@@ -15,11 +15,26 @@ SRC_URI="https://github.com/moderngl/moderngl-window/archive/refs/tags/${PV}.tar
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
IUSE="test"
RDEPEND=""
BDEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
dev-python/wheel[${PYTHON_USEDEP}]
test? (
dev-python/pytest[${PYTHON_USEDEP}]
dev-python/tox[${PYTHON_USEDEP}]
dev-python/flake8[${PYTHON_USEDEP}]
dev-python/coverage[${PYTHON_USEDEP}]
dev-python/moderngl[${PYTHON_USEDEP}]
dev-python/glcontext[${PYTHON_USEDEP}]
dev-python/trimesh[${PYTHON_USEDEP}]
dev-python/PyWavefront[${PYTHON_USEDEP}]
)
"
DEPEND="${BDEPEND}"
distutils_enable_tests pytest
src_test() {
virtx distutils-r1_src_test
}