public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "James Le Cuirot" <chewi@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pyopengl/
Date: Thu, 23 Apr 2020 21:24:30 +0000 (UTC)	[thread overview]
Message-ID: <1587677049.1eedd403f0770aed89b199ad13811b5474ff63f9.chewi@gentoo> (raw)

commit:     1eedd403f0770aed89b199ad13811b5474ff63f9
Author:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 23 21:20:44 2020 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Thu Apr 23 21:24:09 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1eedd403

dev-python/pyopengl: Bump to 3.1.5, EAPI 7, add src_test

The tests pass on amd64 and ppc64le. 3 of the OpenGL-related tests
fail on ppc64be but OpenGL is known to be problematic on this
platform.

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>

 dev-python/pyopengl/Manifest              |  1 +
 dev-python/pyopengl/pyopengl-3.1.5.ebuild | 53 +++++++++++++++++++++++++++++++
 2 files changed, 54 insertions(+)

diff --git a/dev-python/pyopengl/Manifest b/dev-python/pyopengl/Manifest
index a8086067009..1f5c1661877 100644
--- a/dev-python/pyopengl/Manifest
+++ b/dev-python/pyopengl/Manifest
@@ -1 +1,2 @@
 DIST PyOpenGL-3.1.0.tar.gz 1172688 BLAKE2B 9865a10e8b5d2756192077b4b079658c680b9f47bdaccb33285fb1942bc678b29f6a69359a1486ec023b1a73d714a7e0209b2f57776fe8b5e4a5e2d0803dba4f SHA512 f748017ab3734c7672c3fdbedcea80df297a91a78b111533e260feb0868ebb02935666c041f77db03841ee8f90057d9c53c53b00b097aae4cf67a52c7fc9c2eb
+DIST PyOpenGL-3.1.5.tar.gz 1835295 BLAKE2B fd3b3e9970b3e704b09128402b401e23c584ba20de23082d019f5ab9e1e222efdfbd2e11ecff6ee748f41bad3a5ff089c57a5c354092e2f717b13e18108de2af SHA512 5d90fc68040b4886e46ff69a59be9e3a8e31e3e1295283756db86d50a1efe681986928e18eb55d20fd2660f863653301ea483425bbe24046f55085b44f4906eb

diff --git a/dev-python/pyopengl/pyopengl-3.1.5.ebuild b/dev-python/pyopengl/pyopengl-3.1.5.ebuild
new file mode 100644
index 00000000000..74b0b47b95c
--- /dev/null
+++ b/dev-python/pyopengl/pyopengl-3.1.5.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_REQ_USE="tk?"
+PYTHON_COMPAT=( python3_{7,8} )
+
+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"
+#	mirror://sourceforge/pyopengl/${MY_P}.tar.gz" # broken mirror for this release
+LICENSE="BSD"
+
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
+IUSE="test 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]
+		dev-python/pytest[${PYTHON_USEDEP}]
+		!prefix? (
+			media-libs/mesa[llvm]
+			x11-base/xorg-server[-minimal,xorg]
+		)
+	)
+"
+
+S="${WORKDIR}/${MY_P}"
+
+python_test() {
+	run_in_build_dir virtx pytest -v "${S}"/tests
+}


             reply	other threads:[~2020-04-23 21:24 UTC|newest]

Thread overview: 69+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-23 21:24 James Le Cuirot [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-10-08 19:13 [gentoo-commits] repo/gentoo:master commit in: dev-python/pyopengl/ Arthur Zamarin
2024-10-05 11:48 Arthur Zamarin
2024-10-05  9:06 Arthur Zamarin
2024-10-05  9:06 Arthur Zamarin
2024-10-05  8:30 Sam James
2024-08-25 18:38 Arthur Zamarin
2024-07-02 16:05 Michał Górny
2024-05-19 19:43 Arthur Zamarin
2024-01-05 12:56 Michał Górny
2023-12-20  8:29 Michał Górny
2023-12-20  2:34 Ionen Wolkens
2023-12-14  4:15 Sam James
2023-11-10 18:44 Michał Górny
2023-06-27 10:24 Sam James
2023-06-27  7:54 Sam James
2023-06-27  7:14 Sam James
2023-06-27  6:55 Sam James
2023-06-27  6:43 Sam James
2023-05-24  7:02 Michał Górny
2023-03-26 16:21 Michał Górny
2023-03-26 16:04 Arthur Zamarin
2023-03-26 16:04 Arthur Zamarin
2023-03-25  1:43 Sam James
2023-03-24 20:06 Arthur Zamarin
2023-03-24 14:19 Arthur Zamarin
2023-03-24 10:49 Arthur Zamarin
2023-03-22  9:37 Sam James
2023-02-19 19:46 Michał Górny
2023-02-12 19:41 Michał Górny
2023-02-12 19:41 Michał Górny
2023-02-12 19:41 Michał Górny
2023-01-19  1:20 Sam James
2022-04-14  8:11 Agostino Sarubbo
2022-04-02 12:04 Arthur Zamarin
2022-04-02  7:33 Arthur Zamarin
2022-04-01 12:27 Arthur Zamarin
2022-04-01  5:15 Arthur Zamarin
2022-03-31 12:40 Jakov Smolić
2022-03-31 12:34 Jakov Smolić
2022-02-28  7:06 Yixun Lan
2022-02-20 14:03 Michał Górny
2021-10-04 14:22 Arthur Zamarin
2021-02-25  8:44 Michał Górny
2021-02-25  8:33 Sam James
2021-02-25  8:30 Sam James
2020-11-30 21:12 Sergei Trofimovich
2020-09-25 20:22 Michał Górny
2020-08-14 18:02 Sergei Trofimovich
2020-08-02  6:46 Michał Górny
2020-08-02  6:46 Michał Górny
2020-07-26  0:46 Sam James
2020-07-10  0:15 Sam James
2020-07-06 12:43 Michał Górny
2020-04-26  2:11 Patrick McLean
2019-05-27 23:41 Aaron Bauman
2017-06-27  9:16 Alexis Ballier
2017-05-03  9:26 Michał Górny
2017-04-26  6:24 Tim Harder
2017-02-24 18:01 Markus Meier
2017-01-25  9:27 Tobias Klausmann
2017-01-23 16:27 Agostino Sarubbo
2017-01-23  6:11 Jeroen Roovers
2017-01-22 16:27 Agostino Sarubbo
2017-01-21 20:33 Agostino Sarubbo
2017-01-20 11:05 Agostino Sarubbo
2017-01-19 10:59 Agostino Sarubbo
2017-01-18 16:52 Agostino Sarubbo
2016-03-28 22:58 Kacper Kowalik

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1587677049.1eedd403f0770aed89b199ad13811b5474ff63f9.chewi@gentoo \
    --to=chewi@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox