diff options
Diffstat (limited to 'dev-python/pyopengl')
-rw-r--r-- | dev-python/pyopengl/Manifest | 2 | ||||
-rw-r--r-- | dev-python/pyopengl/pyopengl-3.1.7.ebuild | 54 |
2 files changed, 56 insertions, 0 deletions
diff --git a/dev-python/pyopengl/Manifest b/dev-python/pyopengl/Manifest index 1af63b709a4e..04337a8f9071 100644 --- a/dev-python/pyopengl/Manifest +++ b/dev-python/pyopengl/Manifest @@ -1,4 +1,6 @@ DIST PyOpenGL-3.1.6.tar.gz 1903892 BLAKE2B 7d1109a09703a7113aa9cc02994662df77bea1da63e81a8adbdc812514b71e04bfa51dad9e48c0e0b98327e4f7deda7a8590c340a38127d38e91659f38739220 SHA512 b6f2f083df0fd7cf8f8a1077f42fa388bce94c0edde00ed6492104af8306c9925b74649cd2c222be4205b0892e7975de2f7591d0f0bcd9540eb53c0de95fec00 +DIST PyOpenGL-3.1.7.tar.gz 1896446 BLAKE2B 3fd4c84bb59157b4a6ee09c2a5ecd0e4f548bf03a84d735acfd92453eafb92102677a2b9c98831a92be33e873630c815dee453745d630a4d6b044771a13c945c SHA512 add1b4d02e7297f00f82a9c9249d6665029073fe620a1650491af9102a76a16e9320b5f227275b0c273ff5a616c284fd9f25f0f425848676c37cab9f3c22ae2e DIST pyopengl-3.1.6-glut-font-egl.patch 1430 BLAKE2B 4b8962045b1efce2b4ec8ca759689d880e8df074e98c8c680172fd01d6cfbae33148cef41c46c7d1231674836d0009626ccedd873fcfe35f644fe9a2aaab2d5e SHA512 a0c491bca31cff312a2f431f89109cbf3aff276aee375325cacc5c6ebe37ad2119072ad7658e11b56efd62b18b8ed2642de999c79b0c999414e44c2b1ec7225b EBUILD pyopengl-3.1.6-r2.ebuild 1325 BLAKE2B f507bf93ea395338ced8083eb4d7b14998c896f2429552fb4cad59584ecacf64f0464f7972ee6f176ce46b8a56ae99b1def6797d4531bf1ea8822881c217689b SHA512 ce8a86b23aaddecb5f9359d59a9271660af74791a6c85424704e83baefd1deb11e362a5a6842b59b464e59d62e00defcead9e764a0ce1793a30a180a506bbc9b +EBUILD pyopengl-3.1.7.ebuild 1111 BLAKE2B a18c93e0f6f3573d5eb0eefaabb570facc487abf4a223bc419fae9d0d7294b7416fee6544463c2fd795b628d3463a1b32a8ade8c4993fb0b4d7c91158aa3ab27 SHA512 e28c10378d8f0fc692043675bedf2f49cce23ca5c432d9bc112c4e6e2628d9961af79ebac394769d5f4a02ca267b72504fb14c424a9f94a114bf5db5e45e31a9 MISC metadata.xml 422 BLAKE2B c9ee324fb408e8d0856193fde1324109e77c97f28fff0dc83d9c903cf3e2385c3401d8f949d50fc2e2a9c41b79c421298e04fc79639b79352138f41aeafb7018 SHA512 bedbbc7fcafc2c625f79241e75faeafd0d3c37b4186b5ef8842e8612d9527a4991f208b1878b1f1e28f4056eab2104e7acb57814e39ee82c0208d6f93fbb7b85 diff --git a/dev-python/pyopengl/pyopengl-3.1.7.ebuild b/dev-python/pyopengl/pyopengl-3.1.7.ebuild new file mode 100644 index 000000000000..eb23b2548a26 --- /dev/null +++ b/dev-python/pyopengl/pyopengl-3.1.7.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 +PYPI_PN=PyOpenGL +PYTHON_REQ_USE="tk?" +PYTHON_COMPAT=( python3_{10..11} ) + +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 ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" +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] + !prefix? ( + media-libs/mesa[llvm] + x11-base/xorg-server[-minimal,xorg] + ) + ) +" + +distutils_enable_tests pytest + +src_test() { + virtx distutils-r1_src_test +} |