diff options
author | Michał Górny <mgorny@gentoo.org> | 2020-08-02 08:20:27 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2020-08-02 08:45:55 +0200 |
commit | 8f1a209819639be39b9f64805f9c616bebf19fcc (patch) | |
tree | eb66ff3a5e27d7c30a9add93a09a93f1e0ca6a29 /dev-python/pyopengl | |
parent | dev-python/mpmath: EAPI 7 (diff) | |
download | gentoo-8f1a209819639be39b9f64805f9c616bebf19fcc.tar.gz gentoo-8f1a209819639be39b9f64805f9c616bebf19fcc.tar.bz2 gentoo-8f1a209819639be39b9f64805f9c616bebf19fcc.zip |
dev-python/pyopengl: Simplify testing
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/pyopengl')
-rw-r--r-- | dev-python/pyopengl/pyopengl-3.1.5.ebuild | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/dev-python/pyopengl/pyopengl-3.1.5.ebuild b/dev-python/pyopengl/pyopengl-3.1.5.ebuild index e5de8ed466e2..11b1332d0c87 100644 --- a/dev-python/pyopengl/pyopengl-3.1.5.ebuild +++ b/dev-python/pyopengl/pyopengl-3.1.5.ebuild @@ -14,12 +14,13 @@ MY_P="${MY_PN}-${PV}" DESCRIPTION="Python OpenGL bindings" HOMEPAGE="http://pyopengl.sourceforge.net/ https://pypi.org/project/PyOpenGL/" SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" +S="${WORKDIR}/${MY_P}" + # mirror://sourceforge/pyopengl/${MY_P}.tar.gz" # broken mirror for this release LICENSE="BSD" - SLOT="0" KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc x86 ~amd64-linux ~x86-linux" -IUSE="test tk" +IUSE="tk" RDEPEND=" media-libs/freeglut @@ -46,8 +47,8 @@ BDEPEND=" ) " -S="${WORKDIR}/${MY_P}" +distutils_enable_tests pytest -python_test() { - run_in_build_dir virtx pytest -vv "${S}"/tests +src_test() { + virtx distutils-r1_src_test } |