From: "Yann E. MORIN" <yann.morin.1998@free.fr>
To: Marcus Hoffmann <marcus.hoffmann@othermo.de>
Cc: buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH 28/30] package/python-pygame: drop package
Date: Thu, 9 Nov 2023 22:55:09 +0100 [thread overview]
Message-ID: <20231109215509.GG996011@scaer> (raw)
In-Reply-To: <b54a0c07-e87d-4a8c-8c6c-1a2302e18ddf@othermo.de>
Marcus, All,
On 2023-10-26 16:13 +0200, Marcus Hoffmann via buildroot spake thusly:
> On 26.10.23 11:26, Adam Duskett wrote:
> >The python-pygame package has not recieved any update since
> >Sun May 1 22:15:17 2016 (commit: a9ec96e545102ae5ccd4280323d35360b0a5072d)
> >
> >As python 3.12.0 no longer supports distutils, drop the package as the package
> >is clearly unmaintained.
>
> I'd like to update the package to a recent version of pygame instead.
> Updating the package should be fairly straightforward (famous last
> words...) but I've struggled to find a platform (real hardware or
> virtualized) where I can actually test this with actual graphical
> output. :-/
You just got an extension deadline to update this package, as I
committed a patch from James to switch to setuptools:
e759e927b344 package/python-pygame: switch from distutils to setuptools
But Adam is right to suggest dropping the package, if it han't been
updated in more than 7 years...
Regards,
Yann E. MORIN.
> Marcus
>
> >
> >Signed-off-by: Adam Duskett <adam.duskett@amarulasolutions.com>
> >---
> > Config.in.legacy | 7 ++
> > package/Config.in | 2 -
> > package/python-pygame/Config.in | 50 ----------
> > package/python-pygame/python-pygame.hash | 3 -
> > package/python-pygame/python-pygame.mk | 111 -----------------------
> > 5 files changed, 7 insertions(+), 166 deletions(-)
> > delete mode 100644 package/python-pygame/Config.in
> > delete mode 100644 package/python-pygame/python-pygame.hash
> > delete mode 100644 package/python-pygame/python-pygame.mk
> >
> >diff --git a/Config.in.legacy b/Config.in.legacy
> >index 8e406f2b13..f1d5f345c3 100644
> >--- a/Config.in.legacy
> >+++ b/Config.in.legacy
> >@@ -153,6 +153,13 @@ config BR2_PACKAGE_PYTHON_PYXB
> > python-pyxb has been removed due to being abandoned and
> > distutils no longer being supported in python 3.12.0.
> >
> >+config BR2_PACKAGE_PYTHON_PYGAME
> >+ bool "python-pygame removed"
> >+ select BR2_LEGACY
> >+ help
> >+ python-pygame has been removed due to being abandoned and
> >+ distutils no longer being supported in python 3.12.0.
> >+
> > config BR2_KERNEL_HEADERS_6_4
> > bool "kernel headers version 6.4.x are no longer supported"
> > select BR2_LEGACY
> >diff --git a/package/Config.in b/package/Config.in
> >index 4e489c4706..d756094c4b 100644
> >--- a/package/Config.in
> >+++ b/package/Config.in
> >@@ -1228,7 +1228,6 @@ menu "External python modules"
> > source "package/python-pydyf/Config.in"
> > source "package/python-pyelftools/Config.in"
> > source "package/python-pyftpdlib/Config.in"
> >- source "package/python-pygame/Config.in"
> > source "package/python-pygments/Config.in"
> > source "package/python-pyhamcrest/Config.in"
> > source "package/python-pyicu/Config.in"
> >@@ -1267,7 +1266,6 @@ menu "External python modules"
> > source "package/python-pytz/Config.in"
> > source "package/python-pyudev/Config.in"
> > source "package/python-pyusb/Config.in"
> >- source "package/python-pyxb/Config.in"
> > source "package/python-pyyaml/Config.in"
> > source "package/python-pyzmq/Config.in"
> > source "package/python-qrcode/Config.in"
> >diff --git a/package/python-pygame/Config.in b/package/python-pygame/Config.in
> >deleted file mode 100644
> >index 57eb020742..0000000000
> >--- a/package/python-pygame/Config.in
> >+++ /dev/null
> >@@ -1,50 +0,0 @@
> >-config BR2_PACKAGE_PYTHON_PYGAME
> >- bool "python-pygame"
> >- select BR2_PACKAGE_SDL
> >- help
> >- Pygame is a cross-platfrom library designed to make it easy
> >- to write multimedia software, such as games, in
> >- Python. Pygame requires the Python language and SDL
> >- multimedia library.
> >- It can also make use of several other popular libraries.
> >-
> >- http://www.pygame.org/
> >-
> >-if BR2_PACKAGE_PYTHON_PYGAME
> >-config BR2_PACKAGE_PYTHON_PYGAME_IMAGE
> >- bool "pygame.image"
> >- select BR2_PACKAGE_SDL_IMAGE
> >- select BR2_PACKAGE_SDL_IMAGE_PNG
> >- select BR2_PACKAGE_SDL_IMAGE_JPEG
> >- help
> >- pygame module for loading, saving and transfering images.
> >- Will autoselect sdl_image with png and jpeg support.
> >-
> >-config BR2_PACKAGE_PYTHON_PYGAME_EXAMPLES
> >- bool "pygame.examples"
> >- help
> >- Include examples.
> >- Selecting this option adds about 1.5 MB to the target file
> >- system.
> >-
> >-config BR2_PACKAGE_PYTHON_PYGAME_FONT
> >- bool "pygame.font"
> >- select BR2_PACKAGE_SDL_TTF
> >- help
> >- pygame module for loading and rendering fonts.
> >- Will autoselect sdl_ttf.
> >-
> >-config BR2_PACKAGE_PYTHON_PYGAME_MIXER
> >- bool "pygame.mixer"
> >- select BR2_PACKAGE_SDL_MIXER
> >- help
> >- pygame module for loading and playing sounds.
> >- Will autoselect sdl_mixer.
> >-
> >-config BR2_PACKAGE_PYTHON_PYGAME_SCRAP
> >- bool "pygame.scrap"
> >- depends on BR2_PACKAGE_SDL_X11
> >- help
> >- pygame module for clipboard support (X11 needed)
> >-
> >-endif
> >diff --git a/package/python-pygame/python-pygame.hash b/package/python-pygame/python-pygame.hash
> >deleted file mode 100644
> >index c0496515e2..0000000000
> >--- a/package/python-pygame/python-pygame.hash
> >+++ /dev/null
> >@@ -1,3 +0,0 @@
> >-# Locally computed
> >-sha256 f95a7dd68ea294d415e36e068d2f533c5a01c67773452d14a535c5c7455681fe pygame-d61ea8eabd56.tar.gz
> >-sha256 a190dc9c8043755d90f8b0a75fa66b9e42d4af4c980bf5ddc633f0124db3cee7 LGPL
> >diff --git a/package/python-pygame/python-pygame.mk b/package/python-pygame/python-pygame.mk
> >deleted file mode 100644
> >index 600dd9e743..0000000000
> >--- a/package/python-pygame/python-pygame.mk
> >+++ /dev/null
> >@@ -1,111 +0,0 @@
> >-################################################################################
> >-#
> >-# python-pygame
> >-#
> >-################################################################################
> >-
> >-# stable 1.9.1 release requires V4L which has been wiped out of recent Linux
> >-# kernels, so use latest mercurial revision until next stable release is out.
> >-PYTHON_PYGAME_VERSION = d61ea8eabd56
> >-PYTHON_PYGAME_SOURCE = pygame-$(PYTHON_PYGAME_VERSION).tar.gz
> >-PYTHON_PYGAME_SITE = https://bitbucket.org/pygame/pygame
> >-PYTHON_PYGAME_SITE_METHOD = hg
> >-PYTHON_PYGAME_SETUP_TYPE = distutils
> >-PYTHON_PYGAME_LICENSE = LGPL-2.1+
> >-PYTHON_PYGAME_LICENSE_FILES = LGPL
> >-
> >-ifeq ($(BR2_PACKAGE_PYTHON_PYGAME_IMAGE),y)
> >-PYTHON_PYGAME_OPT_DEPENDS += sdl_image
> >-endif
> >-
> >-ifeq ($(BR2_PACKAGE_PYTHON_PYGAME_FONT),y)
> >-PYTHON_PYGAME_OPT_DEPENDS += sdl_ttf
> >-endif
> >-
> >-ifeq ($(BR2_PACKAGE_PYTHON_PYGAME_MIXER),y)
> >-PYTHON_PYGAME_OPT_DEPENDS += sdl_mixer
> >-endif
> >-
> >-PYTHON_PYGAME_DEPENDENCIES = sdl $(PYTHON_PYGAME_OPT_DEPENDS)
> >-
> >-ifneq ($(BR2_PACKAGE_PYTHON_PYGAME_IMAGE),y)
> >-define PYTHON_PYGAME_UNCONFIGURE_IMAGE
> >- $(SED) 's/^imageext/#imageext/' $(@D)/Setup
> >-endef
> >-endif
> >-
> >-ifneq ($(BR2_PACKAGE_PYTHON_PYGAME_FONT),y)
> >-define PYTHON_PYGAME_UNCONFIGURE_FONT
> >- $(SED) 's/^font/#font/' $(@D)/Setup
> >-endef
> >-endif
> >-
> >-ifneq ($(BR2_PACKAGE_PYTHON_PYGAME_MIXER),y)
> >-define PYTHON_PYGAME_UNCONFIGURE_MIXER
> >- $(SED) 's/^mixer/#mixer/g' $(@D)/Setup
> >-endef
> >-endif
> >-
> >-# Both require numpy or numeric python module
> >-define PYTHON_PYGAME_UNCONFIGURE_SNDARRAY
> >- $(SED) 's/^_numericsndarray/#_numericsndarray/' $(@D)/Setup
> >-endef
> >-
> >-define PYTHON_PYGAME_UNCONFIGURE_SURFARRAY
> >- $(SED) 's/^_numericsurfarray/#_numericsurfarray/' $(@D)/Setup
> >-endef
> >-
> >-# Requires smpeg
> >-define PYTHON_PYGAME_UNCONFIGURE_MOVIE
> >- $(SED) 's/^movie/#movie/' $(@D)/Setup
> >-endef
> >-
> >-ifneq ($(BR2_PACKAGE_PYTHON_PYGAME_SCRAP),y)
> >-define PYTHON_PYGAME_UNCONFIGURE_SCRAP
> >- $(SED) 's/^scrap/#scrap/' $(@D)/Setup
> >-endef
> >-endif
> >-
> >-define PYTHON_PYGAME_UNCONFIGURE_FREETYPE
> >- $(SED) 's/^_freetype/#_freetype/' $(@D)/Setup
> >-endef
> >-
> >-PYTHON_PYGAME_SDL_FLAGS = `$(STAGING_DIR)/usr/bin/sdl-config --cflags`
> >-PYTHON_PYGAME_SDL_FLAGS += `$(STAGING_DIR)/usr/bin/sdl-config --libs`
> >-
> >-# Pygame needs a Setup file where options should be commented out if
> >-# dependencies are not available
> >-define PYTHON_PYGAME_CONFIGURE_CMDS
> >- cp -f $(@D)/Setup.in $(@D)/Setup
> >- $(SED) "s~^SDL = ~SDL = $(PYTHON_PYGAME_SDL_FLAGS) \n#~" $(@D)/Setup
> >- $(SED) 's/^pypm/#pypm/' $(@D)/Setup
> >- $(PYTHON_PYGAME_UNCONFIGURE_IMAGE)
> >- $(PYTHON_PYGAME_UNCONFIGURE_FONT)
> >- $(PYTHON_PYGAME_UNCONFIGURE_MIXER)
> >- $(PYTHON_PYGAME_UNCONFIGURE_SNDARRAY)
> >- $(PYTHON_PYGAME_UNCONFIGURE_SURFARRAY)
> >- $(PYTHON_PYGAME_UNCONFIGURE_MOVIE)
> >- $(PYTHON_PYGAME_UNCONFIGURE_SCRAP)
> >- $(PYTHON_PYGAME_UNCONFIGURE_FREETYPE)
> >-endef
> >-
> >-define PYTHON_PYGAME_REMOVE_DOC
> >- rm -rf $(TARGET_DIR)/usr/lib/python*/site-packages/pygame/docs
> >-endef
> >-
> >-PYTHON_PYGAME_POST_INSTALL_TARGET_HOOKS += PYTHON_PYGAME_REMOVE_DOC
> >-
> >-define PYTHON_PYGAME_REMOVE_TESTS
> >- rm -rf $(TARGET_DIR)/usr/lib/python*/site-packages/pygame/tests
> >-endef
> >-
> >-PYTHON_PYGAME_POST_INSTALL_TARGET_HOOKS += PYTHON_PYGAME_REMOVE_TESTS
> >-
> >-ifneq ($(BR2_PACKAGE_PYTHON_PYGAME_EXAMPLES),y)
> >-define PYTHON_PYGAME_REMOVE_EXAMPLES
> >- rm -rf $(TARGET_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages/pygame/examples
> >-endef
> >-PYTHON_PYGAME_POST_INSTALL_TARGET_HOOKS += PYTHON_PYGAME_REMOVE_EXAMPLES
> >-endif
> >-
> >-$(eval $(python-package))
> ________________________________
>
> othermo GmbH | Sitz der Gesellschaft: Alzenau | Amtsgericht Aschaffenburg: HRB 14783 | USt-IdNr.: DE319977978 | Geschäftsführung: Dr. Dennis Metz.
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
next prev parent reply other threads:[~2023-11-09 21:55 UTC|newest]
Thread overview: 52+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-10-26 9:26 [Buildroot] [PATCH 00/30] package/python3: bump version to 3.12.0 Adam Duskett
2023-10-26 9:26 ` [Buildroot] [PATCH 01/30] package/python3: use upstream build system to disable berkeleydb module Adam Duskett
2023-10-26 9:26 ` [Buildroot] [PATCH 02/30] package/python3: use upstream build system to disable uuid module Adam Duskett
2023-10-26 9:26 ` [Buildroot] [PATCH 03/30] package/python3: use upstream build system to disable bzip2/zlib/xz modules Adam Duskett
2023-10-26 9:26 ` [Buildroot] [PATCH 04/30] package/python3: use upstream build system to disable curses/readline modules Adam Duskett
2023-10-26 9:26 ` [Buildroot] [PATCH 05/30] package/python3: use upstream build system to disable ssl module Adam Duskett
2023-10-26 9:26 ` [Buildroot] [PATCH 06/30] package/python3: use upstream build system to disable ossaudiodev module Adam Duskett
2023-10-26 9:26 ` [Buildroot] [PATCH 07/30] package/python3: use upstream build system to disable unicodedata module Adam Duskett
2023-10-26 9:26 ` [Buildroot] [PATCH 08/30] package/python3: use upstream build system to disable nis module Adam Duskett
2023-10-26 9:26 ` [Buildroot] [PATCH 09/30] package/python3: use upstream build system to disable decimal module Adam Duskett
2023-10-26 9:26 ` [Buildroot] [PATCH 10/30] package/python3: use upstream build system to disable CJK codecs Adam Duskett
2023-10-26 9:26 ` [Buildroot] [PATCH 11/30] package/python3: use upstream build system to disable pyexpat module Adam Duskett
2023-10-26 9:26 ` [Buildroot] [PATCH 12/30] package/python3: use upstream build system to disable sqlite3 module Adam Duskett
2023-10-26 9:26 ` [Buildroot] [PATCH 13/30] package/python3: update patch and partly use upstream build system to disable tk module Adam Duskett
2023-11-04 17:47 ` Arnout Vandecappelle via buildroot
2023-10-26 9:26 ` [Buildroot] [PATCH 14/30] package/python3: Remove infrastructure to disable the build of certain extensions Adam Duskett
2023-10-26 9:26 ` [Buildroot] [PATCH 15/30] package/scons: bump version to 4.5.2 Adam Duskett
2023-11-04 17:54 ` Arnout Vandecappelle via buildroot
2023-11-04 17:55 ` Arnout Vandecappelle via buildroot
2023-10-26 9:26 ` [Buildroot] [PATCH 16/30] package/python-wsaccel: bump version to 0.6.6 Adam Duskett
2023-11-04 17:56 ` Arnout Vandecappelle via buildroot
2023-10-26 9:26 ` [Buildroot] [PATCH 17/30] package/python-systemd: bump version to 235 Adam Duskett
2023-11-04 17:59 ` Arnout Vandecappelle via buildroot
2023-11-05 18:20 ` Adam Duskett
2023-10-26 9:26 ` [Buildroot] [PATCH 18/30] package/python-iptables: bump version to 1.0.1 Adam Duskett
2023-11-04 18:14 ` Arnout Vandecappelle via buildroot
2023-10-26 9:26 ` [Buildroot] [PATCH 19/30] package/libftdi: add patch to move from distutils to sysconfig Adam Duskett
2023-10-26 11:49 ` Yegor Yefremov via buildroot
2023-11-04 18:29 ` Arnout Vandecappelle via buildroot
2023-10-26 9:26 ` [Buildroot] [PATCH 20/30] package/python-constantly: update versioneer to 0.29 Adam Duskett
2023-11-04 21:20 ` Arnout Vandecappelle via buildroot
2023-10-26 9:26 ` [Buildroot] [PATCH 21/30] package/python-magic-wormhole: " Adam Duskett
2023-11-04 21:30 ` Arnout Vandecappelle via buildroot
2023-10-26 9:26 ` [Buildroot] [PATCH 22/30] package/python-magic-wormhole-mailbox-server: " Adam Duskett
2023-11-04 21:31 ` Arnout Vandecappelle via buildroot
2023-10-26 9:26 ` [Buildroot] [PATCH 23/30] package/python-magic-wormhole-transit-relay: " Adam Duskett
2023-11-04 21:31 ` Arnout Vandecappelle via buildroot
2023-10-26 9:26 ` [Buildroot] [PATCH 24/30] package/python-spake2: " Adam Duskett
2023-11-04 21:32 ` Arnout Vandecappelle via buildroot
2023-10-26 9:26 ` [Buildroot] [PATCH 25/30] package/python-iptables: use sysconfig.get_path instead of get_python_lib Adam Duskett
2023-11-04 21:36 ` Arnout Vandecappelle via buildroot
2023-10-26 9:26 ` [Buildroot] [PATCH 26/30] package/python-pathtools: add 0001-replace-imp.patch Adam Duskett
2023-11-04 21:36 ` Arnout Vandecappelle via buildroot
2023-10-26 9:26 ` [Buildroot] [PATCH 27/30] package/python-pyxb: Drop package Adam Duskett
2023-10-26 9:26 ` [Buildroot] [PATCH 28/30] package/python-pygame: drop package Adam Duskett
2023-10-26 14:13 ` Marcus Hoffmann via buildroot
2023-11-09 21:55 ` Yann E. MORIN [this message]
2023-11-10 7:17 ` Yann E. MORIN
2023-11-10 14:11 ` Peter Korsgaard
2023-10-26 9:27 ` [Buildroot] [PATCH 29/30] package/python-crossbar: " Adam Duskett
2023-10-26 9:27 ` [Buildroot] [PATCH 30/30] package/python3: bump version to 3.12.0 Adam Duskett
2023-11-04 17:41 ` [Buildroot] [PATCH 00/30] " Arnout Vandecappelle via buildroot
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=20231109215509.GG996011@scaer \
--to=yann.morin.1998@free.fr \
--cc=buildroot@buildroot.org \
--cc=marcus.hoffmann@othermo.de \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.