diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-12-18 11:06:49 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-12-18 11:06:49 +0000 |
commit | ab3da91fb6c91a9df52fff8f991570f456fd3c7a (patch) | |
tree | e8f3bfa2c6c3d20ec3b9c352c839e23949068b6b /dev-python/pyglet | |
parent | 6abbf81ef2f298e3221ff5e67a1f3c5f23958212 (diff) |
gentoo resync : 18.12.2020
Diffstat (limited to 'dev-python/pyglet')
-rw-r--r-- | dev-python/pyglet/Manifest | 2 | ||||
-rw-r--r-- | dev-python/pyglet/pyglet-1.5.13.ebuild | 62 |
2 files changed, 64 insertions, 0 deletions
diff --git a/dev-python/pyglet/Manifest b/dev-python/pyglet/Manifest index 48451cf14b14..846fe0515179 100644 --- a/dev-python/pyglet/Manifest +++ b/dev-python/pyglet/Manifest @@ -1,7 +1,9 @@ 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.7.tar.gz 6367378 BLAKE2B 68d4aa673a7463f7da0f4ccb7f413b602f32ecc423438326fc4262a4449fe22dff25a513074611ce2c77c130dfe9cc29e44e54a95169875208731f70803f1a45 SHA512 2c2a06636b1db788241028d1ef2290a774b98721ccc92ceed2b2895bcee81d4aa72b2111896091b54531936513772505b0d43003e412735d606130ed4b08f8c9 EBUILD pyglet-1.5.10.ebuild 1299 BLAKE2B 52d481d9b418e26b01b26c864014691245b8c09aff2cd859b5b0f7082c7c4982fc9b0ff783e4952d2a49cdf17af4c8ed9feecafa1f89ab78f3b049a1127bc6fe SHA512 17a9d5de3761944b0c311450832175b29427394b84d3e6a71f8e738140c4ca1d98f53b27ca245a37027e21a5456fbf2febad8170a2ddad16c48bc6bf9f7236ab EBUILD pyglet-1.5.11.ebuild 1299 BLAKE2B 52d481d9b418e26b01b26c864014691245b8c09aff2cd859b5b0f7082c7c4982fc9b0ff783e4952d2a49cdf17af4c8ed9feecafa1f89ab78f3b049a1127bc6fe SHA512 17a9d5de3761944b0c311450832175b29427394b84d3e6a71f8e738140c4ca1d98f53b27ca245a37027e21a5456fbf2febad8170a2ddad16c48bc6bf9f7236ab +EBUILD pyglet-1.5.13.ebuild 1299 BLAKE2B 52d481d9b418e26b01b26c864014691245b8c09aff2cd859b5b0f7082c7c4982fc9b0ff783e4952d2a49cdf17af4c8ed9feecafa1f89ab78f3b049a1127bc6fe SHA512 17a9d5de3761944b0c311450832175b29427394b84d3e6a71f8e738140c4ca1d98f53b27ca245a37027e21a5456fbf2febad8170a2ddad16c48bc6bf9f7236ab EBUILD pyglet-1.5.7-r1.ebuild 1285 BLAKE2B 58ca933e3d968262b39cc844c25738c71a82405fb966cb98b94f2a0ec6728a023f4c941d79b23a45de7200331237ad1fb0016de6f515a5ca0eb353ad6ac44faf SHA512 7e5aefbd904b868b6ee2238eb281d19e3ad3f2a84ff44a431b9d3f99956fa192a5c26b9c7c6cabcf3d9b73326502ec5d7f343fe6e37a3310e302465d54f9f39a MISC metadata.xml 996 BLAKE2B 74fda944aaa3954eafb31e21741f8cb599c9f8bff46c662a598cb384da9770d3160302b37ce8cbe9ddbc7dfe63c594614783afa568ab4be5e73db502fdc3a095 SHA512 a13a1aa2134de7bc7e007f81540631623c5a3fc1f5bfd4b6f7bc744eff8cc037da321292aa968184d324099dbfd87f608d7c0a2aeea90707c27aee5532a1fe15 diff --git a/dev-python/pyglet/pyglet-1.5.13.ebuild b/dev-python/pyglet/pyglet-1.5.13.ebuild new file mode 100644 index 000000000000..225581d36f34 --- /dev/null +++ b/dev-python/pyglet/pyglet-1.5.13.ebuild @@ -0,0 +1,62 @@ +# 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 +} |