From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1478510-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 4D40A15800F
	for <garchives@archives.gentoo.org>; Thu, 19 Jan 2023 01:20:59 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id B2661E0940;
	Thu, 19 Jan 2023 01:20:57 +0000 (UTC)
Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183])
	(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 939E5E0940
	for <gentoo-commits@lists.gentoo.org>; Thu, 19 Jan 2023 01:20:57 +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 A84FC340C02
	for <gentoo-commits@lists.gentoo.org>; Thu, 19 Jan 2023 01:20:56 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 6B719523
	for <gentoo-commits@lists.gentoo.org>; Thu, 19 Jan 2023 01:20:54 +0000 (UTC)
From: "Sam James" <sam@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, "Sam James" <sam@gentoo.org>
Message-ID: <1674090901.f3ae0804dfee895e5a94cf1c20c7ad2acbd30cd3.sam@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-r1.ebuild
X-VCS-Directories: dev-python/pyopengl/
X-VCS-Committer: sam
X-VCS-Committer-Name: Sam James
X-VCS-Revision: f3ae0804dfee895e5a94cf1c20c7ad2acbd30cd3
X-VCS-Branch: master
Date: Thu, 19 Jan 2023 01:20:54 +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: ce552f6f-295f-4908-afb9-5c2e53dec497
X-Archives-Hash: 4d0e406a5f4a9b45e4d1406596d07523

commit:     f3ae0804dfee895e5a94cf1c20c7ad2acbd30cd3
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 18 23:25:20 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Jan 19 01:15:01 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f3ae0804

dev-python/pyopengl: enable py3.11

Needs to be in ~arch because of pygame.

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-python/pyopengl/pyopengl-3.1.6-r1.ebuild | 53 ++++++++++++++++++++++++++++
 1 file changed, 53 insertions(+)

diff --git a/dev-python/pyopengl/pyopengl-3.1.6-r1.ebuild b/dev-python/pyopengl/pyopengl-3.1.6-r1.ebuild
new file mode 100644
index 000000000000..1c19aea56637
--- /dev/null
+++ b/dev-python/pyopengl/pyopengl-3.1.6-r1.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+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}"
+
+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}"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
+IUSE="tk"
+
+RDEPEND="
+	media-libs/freeglut
+	virtual/opengl
+	x11-libs/libXi
+	x11-libs/libXmu
+	tk? ( dev-tcltk/togl )
+"
+DEPEND="
+	${RDEPEND}
+"
+
+# The tests need an X server with the GLX extension. Software rendering
+# under Xvfb works but only with llvmpipe, not softpipe or swr.
+BDEPEND="
+	test? (
+		dev-python/numpy[${PYTHON_USEDEP}]
+		dev-python/pygame[${PYTHON_USEDEP},opengl,X]
+		!prefix? (
+			media-libs/mesa[llvm]
+			x11-base/xorg-server[-minimal,xorg]
+		)
+	)
+"
+
+distutils_enable_tests pytest
+
+src_test() {
+	virtx distutils-r1_src_test
+}