public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pygame/
Date: Mon,  8 Nov 2021 08:31:45 +0000 (UTC)	[thread overview]
Message-ID: <1636359973.6252aeaa466fcc02c7b5eec6764a6a14f785999e.mgorny@gentoo> (raw)

commit:     6252aeaa466fcc02c7b5eec6764a6a14f785999e
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Nov  8 08:26:13 2021 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Nov  8 08:26:13 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6252aeaa

dev-python/pygame: Bump to 2.1.0

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/pygame/Manifest            |  1 +
 dev-python/pygame/pygame-2.1.0.ebuild | 91 +++++++++++++++++++++++++++++++++++
 2 files changed, 92 insertions(+)

diff --git a/dev-python/pygame/Manifest b/dev-python/pygame/Manifest
index 534421b453e..30ae8e15bdb 100644
--- a/dev-python/pygame/Manifest
+++ b/dev-python/pygame/Manifest
@@ -4,3 +4,4 @@ DIST pygame-2.0.0.tar.gz 5522621 BLAKE2B 49773979af53595d3ff2db1a18e4bcd217e26db
 DIST pygame-2.0.1.tar.gz 5536907 BLAKE2B b27cb9001499a00da62dac0486a72079ff4e60ca609be444b04f547cb2372090da91d2670307ce7068b964458e6ac1284402439bb7809c9735135d5e93a71d78 SHA512 1535a872c43e5f75acdfa7d325fcfa0f0f826e18602b28b228cfdbe068a382678c21568d80873f7af4f0b318e693adb38afa4d632f8294f716a47188abe5245a
 DIST pygame-2.0.2.tar.gz 6309459 BLAKE2B 0cb23b4226d8d86f938cba08b67ab3bd847c9e4122f5f6cce4d8810b239df672ab282e1b77dd7d71423f805c7c0418e54050347dfb9e506b799eb8e0b4f16856 SHA512 2cef4669e5bd81759c9886293ebc1b82e1ed3b4576a3632437f66cb353af330e15dd39e7378f2be8fd25838f202529dc550208a031aec77e1d05443a070638c8
 DIST pygame-2.0.3.tar.gz 5804279 BLAKE2B fb58dd57a9288bdff3c0d01389e363968ebddd4b2b0fa92335c825297026c5858da4f73a870f84e0c3c7cf302bd9f4163807c97a348d581658df7e7695fcb4fb SHA512 1d2b4cb1e577f0244c2b92511b8fa0ab7bcd689d04a4451ced41e6d97758ba380d7e681e60abed26c81b96bd49d505cf481c67a466437b3cfdb547e744f22949
+DIST pygame-2.1.0.tar.gz 5790847 BLAKE2B 1d2fc9f8d86ab823008cbb4c7431f44dd17ba5b356ed755a308737eb5a0db3c4033efe3fd4245bd740a33c6f4e5d2816daefc3785c747ef046b8f98aa8f58589 SHA512 b9394bea5dad54760297c75133ca56c99f89781340029f8866b169fcef3a7e12c16d00a18dd95f4fe3c13e393915d5b29b8d547465efb94f84b4875579166f1a

