mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 18:58:08 -07:00
dev-python/pyglet: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -1,4 +1,2 @@
|
||||
DIST pyglet-1.5.10.tar.gz 6417209 BLAKE2B 2c413c111ce3d016ca23186e92b17cb6f67bb904d90ca241eb0f95372a0a9ff8915014f31294a6609e2f35072cb963b6998d791157ede2e2bf01175edeb91582 SHA512 02b3859f2805f703997d7799e324e7debe9375f6c0df211ceff2f750aa7dbbad61b6ece55fbfec111e4f47f0ee6a71881fd73a47bef794a437615ecb42d0f411
|
||||
DIST pyglet-1.5.11.tar.gz 6414606 BLAKE2B bc39a611b10a6397f31ce402d0f4be17093e5c37fdbd6bb419156cc00929fd951cfc8e309a0c2a557afba9c567f203956c6ac7fdd1c677d4a5c199c1633e86e4 SHA512 4121fcd45c8d7f500e2bcbaf85e30e39d44b9de165a818455c006964787ad9dcdbb1a670ca72e149a3574ec7c18f113166190acca9a2dec4bef4b5fde856e129
|
||||
DIST pyglet-1.5.13.tar.gz 6415241 BLAKE2B 784e387072ea7260c5fc3f0c78869e62d42a68b7ca1208318af3dad77d64d6ca8d12b03c040ce1dca8430cbab31f218c2a1782ccfcaaf3637203e1e9638488b8 SHA512 05863b187653cb82d7727d7d33a65d9907030ac97d926d6dac01301817159c31d4a301570f41ad8e2af9e0509f67008b876e7f3460f31c6d58d5548179cba4ea
|
||||
DIST pyglet-1.5.14.tar.gz 6414252 BLAKE2B 3e30f4dc80fffbf93a3cc7fa744ba224868dea1d9f1998446a2341fd3ed1c058493c486979aedb8415abe5c8a3f53dc634494f849bf6f3ab6f9ceb0e35cfecd9 SHA512 9b34e80e1b28a2ef0504339b67bdc31e568bf3a3352a9a1d78d3cf87ba84e86e23aec6e524abbca26865082ec2f9da8d7633ba83206f9996d87002faa1269044
|
||||
|
||||
@@ -1,62 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{6,7,8,9} )
|
||||
|
||||
inherit distutils-r1 virtualx xdg-utils
|
||||
|
||||
DESCRIPTION="Cross-platform windowing and multimedia library for Python"
|
||||
HOMEPAGE="http://www.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 x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="examples image +sound"
|
||||
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/pillow[${PYTHON_USEDEP}]
|
||||
dev-python/gst-python[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
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
|
||||
|
||||
# Specify path to avoid running interactive tests
|
||||
# We could add in integration tests, but they're slow
|
||||
pytest -vv 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
|
||||
}
|
||||
@@ -1,62 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{6,7,8,9} )
|
||||
|
||||
inherit distutils-r1 virtualx xdg-utils
|
||||
|
||||
DESCRIPTION="Cross-platform windowing and multimedia library for Python"
|
||||
HOMEPAGE="http://www.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 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="examples image +sound"
|
||||
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/pillow[${PYTHON_USEDEP}]
|
||||
dev-python/gst-python[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
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
|
||||
|
||||
# Specify path to avoid running interactive tests
|
||||
# We could add in integration tests, but they're slow
|
||||
pytest -vv 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