diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-12 19:09:37 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-12 19:09:37 -0500 |
| commit | b590c8d7572b727d565cc0b8ff660d43569845de (patch) | |
| tree | 06f7a4102ea4e845df8b66660f252920d52952f9 /dev-python/pyopengl | |
| parent | 24f9cbfc4c34fdb6a6e03311674414e881ceab47 (diff) | |
| download | baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.gz baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.xz baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.zip | |
Adding metadata
Diffstat (limited to 'dev-python/pyopengl')
| -rw-r--r-- | dev-python/pyopengl/Manifest | 2 | ||||
| -rw-r--r-- | dev-python/pyopengl/metadata.xml | 9 | ||||
| -rw-r--r-- | dev-python/pyopengl/pyopengl-3.1.10.ebuild | 67 |
3 files changed, 78 insertions, 0 deletions
diff --git a/dev-python/pyopengl/Manifest b/dev-python/pyopengl/Manifest new file mode 100644 index 000000000000..0d133e325e3e --- /dev/null +++ b/dev-python/pyopengl/Manifest @@ -0,0 +1,2 @@ +DIST pyopengl-3.1.10.tar.gz 1915580 BLAKE2B 9c050c077b552f64253d930a38e8ddfc5ddb236d2f01b891dff37e42c9964a161c449ff467804e7f3feb4d2f1e4348047ff573cd12a9f2e977d180d5c5a3d79b SHA512 f11c94e442e0954453974900de5c1ef984d19f92ffc152fcc904a81aedc39ed294f4c51a6f1247e85499224f60422c4567e52516c156079d4efabbdd437e8f7d +DIST pyopengl-3.1.10.tar.gz.provenance 9463 BLAKE2B 292b979c210d379a14a3b4c09033335dfa890447a80f21f2aa5ff3114021a5ccdcab1b8d0fa94f4ced4a052c9aa5f4779780940ce4d4db7e80cfdfb653f6bb92 SHA512 7ee52da53395b31f7d41ecd5d37b04026f7c77d4cf1d3d53d3f344f80490ad16a171a0ebddf623eb8ac35a197a1aaac548c45b64b7faba3b78853d17128827a5 diff --git a/dev-python/pyopengl/metadata.xml b/dev-python/pyopengl/metadata.xml new file mode 100644 index 000000000000..acfe7097587e --- /dev/null +++ b/dev-python/pyopengl/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> + <origin>baldeagleos-repo</origin> +</pkgmetadata> diff --git a/dev-python/pyopengl/pyopengl-3.1.10.ebuild b/dev-python/pyopengl/pyopengl-3.1.10.ebuild new file mode 100644 index 000000000000..aa72fcb8b37e --- /dev/null +++ b/dev-python/pyopengl/pyopengl-3.1.10.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_PN=PyOpenGL +PYPI_VERIFY_REPO=https://github.com/mcfletch/pyopengl +PYTHON_REQ_USE="tk?" +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 pypi virtualx + +DESCRIPTION="Python OpenGL bindings" +HOMEPAGE=" + https://pyopengl.sourceforge.net/ + https://github.com/mcfletch/pyopengl/ + https://pypi.org/project/PyOpenGL/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ppc ppc64 ~riscv x86" +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] + dev-python/python-xlib[${PYTHON_USEDEP}] + !prefix? ( + media-libs/mesa[llvm] + x11-base/xorg-server[-minimal,xorg] + ) + ) +" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # fragile memory tests + tests/test_checks.py::test_test_glgetfloat_leak + tests/test_vbo_memusage.py::test_sf_2980896 + # missing EGL stuffs? + tests/test_checks.py::test_check_egl_es2 + tests/test_checks.py::test_egl_ext_enumerate + # TODO + tests/test_core.py::TestCore::test_glCallLists_twice2 +) + +src_test() { + virtx distutils-r1_src_test +} |
