diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-02-07 16:46:28 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-02-07 16:46:28 +0000 |
| commit | ad104f434e3a64aaeb730713e6e729a6623d3d78 (patch) | |
| tree | 5cc07213e9ec7a0a9b37ac9bad3fde76d4313dbc /dev-python/glcontext | |
| parent | 66803ee5a4746c216c857aeb8747130c4eb361e2 (diff) | |
| download | baldeagleos-repo-ad104f434e3a64aaeb730713e6e729a6623d3d78.tar.gz baldeagleos-repo-ad104f434e3a64aaeb730713e6e729a6623d3d78.tar.xz baldeagleos-repo-ad104f434e3a64aaeb730713e6e729a6623d3d78.zip | |
Adding metadata
Diffstat (limited to 'dev-python/glcontext')
| -rw-r--r-- | dev-python/glcontext/glcontext-2.3.7.ebuild | 22 |
1 files changed, 8 insertions, 14 deletions
diff --git a/dev-python/glcontext/glcontext-2.3.7.ebuild b/dev-python/glcontext/glcontext-2.3.7.ebuild index 6c7170a43072..cc9401ad1290 100644 --- a/dev-python/glcontext/glcontext-2.3.7.ebuild +++ b/dev-python/glcontext/glcontext-2.3.7.ebuild @@ -6,7 +6,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools PYTHON_COMPAT=( python3_{10..11} ) -inherit distutils-r1 +inherit distutils-r1 virtualx DESCRIPTION="Modern OpenGL binding for python" HOMEPAGE="https://github.com/moderngl/glcontext https://pypi.org/project/glcontext" @@ -31,18 +31,12 @@ BDEPEND=" " DEPEND="${BDEPEND}" -# Tests are deactivated because we cannot open display -# distutils_enable_tests pytest -# src_test() { -# virtx distutils-r1_src_test -# } - -# python_test() { -# cd "${T}" || die -# epytest "${S}"/tests || die "Tests failed with ${EPYTHON}" -# } +distutils_enable_tests pytest +src_test() { + virtx distutils-r1_src_test +} -pkg_postinst() { - use test && ewarn The tests for this package are deactivated because the test display can not be opened. - use test && ewarn If you know how to solve this issue, please do so. +python_test() { + cd "${T}" || die + epytest "${S}"/tests || die "Tests failed with ${EPYTHON}" } |
