From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 6C000138359 for ; Mon, 16 Nov 2020 08:29:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A9C76E0A6A; Mon, 16 Nov 2020 08:29:25 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7B4F8E0A6A for ; Mon, 16 Nov 2020 08:29:25 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9D2B03413BB for ; Mon, 16 Nov 2020 08:29:24 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 50802386 for ; Mon, 16 Nov 2020 08:29:23 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1605515360.ca80ba7cb8f53f29565eeb4283c2905e8b1b81c9.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pyglet/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pyglet/Manifest dev-python/pyglet/pyglet-1.5.10.ebuild X-VCS-Directories: dev-python/pyglet/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: ca80ba7cb8f53f29565eeb4283c2905e8b1b81c9 X-VCS-Branch: master Date: Mon, 16 Nov 2020 08:29:23 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 737cfcca-f26f-46ae-9ad0-73ae6f0365c1 X-Archives-Hash: 7b738d8f67a76bb85172d666079ab9a6 commit: ca80ba7cb8f53f29565eeb4283c2905e8b1b81c9 Author: Michał Górny gentoo org> AuthorDate: Mon Nov 16 08:22:42 2020 +0000 Commit: Michał Górny gentoo org> CommitDate: Mon Nov 16 08:29:20 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca80ba7c dev-python/pyglet: Bump to 1.5.10 Signed-off-by: Michał Górny gentoo.org> dev-python/pyglet/Manifest | 1 + dev-python/pyglet/pyglet-1.5.10.ebuild | 62 ++++++++++++++++++++++++++++++++++ 2 files changed, 63 insertions(+) diff --git a/dev-python/pyglet/Manifest b/dev-python/pyglet/Manifest index bdc6741e7a7..9a2c4caf21c 100644 --- a/dev-python/pyglet/Manifest +++ b/dev-python/pyglet/Manifest @@ -1,3 +1,4 @@ +DIST pyglet-1.5.10.tar.gz 6417209 BLAKE2B 2c413c111ce3d016ca23186e92b17cb6f67bb904d90ca241eb0f95372a0a9ff8915014f31294a6609e2f35072cb963b6998d791157ede2e2bf01175edeb91582 SHA512 02b3859f2805f703997d7799e324e7debe9375f6c0df211ceff2f750aa7dbbad61b6ece55fbfec111e4f47f0ee6a71881fd73a47bef794a437615ecb42d0f411 DIST pyglet-1.5.7.tar.gz 6367378 BLAKE2B 68d4aa673a7463f7da0f4ccb7f413b602f32ecc423438326fc4262a4449fe22dff25a513074611ce2c77c130dfe9cc29e44e54a95169875208731f70803f1a45 SHA512 2c2a06636b1db788241028d1ef2290a774b98721ccc92ceed2b2895bcee81d4aa72b2111896091b54531936513772505b0d43003e412735d606130ed4b08f8c9 DIST pyglet-1.5.8.tar.gz 6394207 BLAKE2B dcd3750b7296ab919ecb20417f0dfa2e89ab2754c28562a38175cf87f06bcd41d9b1ed2c568ed516e444a5968e21a772f0f4cfb5b626bb1aeb066f3b17f1cf18 SHA512 346dafbc751a4cfbdaf65643701500f5b5ad40541168eeea13467d0b97283baa35b22708dfc15569adcfad0b8ecb51d1b45d18775d564b12ed4be0965971229b DIST pyglet-1.5.9.tar.gz 6417099 BLAKE2B ad25e8da39d943050706bf4cd6a210295349118f88c7a4ba5a5d060012a444b1adbb40bf4bdbe53093c444d7373e0678ddd6648085319700e2dc22ccfcbf23fc SHA512 2ded9f9eb24bb3c928c87da0160383c46b0b27ce01fd613b73304bc573607035517e1c0eeda365921d9de12d86a913fd0d16b71db4a4542fde04df5ee20f34e2 diff --git a/dev-python/pyglet/pyglet-1.5.10.ebuild b/dev-python/pyglet/pyglet-1.5.10.ebuild new file mode 100644 index 00000000000..225581d36f3 --- /dev/null +++ b/dev-python/pyglet/pyglet-1.5.10.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 +}