From b4602479843b4d4b7defefe7ff0350cbb45dda65 Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Sun, 19 Feb 2023 18:10:08 +0100 Subject: dev-python/pyopengl: Use pypi.eclass MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/pyopengl/pyopengl-3.1.6-r2.ebuild | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'dev-python/pyopengl') 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" -- cgit v1.2.3-65-gdbad