From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pyopengl_accelerate/
Date: Wed, 18 Sep 2024 02:46:11 +0000 (UTC) [thread overview]
Message-ID: <1726627534.676782b7057fa7772134b4f7d889b7ac2833cbf9.sam@gentoo> (raw)
commit: 676782b7057fa7772134b4f7d889b7ac2833cbf9
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Sep 18 02:44:42 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Sep 18 02:45:34 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=676782b7
dev-python/pyopengl_accelerate: add 3.1.8
Closes: https://bugs.gentoo.org/876945
Closes: https://bugs.gentoo.org/919277
Closes: https://bugs.gentoo.org/934817
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-python/pyopengl_accelerate/Manifest | 1 +
.../pyopengl_accelerate-3.1.8.ebuild | 63 ++++++++++++++++++++++
2 files changed, 64 insertions(+)
diff --git a/dev-python/pyopengl_accelerate/Manifest b/dev-python/pyopengl_accelerate/Manifest
index ffaefcbf0395..2d9c91367cba 100644
--- a/dev-python/pyopengl_accelerate/Manifest
+++ b/dev-python/pyopengl_accelerate/Manifest
@@ -1 +1,2 @@
DIST pyopengl-release-3.1.7.gh.tar.gz 3310131 BLAKE2B 37d64a0e0f3ced1965a7285ac7a0afb774b1e5ef630e42d86e40bb65176af7f0aa44accee50d3b32eb87a13c76535a3239359ea2c5bea385e20f1b1ec1a8b636 SHA512 a6cd28b15964e55e8a808477138ad03eb212501d9f4723603c405932963aedca83b91ff19e510ca181cc9800f2a22968b2913b70a975b7797f3bcad112c6c0b4
+DIST pyopengl-release-3.1.8.gh.tar.gz 3599436 BLAKE2B 7f33345d68d66d3cc81278eaa5f54298694f41f40583ee08a1f9f677705fb4414b6b2afbcd7b9345199b5f573478bfeba050e185b6534cbb19b45cb25c241b47 SHA512 d95014a36bd889fa014043e4640ba7f319bb996cb56e5f7086ee05d39c53d3928512d52b0ce181d7c144775a4da7eff7403cada0f91f23f56a699a1b023e00e6
diff --git a/dev-python/pyopengl_accelerate/pyopengl_accelerate-3.1.8.ebuild b/dev-python/pyopengl_accelerate/pyopengl_accelerate-3.1.8.ebuild
new file mode 100644
index 000000000000..ae2f3ee96966
--- /dev/null
+++ b/dev-python/pyopengl_accelerate/pyopengl_accelerate-3.1.8.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_EXT=1
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..13} )
+
+inherit distutils-r1
+
+MY_P=pyopengl-release-${PV}
+DESCRIPTION="Accelerate module for PyOpenGL"
+HOMEPAGE="
+ https://pyopengl.sourceforge.net/
+ https://github.com/mcfletch/pyopengl/
+ https://pypi.org/project/PyOpenGL-accelerate/
+"
+SRC_URI="
+ https://github.com/mcfletch/pyopengl/archive/release-${PV}.tar.gz
+ -> ${MY_P}.gh.tar.gz
+"
+S=${WORKDIR}/${MY_P}/accelerate
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="numpy"
+
+DEPEND="
+ numpy? (
+ dev-python/numpy[${PYTHON_USEDEP}]
+ )
+"
+RDEPEND="
+ ${DEPEND}
+ dev-python/pyopengl[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ dev-python/cython[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests pytest
+
+src_configure() {
+ rm src/*.c || die
+
+ if ! use numpy; then
+ cat > "${T}"/numpy.py <<-EOF || die
+ raise ImportError("building numpy extension disabled")
+ EOF
+ fi
+}
+
+python_compile() {
+ local -x PYTHONPATH=${T}:${PYTHONPATH}
+ distutils-r1_python_compile
+}
+
+python_test() {
+ cd "${T}" || die
+ epytest "${S}"/tests
+}
next reply other threads:[~2024-09-18 2:46 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-18 2:46 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-10-05 9:10 [gentoo-commits] repo/gentoo:master commit in: dev-python/pyopengl_accelerate/ Michał Górny
2024-10-05 8:46 Arthur Zamarin
2024-10-05 8:42 Arthur Zamarin
2024-04-02 12:00 Andrew Ammerlaan
2024-03-21 15:19 Michał Górny
2023-06-27 12:05 Michał Górny
2023-06-27 7:54 Sam James
2023-06-27 6:55 Sam James
2023-05-24 7:02 Michał Górny
2023-05-04 16:30 Michał Górny
2023-03-26 19:46 Michał Górny
2023-03-26 18:08 Sam James
2023-03-26 18:06 Sam James
2023-02-01 15:28 Benda XU
2022-03-28 10:14 Michał Górny
2022-03-28 6:51 Agostino Sarubbo
2022-03-27 6:27 Agostino Sarubbo
2022-02-20 14:03 Michał Górny
2020-08-05 15:10 Michał Górny
2020-08-02 8:17 Michał Górny
2020-06-08 11:04 Michał Górny
2020-06-08 11:04 Michał Górny
2020-03-28 18:03 Michał Górny
2020-03-08 10:42 Agostino Sarubbo
2020-03-08 10:37 Agostino Sarubbo
2020-02-05 19:53 Michał Górny
2019-08-10 23:31 Alexey Shvetsov
2019-08-04 13:44 Alexey Shvetsov
2016-02-22 11:11 Michael Weber
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=1726627534.676782b7057fa7772134b4f7d889b7ac2833cbf9.sam@gentoo \
--to=sam@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