From 0f558761aa2dee1017b4751e4017205e015a9560 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 29 Jun 2022 12:04:12 +0100 Subject: gentoo resync : 29.12.2022 --- dev-python/pyglet/Manifest | 6 +-- dev-python/pyglet/metadata.xml | 1 + dev-python/pyglet/pyglet-1.5.23.ebuild | 63 ----------------------------- dev-python/pyglet/pyglet-1.5.26.ebuild | 73 ++++++++++++++++++++++++++++++++++ 4 files changed, 77 insertions(+), 66 deletions(-) delete mode 100644 dev-python/pyglet/pyglet-1.5.23.ebuild create mode 100644 dev-python/pyglet/pyglet-1.5.26.ebuild (limited to 'dev-python/pyglet') diff --git a/dev-python/pyglet/Manifest b/dev-python/pyglet/Manifest index 17238e2611df..250a21832547 100644 --- a/dev-python/pyglet/Manifest +++ b/dev-python/pyglet/Manifest @@ -1,3 +1,3 @@ -DIST pyglet-1.5.23.tar.gz 6532823 BLAKE2B 0f69766ff424385c623c0b5bbca74741f4a55008365a90617a8f688954cbd58e898f733b893ef5dc2e1a25f9aab400e1d6f17bb932353f1f4f339e73f79406d5 SHA512 ed088ee37521d8594cb7fd017f86c3ce0f8e8794bc628c5404cbe2d33fb56db0fa306e83e89be7d132be68be73619fdd30d4410cd04a3bcb2f5f012443fb8ed8 -EBUILD pyglet-1.5.23.ebuild 1373 BLAKE2B b670720c2d7f0320b44b17057f5fba60557298d0548cc0929c42b3a2a1f1d651ed933989d598630863089b305af1a70b7a6dd20f395471429fad0313a30cce27 SHA512 a1ddc286f99319e90daf93aa8cc55388ce688d77213979858024ae8081eb52ac653437e35a2614b5918fcbe93f519c28dc2863613369c0e1a4209bfdf1f8dba1 -MISC metadata.xml 1037 BLAKE2B ebbed18b0f2da5a586f2b97e18a01f8464455ba32ab74919501b9940e8c0f0bd1058f546c6ed781aef7ff97cf890a09c55712313f9589097c973688670071e0e SHA512 384ab6a4f5a5613c4883e29a714425ae74b7ccca1e205a14f08d653da1eb939ff39e31c54c000e7a61ac65fe8ededef0e9380c70bedc7de1580403ed51a68bbe +DIST pyglet-1.5.26.tar.gz 6534434 BLAKE2B a4366390f4ed92ed9e6c2d362fd8a009adf0e8a21ca00e1b9fead3cba99d192bb007413eca36892433f3bc4e2bf3258c550b2827262fc70e87b20566d46acb15 SHA512 819b2bbf71c9c632c1cefbb31e2a7186905c1475a1e978cd75dd6c019e5a53e6af79bceb57c68b61a3bb5692e04091c89c67b9168bb76ee19009c1ab719b8530 +EBUILD pyglet-1.5.26.ebuild 1574 BLAKE2B a701c65476ff75e74611efe43d8401929e10ab4d73aee621664ed0c1772cc153d02799578a08f9f07fab8fde8033abca3b367ad705f71956c7242f9eb441e8ad SHA512 9c6cfd4b55ffb1f876dfa3b268f27a812b263ca92a428aec34885a9288c1aaee9a8cab15c073536da01fb54fa8db8710469c6bddbe543c4e54376b930055a610 +MISC metadata.xml 1092 BLAKE2B 51abba6b5545fb47d277edaca91fda755e885f08a9407f5cd3d468c8b0b86991b57d8d151e27d59755ea884ae894ed0e5c32d357b0d81e66eb9054ca6fc92055 SHA512 7e47cc4c39ebf827bf46423251df994a65c2af8ada9420b36810e36f245bbd810796bc8b02cbce182ff071bbd9dae0c9e5d9f5cb201349cd49fa311b3891dc2f diff --git a/dev-python/pyglet/metadata.xml b/dev-python/pyglet/metadata.xml index 1c5fcf1b614b..95f52b0f74f9 100644 --- a/dev-python/pyglet/metadata.xml +++ b/dev-python/pyglet/metadata.xml @@ -21,5 +21,6 @@ pyglet might be seen as an alternative to PyGame. pyglet + pyglet/pyglet diff --git a/dev-python/pyglet/pyglet-1.5.23.ebuild b/dev-python/pyglet/pyglet-1.5.23.ebuild deleted file mode 100644 index 32ae3d197173..000000000000 --- a/dev-python/pyglet/pyglet-1.5.23.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8..10} ) -inherit distutils-r1 virtualx xdg-utils - -DESCRIPTION="Cross-platform windowing and multimedia library for Python" -HOMEPAGE="http://pyglet.org/" -SRC_URI="https://github.com/pyglet/pyglet/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~riscv x86 ~amd64-linux ~x86-linux" -IUSE="examples image +sound" - -BDEPEND=" - test? ( - dev-python/pillow[${PYTHON_USEDEP}] - media-libs/fontconfig - ) -" -RDEPEND=" - virtual/glu - virtual/opengl - image? ( || ( - dev-python/pillow[${PYTHON_USEDEP}] - x11-libs/gtk+:2 - ) ) - sound? ( || ( - media-libs/openal - media-sound/pulseaudio - ) ) -" -# ffmpeg? ( media-libs/avbin-bin ) - -DOCS=( DESIGN NOTICE README.md RELEASE_NOTES ) - -distutils_enable_tests pytest - -python_test() { - xdg_environment_reset - - # Deselect openal test, can't open device in sandbox - local EPYTEST_DESELECT=( - tests/unit/media/test_listener.py::test_openal_listener - ) - - # Specify path to avoid running interactive tests - # We could add in integration tests, but they're slow - virtx epytest tests/unit -} - -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-1.5.26.ebuild b/dev-python/pyglet/pyglet-1.5.26.ebuild new file mode 100644 index 000000000000..cc992542d9ff --- /dev/null +++ b/dev-python/pyglet/pyglet-1.5.26.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..10} ) + +inherit distutils-r1 virtualx xdg-utils + +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 -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="amd64 ~arm ~arm64 ~riscv x86 ~amd64-linux ~x86-linux" +IUSE="examples image +sound" + +BDEPEND=" + test? ( + dev-python/pillow[${PYTHON_USEDEP}] + media-libs/fontconfig + ) +" +RDEPEND=" + virtual/glu + virtual/opengl + image? ( || ( + dev-python/pillow[${PYTHON_USEDEP}] + x11-libs/gtk+:2 + ) ) + sound? ( || ( + media-libs/openal + media-sound/pulseaudio + ) ) +" +# ffmpeg? ( media-libs/avbin-bin ) + +DOCS=( DESIGN NOTICE README.md RELEASE_NOTES ) + +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 + ) + + # Specify path to avoid running interactive tests + # We could add in integration tests, but they're slow + 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