From 30c47f3c341cb37e4808aaa3842b679d0ca420e8 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 21 Jan 2025 06:42:16 +0000 Subject: gentoo auto-resync : 21:01:2025 - 06:42:16 --- dev-python/pyglet/Manifest | 4 +- dev-python/pyglet/pyglet-2.1.1.ebuild | 84 +++++++++++++++++++++++++++++++++ dev-python/pyglet/pyglet-2.1_rc3.ebuild | 84 --------------------------------- 3 files changed, 86 insertions(+), 86 deletions(-) create mode 100644 dev-python/pyglet/pyglet-2.1.1.ebuild delete mode 100644 dev-python/pyglet/pyglet-2.1_rc3.ebuild (limited to 'dev-python/pyglet') diff --git a/dev-python/pyglet/Manifest b/dev-python/pyglet/Manifest index 4a6fe62224ed..0a34e062f570 100644 --- a/dev-python/pyglet/Manifest +++ b/dev-python/pyglet/Manifest @@ -1,9 +1,9 @@ DIST pyglet-2.0.20.gh.tar.gz 6507362 BLAKE2B 43d1d60922f84e05da59ac970516fe33df4a7b86f8b30bb5c7433696d8b2414a2ccd7dbc1c3713f7bd92f1f5ce1c4547e28b65270132f4d7b4f8d4311f1e97ac SHA512 9a628206b758a07eb43efbc4e4d62e25e162885eb25e064a6e0dbfc045472baa57cbebc7c85a9cde0cebe1e3562304878b45f880b51e59c2b226a937da20565f DIST pyglet-2.0.21.gh.tar.gz 6507374 BLAKE2B a75177b5d6d18b29f48c764d68f89377f11a817bd6d7c5c13f8ea1620e1d9b911127599a9c7ff02ae8b10566724be551dc87f1b8f0105ef938afddb4be4efd5c SHA512 adbfac15fcc75d1dd768ef4af14f15fabef53a69b9f166691d387ebb1ba092170052bc99b254f3596decedcdc7e7880074665177f1821af9fca41e21502b7003 DIST pyglet-2.1.0.gh.tar.gz 6533224 BLAKE2B fed9421ae153f2d117f7ee5b136dab747e84c859383e6e12e5cdac7d9f3fa0476e33762a4a161f46cad087a791007ceba6e80706150a98079d5f2ba96f978128 SHA512 c13ac90600711b134b4770a8cb72e639ed440db79046585139b7ada92f35432b2357204d6d7e95ee457fe921dbce2c384c80a024bb44e7eae2d3ad69543343c8 -DIST pyglet-2.1.rc3.gh.tar.gz 6533959 BLAKE2B adba9ba8d105d832540e2296c0b5de32e8925b12c66cff2645f29a4cf89cc8d4db58ce4e7ed56b6fe1fafaeb1c229d876fceb57058b3367e382c6e751249cfcf SHA512 5a21b04a528aa7b7099af715930d6f81586690a521073716b4628904e44c6f9676cf5444954b15a49d1cea63928a99a95586fd245a95193a8d6f95ddd641e2f8 +DIST pyglet-2.1.1.gh.tar.gz 6535792 BLAKE2B 012574c472b5f7ec280bf15ad03a668733637890913f7bc555d2f2cf1a0c0232bb08b68605bb70ae13ae9738e4e0322660200bcd0b6a1248835bdea17f60218f SHA512 77dfd1b43e27c08fd9765bd266d04ff37e408868ed64cbb5e18a7906da5f101b1a9cbcf7861de89a97d1884d5d9c25478261c8e91fc7b437caadd242d3103a46 EBUILD pyglet-2.0.20.ebuild 1755 BLAKE2B 8ff37342f4e7cfd4d24ea8ab16d1fee15ad98025b4911778b3bec16a3213c33b8d26a74913cabf0ae8b3eb19af650608e47eb9ccc4d5bf3119732b277b80e8b2 SHA512 ab364bd633294e175e45596df1909ae1bb20a9379850faae6d6a7a8f3d2bfeef418293e1406da3762400d7d568acad9139abaae6d3475443825d9d694c274a9c EBUILD pyglet-2.0.21.ebuild 1755 BLAKE2B 3335ba85824156518892562efb91020bc2b1e58a3c74da4ec9c78e46216d6f202fb4dedaf0079fc48c4014782539f345d615fdf7b740db0afba7024b868cd687 SHA512 c7ee3979fda913718bb1208b57477a636032f1226829bf99dd2d0b331e580d5757180916823060fd52fcc2734d7373caa0df88af58f4886116fb20d2bbd35499 EBUILD pyglet-2.1.0.ebuild 1805 BLAKE2B 311492f7108f5ecadcb93dcb1f7bcc6211c389e389c77ecee8c239ca2acfefa1244e29053e9b3d56cb9e6dce01d5444788ac90e3171e6e50686f66e4deaf0152 SHA512 268158e451d7fbac2c6fc47811587404e823845d67d91aa92844c14063d561cb7dfedae2f5d2f7af8e67f15c1f70fe4647992ae7318c7dd773e2bf9cfc6de4d1 -EBUILD pyglet-2.1_rc3.ebuild 1805 BLAKE2B 46e10450e18a99aed0172a92e36d6b735ce43a0eeb70cd897697c1bc8f9d92fb855a6537fa4a49bcea40d6418fb2f92baac8d3d939f77f07b30660ae140f40d2 SHA512 f690e525245edd84392ede79e6a2350d05ba757bd61b5e18869b30452ca35bb0ad07279b85c21b9675ff9f8b79157b09328adbfe899add3cc9ef0068872a1355 +EBUILD pyglet-2.1.1.ebuild 1805 BLAKE2B 311492f7108f5ecadcb93dcb1f7bcc6211c389e389c77ecee8c239ca2acfefa1244e29053e9b3d56cb9e6dce01d5444788ac90e3171e6e50686f66e4deaf0152 SHA512 268158e451d7fbac2c6fc47811587404e823845d67d91aa92844c14063d561cb7dfedae2f5d2f7af8e67f15c1f70fe4647992ae7318c7dd773e2bf9cfc6de4d1 MISC metadata.xml 1092 BLAKE2B 51abba6b5545fb47d277edaca91fda755e885f08a9407f5cd3d468c8b0b86991b57d8d151e27d59755ea884ae894ed0e5c32d357b0d81e66eb9054ca6fc92055 SHA512 7e47cc4c39ebf827bf46423251df994a65c2af8ada9420b36810e36f245bbd810796bc8b02cbce182ff071bbd9dae0c9e5d9f5cb201349cd49fa311b3891dc2f diff --git a/dev-python/pyglet/pyglet-2.1.1.ebuild b/dev-python/pyglet/pyglet-2.1.1.ebuild new file mode 100644 index 000000000000..b53946c484de --- /dev/null +++ b/dev-python/pyglet/pyglet-2.1.1.ebuild @@ -0,0 +1,84 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=flit +PYTHON_COMPAT=( pypy3 python3_{10..13} ) + +inherit distutils-r1 virtualx xdg-utils + +MY_P=${P/_/.} +DESCRIPTION="Cross-platform windowing and multimedia library for Python" +HOMEPAGE=" + https://pyglet.org/ + https://github.com/pyglet/pyglet/ + https://pypi.org/project/pyglet/ +" +SRC_URI=" + https://github.com/pyglet/pyglet/archive/v${PV/_/.}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux" +IUSE="examples image +sound" + +RDEPEND=" + virtual/glu + virtual/opengl + image? ( + || ( + dev-python/pillow[${PYTHON_USEDEP}] + x11-libs/gtk+:2 + ) + ) + sound? ( + || ( + media-libs/libpulse + media-libs/openal + ) + ) +" +# ffmpeg? ( media-libs/avbin-bin ) +BDEPEND=" + test? ( + dev-python/pillow[${PYTHON_USEDEP}] + media-libs/fontconfig + ) +" + +distutils_enable_tests pytest + +src_test() { + virtx distutils-r1_src_test +} + +python_test() { + xdg_environment_reset + + local EPYTEST_DESELECT=( + # lacking device/server permissions + tests/unit/media/test_listener.py::test_openal_listener + tests/unit/media/test_listener.py::test_pulse_listener + # fragile to system load + tests/unit/media/test_player.py::PlayerTestCase::test_pause_resume + tests/unit/test_clock_freq.py::test_elapsed_time_between_tick + ) + + # Specify path to avoid running interactive tests + # We could add in integration tests, but they're slow + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + nonfatal epytest tests/unit || die "Tests failed with ${EPYTHON}" +} + +python_install_all() { + if use examples; then + dodoc -r examples + docompress -x /usr/share/doc/${PF}/examples + fi + + distutils-r1_python_install_all +} diff --git a/dev-python/pyglet/pyglet-2.1_rc3.ebuild b/dev-python/pyglet/pyglet-2.1_rc3.ebuild deleted file mode 100644 index 527153a64f9e..000000000000 --- a/dev-python/pyglet/pyglet-2.1_rc3.ebuild +++ /dev/null @@ -1,84 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=flit -PYTHON_COMPAT=( pypy3 python3_{10..13} ) - -inherit distutils-r1 virtualx xdg-utils - -MY_P=${P/_/.} -DESCRIPTION="Cross-platform windowing and multimedia library for Python" -HOMEPAGE=" - https://pyglet.org/ - https://github.com/pyglet/pyglet/ - https://pypi.org/project/pyglet/ -" -SRC_URI=" - https://github.com/pyglet/pyglet/archive/v${PV/_/.}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P} - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux" -IUSE="examples image +sound" - -RDEPEND=" - virtual/glu - virtual/opengl - image? ( - || ( - dev-python/pillow[${PYTHON_USEDEP}] - x11-libs/gtk+:2 - ) - ) - sound? ( - || ( - media-libs/libpulse - media-libs/openal - ) - ) -" -# ffmpeg? ( media-libs/avbin-bin ) -BDEPEND=" - test? ( - dev-python/pillow[${PYTHON_USEDEP}] - media-libs/fontconfig - ) -" - -distutils_enable_tests pytest - -src_test() { - virtx distutils-r1_src_test -} - -python_test() { - xdg_environment_reset - - local EPYTEST_DESELECT=( - # lacking device/server permissions - tests/unit/media/test_listener.py::test_openal_listener - tests/unit/media/test_listener.py::test_pulse_listener - # fragile to system load - tests/unit/media/test_player.py::PlayerTestCase::test_pause_resume - tests/unit/test_clock_freq.py::test_elapsed_time_between_tick - ) - - # Specify path to avoid running interactive tests - # We could add in integration tests, but they're slow - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - nonfatal epytest tests/unit || die "Tests failed with ${EPYTHON}" -} - -python_install_all() { - if use examples; then - dodoc -r examples - docompress -x /usr/share/doc/${PF}/examples - fi - - distutils-r1_python_install_all -} -- cgit v1.2.3