From: | Benda XU <heroxbd@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] repo/gentoo:master commit in: dev-python/pyopengl_accelerate/ |
Date: | Wed, 01 Feb 2023 15:28:56 |
Message-Id: | 1675265029.c9306fe1505539d433d6ca45d41337b83c01f651.heroxbd@gentoo |
1 | commit: c9306fe1505539d433d6ca45d41337b83c01f651 |
2 | Author: Benda Xu <heroxbd <AT> gentoo <DOT> org> |
3 | AuthorDate: Wed Feb 1 09:50:45 2023 +0000 |
4 | Commit: Benda XU <heroxbd <AT> gentoo <DOT> org> |
5 | CommitDate: Wed Feb 1 15:23:49 2023 +0000 |
6 | URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c9306fe1 |
7 | |
8 | dev-python/pyopengl_accelerate: enable py3.11 with new revision. |
9 | |
10 | Closes: https://bugs.gentoo.org/892796 |
11 | Closes: https://github.com/gentoo/gentoo/pull/29377 |
12 | Signed-off-by: Benda Xu <heroxbd <AT> gentoo.org> |
13 | |
14 | .../pyopengl_accelerate-3.1.6-r1.ebuild | 43 ++++++++++++++++++++++ |
15 | 1 file changed, 43 insertions(+) |
16 | |
17 | diff --git a/dev-python/pyopengl_accelerate/pyopengl_accelerate-3.1.6-r1.ebuild b/dev-python/pyopengl_accelerate/pyopengl_accelerate-3.1.6-r1.ebuild |
18 | new file mode 100644 |
19 | index 000000000000..79c9b7e3138f |
20 | --- /dev/null |
21 | +++ b/dev-python/pyopengl_accelerate/pyopengl_accelerate-3.1.6-r1.ebuild |
22 | @@ -0,0 +1,43 @@ |
23 | +# Copyright 1999-2023 Gentoo Authors |
24 | +# Distributed under the terms of the GNU General Public License v2 |
25 | + |
26 | +EAPI=8 |
27 | + |
28 | +DISTUTILS_USE_PEP517=setuptools |
29 | +PYTHON_COMPAT=( python3_{9..11} ) |
30 | + |
31 | +inherit distutils-r1 |
32 | + |
33 | +EGIT_COMMIT="227f9c66976d9f5dadf62b9a97e6beaec84831ca" |
34 | +DESCRIPTION="Accelerate module for PyOpenGL" |
35 | +HOMEPAGE=" |
36 | + http://pyopengl.sourceforge.net/ |
37 | + https://github.com/mcfletch/pyopengl/ |
38 | + https://pypi.org/project/PyOpenGL-accelerate/" |
39 | +SRC_URI=" |
40 | + https://github.com/mcfletch/pyopengl/archive/${EGIT_COMMIT}.tar.gz |
41 | + -> pyopengl-${EGIT_COMMIT}.gh.tar.gz" |
42 | +S=${WORKDIR}/pyopengl-${EGIT_COMMIT}/accelerate |
43 | + |
44 | +LICENSE="BSD" |
45 | +SLOT="0" |
46 | +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
47 | +IUSE="" |
48 | + |
49 | +RDEPEND="dev-python/pyopengl[${PYTHON_USEDEP}]" |
50 | +BDEPEND=" |
51 | + dev-python/cython[${PYTHON_USEDEP}] |
52 | + test? ( |
53 | + dev-python/numpy[${PYTHON_USEDEP}] |
54 | + )" |
55 | + |
56 | +distutils_enable_tests pytest |
57 | + |
58 | +python_test() { |
59 | + cd "${T}" || die |
60 | + epytest "${S}"/tests |
61 | +} |
62 | + |
63 | +src_configure() { |
64 | + rm src/*.c || die |
65 | +} |