diff options
author | Michał Górny <mgorny@gentoo.org> | 2023-02-19 18:10:08 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2023-02-19 20:46:14 +0100 |
commit | b4602479843b4d4b7defefe7ff0350cbb45dda65 (patch) | |
tree | 50e38f2e01da4e8a66da27e684ad19b12449a36e /dev-python/pyopengl | |
parent | dev-python/pip: Update deselected test list (diff) | |
download | gentoo-b4602479843b4d4b7defefe7ff0350cbb45dda65.tar.gz gentoo-b4602479843b4d4b7defefe7ff0350cbb45dda65.tar.bz2 gentoo-b4602479843b4d4b7defefe7ff0350cbb45dda65.zip |
dev-python/pyopengl: Use pypi.eclass
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/pyopengl')
-rw-r--r-- | dev-python/pyopengl/pyopengl-3.1.6-r2.ebuild | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/dev-python/pyopengl/pyopengl-3.1.6-r2.ebuild b/dev-python/pyopengl/pyopengl-3.1.6-r2.ebuild index 44ac3dc91257..b6e9981b895c 100644 --- a/dev-python/pyopengl/pyopengl-3.1.6-r2.ebuild +++ b/dev-python/pyopengl/pyopengl-3.1.6-r2.ebuild @@ -7,10 +7,7 @@ DISTUTILS_USE_PEP517=setuptools PYTHON_REQ_USE="tk?" PYTHON_COMPAT=( python3_{9..11} ) -inherit distutils-r1 virtualx - -MY_PN="PyOpenGL" -MY_P="${MY_PN}-${PV}" +inherit distutils-r1 pypi virtualx DESCRIPTION="Python OpenGL bindings" HOMEPAGE=" @@ -19,11 +16,11 @@ HOMEPAGE=" https://pypi.org/project/PyOpenGL/ " SRC_URI=" - mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz + $(pypi_sdist_url --no-normalize PyOpenGL) https://github.com/mcfletch/pyopengl/commit/2d2457b4d565bce1c58b76b427e1f9027e8b4bcc.patch -> ${P}-glut-font-egl.patch " -S="${WORKDIR}/${MY_P}" +S="${WORKDIR}/PyOpenGL-${PV}" LICENSE="BSD" SLOT="0" |