1 |
commit: e20b2115360e1a961ad845b4306becaf7eaf930c |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Feb 20 12:47:13 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Feb 20 14:02:56 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e20b2115 |
7 |
|
8 |
dev-python/pyopengl: Bump to 3.1.6 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/pyopengl/Manifest | 1 + |
13 |
dev-python/pyopengl/pyopengl-3.1.6.ebuild | 53 +++++++++++++++++++++++++++++++ |
14 |
2 files changed, 54 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/pyopengl/Manifest b/dev-python/pyopengl/Manifest |
17 |
index 51212db11bbb..6a39a331546b 100644 |
18 |
--- a/dev-python/pyopengl/Manifest |
19 |
+++ b/dev-python/pyopengl/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST PyOpenGL-3.1.5.tar.gz 1835295 BLAKE2B fd3b3e9970b3e704b09128402b401e23c584ba20de23082d019f5ab9e1e222efdfbd2e11ecff6ee748f41bad3a5ff089c57a5c354092e2f717b13e18108de2af SHA512 5d90fc68040b4886e46ff69a59be9e3a8e31e3e1295283756db86d50a1efe681986928e18eb55d20fd2660f863653301ea483425bbe24046f55085b44f4906eb |
22 |
+DIST PyOpenGL-3.1.6.tar.gz 1903892 BLAKE2B 7d1109a09703a7113aa9cc02994662df77bea1da63e81a8adbdc812514b71e04bfa51dad9e48c0e0b98327e4f7deda7a8590c340a38127d38e91659f38739220 SHA512 b6f2f083df0fd7cf8f8a1077f42fa388bce94c0edde00ed6492104af8306c9925b74649cd2c222be4205b0892e7975de2f7591d0f0bcd9540eb53c0de95fec00 |
23 |
|
24 |
diff --git a/dev-python/pyopengl/pyopengl-3.1.6.ebuild b/dev-python/pyopengl/pyopengl-3.1.6.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..ec4f372a73a8 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/pyopengl/pyopengl-3.1.6.ebuild |
29 |
@@ -0,0 +1,53 @@ |
30 |
+# Copyright 1999-2022 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+ |
35 |
+DISTUTILS_USE_PEP517=setuptools |
36 |
+PYTHON_REQ_USE="tk?" |
37 |
+PYTHON_COMPAT=( python3_{8..10} ) |
38 |
+ |
39 |
+inherit distutils-r1 virtualx |
40 |
+ |
41 |
+MY_PN="PyOpenGL" |
42 |
+MY_P="${MY_PN}-${PV}" |
43 |
+ |
44 |
+DESCRIPTION="Python OpenGL bindings" |
45 |
+HOMEPAGE="http://pyopengl.sourceforge.net/ https://pypi.org/project/PyOpenGL/" |
46 |
+SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" |
47 |
+S="${WORKDIR}/${MY_P}" |
48 |
+ |
49 |
+LICENSE="BSD" |
50 |
+SLOT="0" |
51 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" |
52 |
+IUSE="tk" |
53 |
+ |
54 |
+RDEPEND=" |
55 |
+ media-libs/freeglut |
56 |
+ virtual/opengl |
57 |
+ x11-libs/libXi |
58 |
+ x11-libs/libXmu |
59 |
+ tk? ( dev-tcltk/togl ) |
60 |
+" |
61 |
+DEPEND=" |
62 |
+ ${RDEPEND} |
63 |
+" |
64 |
+ |
65 |
+# The tests need an X server with the GLX extension. Software rendering |
66 |
+# under Xvfb works but only with llvmpipe, not softpipe or swr. |
67 |
+BDEPEND=" |
68 |
+ test? ( |
69 |
+ dev-python/numpy[${PYTHON_USEDEP}] |
70 |
+ dev-python/pygame[${PYTHON_USEDEP},opengl,X] |
71 |
+ !prefix? ( |
72 |
+ media-libs/mesa[llvm] |
73 |
+ x11-base/xorg-server[-minimal,xorg] |
74 |
+ ) |
75 |
+ ) |
76 |
+" |
77 |
+ |
78 |
+distutils_enable_tests pytest |
79 |
+ |
80 |
+src_test() { |
81 |
+ virtx distutils-r1_src_test |
82 |
+} |