diff --git a/dev-python/pygame/pygame-2.1.0.ebuild b/dev-python/pygame/pygame-2.1.0.ebuild
new file mode 100644
index 00000000000..1ee94dd33f0
--- /dev/null
+++ b/dev-python/pygame/pygame-2.1.0.ebuild
@@ -0,0 +1,91 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+inherit distutils-r1
+
+MY_PV=${PV/_pre/.dev}
+MY_P=${PN}-${MY_PV}
+
+DESCRIPTION="Python bindings for SDL multimedia library"
+HOMEPAGE="https://www.pygame.org/"
+SRC_URI="
+	https://github.com/pygame/pygame/releases/download/${MY_PV}/${MY_P}.tar.gz"
+S=${WORKDIR}/${MY_P}
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="doc examples midi opengl test X"
+RESTRICT="!test? ( test )"
+
+RDEPEND="dev-python/numpy[${PYTHON_USEDEP}]
+	media-libs/freetype
+	media-libs/libpng:0=
+	>=media-libs/sdl2-image-1.2.2
+	>=media-libs/sdl2-mixer-1.2.4
+	>=media-libs/sdl2-ttf-2.0.6
+	>=media-libs/smpeg2-0.4.4-r1
+	virtual/jpeg
+	midi? ( media-libs/portmidi )
+	X? ( >=media-libs/libsdl2-1.2.5[opengl?,threads,video,X] )
+	!X? ( >=media-libs/libsdl2-1.2.5[threads] )"
+DEPEND="${RDEPEND}
+	test? (
+		media-libs/sdl2-image[gif,jpeg,png]
+		media-libs/sdl2-mixer[mp3,vorbis,wav]
+	)"
+# fontconfig used for fc-list
+RDEPEND+="
+	media-libs/fontconfig"
+# util-linux provides script
+BDEPEND="
+	test? (
+		media-libs/fontconfig
+		sys-apps/util-linux
+	)"
+
+src_prepare() {
+	if ! use midi; then
+		rm test/midi_test.py || die
+	fi
+	distutils-r1_src_prepare
+}
+
+python_configure() {
+	PORTMIDI_INC_PORTTIME=1 LOCALBASE="${EPREFIX}/usr" \
+		"${EPYTHON}" "${S}"/buildconfig/config.py -auto || die
+
+	# Disable automagic dependency on PortMidi.
+	if ! use midi; then
+		sed -e "s:^pypm :#&:" -i Setup || die "sed failed"
+	fi
+}
+
+python_test() {
+	local -x PYTHONPATH=${BUILD_DIR}/install/lib
+	local -x SDL_VIDEODRIVER=dummy
+	local -x SDL_AUDIODRIVER=disk
+	distutils_install_for_testing --via-root
+	script -eqc "${EPYTHON} -m pygame.tests" || die
+}
+
+python_install() {
+	distutils-r1_python_install
+
+	# Bug #497720
+	rm -fr "${D}"$(python_get_sitedir)/pygame/{docs,examples,tests}/ || die
+}
+
+python_install_all() {
+	distutils-r1_python_install_all
+
+	if use doc; then
+		docinto html
+		dodoc -r docs/*
+	fi
+
+	use examples && dodoc -r examples
+}


             reply	other threads:[~2021-11-08  8:31 UTC|newest]

Thread overview: 185+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-08  8:31 Michał Górny [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-10-19 10:37 [gentoo-commits] repo/gentoo:master commit in: dev-python/pygame/ Michał Górny
2024-10-19 10:28 Sam James
2024-10-19  9:10 Arthur Zamarin
2024-10-19  9:09 Arthur Zamarin
2024-10-19  8:57 Arthur Zamarin
2024-10-19  8:18 Arthur Zamarin
2024-10-19  7:52 Arthur Zamarin
2024-09-29 15:20 Michał Górny
2024-08-25 19:01 Arthur Zamarin
2024-07-21  0:32 Sam James
2024-07-20 22:34 Sam James
2024-07-20 11:48 Arthur Zamarin
2024-07-20  8:14 Arthur Zamarin
2024-07-20  8:14 Arthur Zamarin
2024-07-02 16:05 Michał Górny
2024-06-26  2:09 Michał Górny
2024-06-20 13:04 Sam James
2024-06-19  8:46 Sam James
2024-06-19  8:46 Sam James
2024-06-18 18:12 Arthur Zamarin
2024-06-18 18:12 Arthur Zamarin
2024-06-18 18:12 Arthur Zamarin
2024-05-20 19:07 Michał Górny
2024-05-20 18:35 Michał Górny
2024-05-19 19:43 Arthur Zamarin
2024-05-19 16:17 James Le Cuirot
2023-12-22  5:14 Ionen Wolkens
2023-12-12  6:30 Viorel Munteanu
2023-11-29  6:34 Arthur Zamarin
2023-11-23 19:53 Sam James
2023-11-23 19:53 Sam James
2023-11-22 11:11 Sam James
2023-11-22 11:11 Sam James
2023-10-01 18:11 Arthur Zamarin
2023-09-17 12:23 Arthur Zamarin
2023-09-17  5:47 Sam James
2023-09-17  5:47 Sam James
2023-09-17  5:07 Arthur Zamarin
2023-09-17  5:07 Arthur Zamarin
2023-09-17  5:07 Arthur Zamarin
2023-08-14 17:33 Arthur Zamarin
2023-08-14 15:02 Arthur Zamarin
2023-08-14 14:55 Michał Górny
2023-08-04 11:45 Arthur Zamarin
2023-07-28  9:37 Sam James
2023-07-28  7:56 Sam James
2023-07-28  7:56 Sam James
2023-07-28  7:56 Sam James
2023-07-24  0:51 Sam James
2023-07-23 21:44 Sam James
2023-07-23  6:53 Michał Górny
2023-07-01 13:42 Michał Górny
2023-06-25  3:08 Michał Górny
2023-06-13 18:26 Arthur Zamarin
2023-06-11 13:53 Sam James
2023-06-11 13:46 Sam James
2023-06-11 13:32 Sam James
2023-06-11 13:32 Sam James
2023-05-31 17:48 Sam James
2023-05-01  4:31 Michał Górny
2023-04-22 11:52 Sam James
2023-04-22 11:39 Sam James
2023-04-22  9:25 Arthur Zamarin
2023-03-30 21:11 Sam James
2023-03-30 17:11 Sam James
2023-03-30 16:57 Sam James
2023-03-30 16:29 Arthur Zamarin
2023-03-24 19:36 Arthur Zamarin
2023-03-14 16:57 Michał Górny
2023-03-07 15:45 Sam James
2023-03-07 11:42 Sam James
2023-03-04 14:19 Arthur Zamarin
2023-03-03 19:37 Arthur Zamarin
2023-03-03 17:52 Arthur Zamarin
2023-03-03 17:47 Arthur Zamarin
2023-02-28  5:06 Michał Górny
2023-02-19 19:46 Michał Górny
2023-02-16 23:03 Sam James
2023-02-16 22:57 Sam James
2023-02-16 22:50 Sam James
2023-02-15  7:16 Michał Górny
2022-03-26 17:58 Michał Górny
2022-03-26 16:46 Arthur Zamarin
2022-03-26 16:43 Arthur Zamarin
2022-03-26 16:43 Arthur Zamarin
2022-03-26 16:43 Arthur Zamarin
2022-03-26 16:43 Arthur Zamarin
2022-03-26 16:43 Arthur Zamarin
2022-03-26 16:43 Arthur Zamarin
2022-02-15  9:39 Michał Górny
2022-02-15  9:39 Michał Górny
2022-02-15  9:39 Michał Górny
2022-02-15  9:39 Michał Górny
2022-02-13  9:36 Jakov Smolić
2022-02-13  9:36 Jakov Smolić
2022-02-11 20:49 Arthur Zamarin
2022-02-11 20:49 Arthur Zamarin
2022-02-11 20:49 Arthur Zamarin
2022-02-11 20:49 Arthur Zamarin
2022-02-11 19:17 Arthur Zamarin
2021-12-30 20:06 Arthur Zamarin
2021-12-30 18:46 Arthur Zamarin
2021-12-28  9:03 Michał Górny
2021-12-25  8:09 Michał Górny
2021-11-29 10:22 Arthur Zamarin
2021-11-29  7:39 Arthur Zamarin
2021-11-01  8:32 Michał Górny
2021-10-11  7:56 Michał Górny
2021-10-04 14:22 Arthur Zamarin
2021-10-04 14:22 Arthur Zamarin
2021-04-25 21:37 James Le Cuirot
2021-03-14 19:18 Conrad Kostecki
2021-02-25 14:09 Sam James
2021-02-25  8:33 Sam James
2021-02-02 21:01 Sam James
2021-01-27  3:06 Sam James
2021-01-26 15:05 Sam James
2021-01-25 14:06 Sam James
2021-01-17 11:41 Sergei Trofimovich
2020-12-25  9:17 Michał Górny
2020-12-17  3:58 Sam James
2020-12-03  7:30 Sam James
2020-12-02 23:37 Sam James
2020-12-02 23:31 Thomas Deutschmann
2020-12-02 14:57 Sam James
2020-11-30 21:12 Sergei Trofimovich
2020-11-02 10:34 Michał Górny
2020-10-28 20:03 Michał Górny
2020-10-27 21:49 Michał Górny
2020-10-23 20:12 Michał Górny
2020-10-21 18:53 Michał Górny
2020-10-12  8:51 Michał Górny
2020-10-12  8:51 Michał Górny
2020-10-12  7:57 Agostino Sarubbo
2020-10-09  8:31 Agostino Sarubbo
2020-10-06 13:41 Sam James
2020-10-06 13:16 Sam James
2020-10-06 13:13 Sam James
2020-09-30 21:15 Sam James
2020-09-20  6:28 Michał Górny
2020-08-14 18:02 Sergei Trofimovich
2020-07-26  0:46 Sam James
2020-07-15 11:34 Michał Górny
2020-07-10  0:15 Sam James
2020-06-15 15:13 Michał Górny
2020-06-10 20:54 Sergei Trofimovich
2020-06-10  3:21 Matt Turner
2020-06-09 20:06 Michał Górny
2020-06-08 16:55 Michał Górny
2020-06-08 16:55 Michał Górny
2020-06-08 16:34 Mart Raudsepp
2020-06-08 14:18 Michał Górny
2020-06-08 13:18 Michał Górny
2020-06-08 13:18 Michał Górny
2020-06-08 11:53 Michał Górny
2020-06-07 20:54 Michał Górny
2020-06-04 14:13 Agostino Sarubbo
2020-06-04 14:11 Agostino Sarubbo
2020-06-04 14:10 Agostino Sarubbo
2020-04-23 21:24 James Le Cuirot
2020-04-23 21:24 James Le Cuirot
2020-04-20 21:53 James Le Cuirot
2020-03-28 17:44 Michał Górny
2020-03-04  5:01 Michał Górny
2020-02-12  7:51 Agostino Sarubbo
2019-12-27 11:05 Pacho Ramos
2019-12-26 14:42 David Seifert
2019-12-25 16:57 Pacho Ramos
2019-07-29 22:24 James Le Cuirot
2018-09-15  2:31 Andreas Sturmlechner
2018-07-24  0:38 Mikle Kolyada
2018-07-21  0:06 Mikle Kolyada
2018-06-30 10:18 Sergei Trofimovich
2018-06-24  9:40 Mikle Kolyada
2017-12-06 22:44 Sergei Trofimovich
2017-11-23 22:31 Matt Turner
2017-09-30  9:11 Sergei Trofimovich
2017-08-12  9:06 Sergei Trofimovich
2017-07-02 15:07 Sergei Trofimovich
2017-05-04 20:17 Markus Meier
2017-04-30  8:31 Jeroen Roovers
2017-04-27  7:29 Tim Harder
2017-04-27  7:22 Tim Harder
2016-02-05 12:39 Maxim Koltsov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1636359973.6252aeaa466fcc02c7b5eec6764a6a14f785999e.mgorny@gentoo \
    --to=mgorny@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox