From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1488312-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id D5A4215800F
	for <garchives@archives.gentoo.org>; Sun, 19 Feb 2023 19:46:39 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 869C3E0977;
	Sun, 19 Feb 2023 19:46:38 +0000 (UTC)
Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 7131CE0977
	for <gentoo-commits@lists.gentoo.org>; Sun, 19 Feb 2023 19:46:38 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id A07EB335CB4
	for <gentoo-commits@lists.gentoo.org>; Sun, 19 Feb 2023 19:46:37 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 720118AC
	for <gentoo-commits@lists.gentoo.org>; Sun, 19 Feb 2023 19:46:35 +0000 (UTC)
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" <mgorny@gentoo.org>
Message-ID: <1676835974.b4602479843b4d4b7defefe7ff0350cbb45dda65.mgorny@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pyopengl/
X-VCS-Repository: repo/gentoo
X-VCS-Files: dev-python/pyopengl/pyopengl-3.1.6-r2.ebuild
X-VCS-Directories: dev-python/pyopengl/
X-VCS-Committer: mgorny
X-VCS-Committer-Name: Michał Górny
X-VCS-Revision: b4602479843b4d4b7defefe7ff0350cbb45dda65
X-VCS-Branch: master
Date: Sun, 19 Feb 2023 19:46:35 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 8beb73c7-2dab-4d13-ade1-253f1589362d
X-Archives-Hash: a5ac0c3854a3bd55471efa206abf9a38

commit:     b4602479843b4d4b7defefe7ff0350cbb45dda65
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 19 17:10:08 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Feb 19 19:46:14 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b4602479

dev-python/pyopengl: Use pypi.eclass

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/pyopengl/pyopengl-3.1.6-r2.ebuild | 9 +++------
 1 file 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"