mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-17 14:49:30 -07:00
dev-python/pyglet: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -1,3 +1,2 @@
|
||||
DIST pyglet-2.1.14.tar.gz 6595146 BLAKE2B 1a2b59b61183eab83362af9f2eedf9267c64b287d8b1601557abe18660ce078181169e7d4c7378367d87f653a0f6721b8ece71eb818742753a5823f481af9ea3 SHA512 f9a219d9e49268bfd7f8979e037e779f243f2576ea57553d1ef1ccce72f1d9d5b1c791fc29d3faad7abc59855e366e2e51d3a0e0e646fcd8804def5a2d3fd519
|
||||
DIST pyglet-2.1.15.tar.gz 6597005 BLAKE2B ef975a397aecc3e432a05bb448d9f498b026914b4c3bc987859f094bb955685b6c29cfc3de303ef8dbc167537b18efa86812300b3cf7458ed3346f66e19760ab SHA512 37187e7383ed69e8e95884a18c09cd292501f9fe8dce1782f9a99915a2d8fdbe810682362c209720c13b01b578633a548d54a3c93167e68d1cf6b6421b14b1fc
|
||||
DIST pyglet-2.1.16.tar.gz 6598246 BLAKE2B a6613e1d2c69d6be44ea4f8e301be8b9366eb7fbe4c3097b52c2ab868ad799bd1c0e862325edf8c180f69237da80de74f965d82b69d3d12abe8e8a0de25f020d SHA512 2e3e216d06ffd8eb2c5a12c9b0c5d78fac50ced7cd58fc84e73f0cd65d148125fd990c0a71d9a890657e9554660b5c960d7a3e25252bf44f7d395334d9e7d8e1
|
||||
|
||||
@@ -1,80 +0,0 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=flit
|
||||
PYTHON_COMPAT=( pypy3_11 python3_{11..14} )
|
||||
|
||||
inherit distutils-r1 pypi 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/
|
||||
"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm arm64 ~loong ~ppc64 ~riscv x86"
|
||||
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
|
||||
x11-base/xorg-server[-minimal]
|
||||
)
|
||||
"
|
||||
|
||||
EPYTEST_PLUGINS=()
|
||||
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
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user