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 46DA71382C5 for ; Wed, 23 Jun 2021 09:28:52 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 87723E087A; Wed, 23 Jun 2021 09:28:51 +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 6F858E087A for ; Wed, 23 Jun 2021 09:28:51 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 A163D33D3C1 for ; Wed, 23 Jun 2021 09:28:50 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A189E7B9 for ; Wed, 23 Jun 2021 09:28:47 +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: <1624440524.e52a142216b9fa05c86cd0e1a1fb55790ac0875f.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.18.ebuild X-VCS-Directories: dev-python/pyglet/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: e52a142216b9fa05c86cd0e1a1fb55790ac0875f X-VCS-Branch: master Date: Wed, 23 Jun 2021 09:28:47 +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: 3e3c1b8d-25e6-4a81-9ad6-4f4aec013706 X-Archives-Hash: 877854e64e0a536633a37c75f6238ac9 commit: e52a142216b9fa05c86cd0e1a1fb55790ac0875f Author: Michał Górny gentoo org> AuthorDate: Wed Jun 23 08:50:39 2021 +0000 Commit: Michał Górny gentoo org> CommitDate: Wed Jun 23 09:28:44 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e52a1422 dev-python/pyglet: Bump to 1.5.18 Signed-off-by: Michał Górny gentoo.org> dev-python/pyglet/Manifest | 1 + dev-python/pyglet/pyglet-1.5.18.ebuild | 62 ++++++++++++++++++++++++++++++++++ 2 files changed, 63 insertions(+) diff --git a/dev-python/pyglet/Manifest b/dev-python/pyglet/Manifest index f770b538be0..7fa937cddf7 100644 --- a/dev-python/pyglet/Manifest +++ b/dev-python/pyglet/Manifest @@ -1,2 +1,3 @@ DIST pyglet-1.5.16.tar.gz 6446875 BLAKE2B bdc40303b096a91924eb1b9c541cea199792ebf36d857f0466df4c5dff4ec2945dbc6e6c4933a293ae5bd5033dbcf49af913f3b0915082f33ea98a7d5f66fde6 SHA512 5cd1c604245c45f4b9d56c6a6290d301f8a925a4988d847df978b0f4431afb46046592f25d73b54cdf99402022a616afb3eb9c579d5ac29160408a74769f7a43 DIST pyglet-1.5.17.tar.gz 6448500 BLAKE2B c2e27d5525c1e8eb5203b935b6a901283521ed12cf08b1d18297bd2772b83ee4fd721a9aac4fc41b6249b140b36e70d060d3649f4d2eb30f1e6f1f8fd42aa314 SHA512 3bb9594c02894fc58937b9312187b7848843d591fadb8e46553602ebad7c4b2bfd5dc615cc5f5d0cc1f8b59f10afda8e5130a0dee3c2066decb7af3faf114dae +DIST pyglet-1.5.18.tar.gz 6440818 BLAKE2B cb7832000e0df96cd794f8eff9ba41aac8571542fbc45d1607df3935a7ed53ba8fd46b6bba40f6d5d53adfb2024aad1930cba1889b5d40d342457f7dc06db5d1 SHA512 d6ceddecccb36a90bef38c4a1608e866bb90ebb72eaaff693a2eb34678c7a50c99213a69042c569c22d54cc04a4b11d37ea8da47425958505261ebcf99bd28ce diff --git a/dev-python/pyglet/pyglet-1.5.18.ebuild b/dev-python/pyglet/pyglet-1.5.18.ebuild new file mode 100644 index 00000000000..c2c0bfc5865 --- /dev/null +++ b/dev-python/pyglet/pyglet-1.5.18.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{8..9} ) + +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 ~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 + 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 +}