[PACKAGE/DEFCONFIG] add PYGAME along side with new pkg PYGAME_MENU (#72)

* [CONFIG] add PYGAME package

* [PACKAGE] add PYGAME-MENU

* [DEFCONFIG] add PYTHON_PYGAME to shared.SDKS

* [PYGAME-MENU] select 	PYTHON_TYPING_EXTENSIONS
This commit is contained in:
Apaczer
2024-01-03 15:25:40 +01:00
committed by GitHub
parent 026f607360
commit c6cc029a0c
5 changed files with 33 additions and 6 deletions

View File

@@ -1235,6 +1235,7 @@ menu "External python modules"
source "package/python-pyelftools/Config.in"
source "package/python-pyftpdlib/Config.in"
source "package/python-pygame/Config.in"
source "package/python-pygame-menu/Config.in"
source "package/python-pygments/Config.in"
source "package/python-pyhamcrest/Config.in"
source "package/python-pyicu/Config.in"

View File

@@ -0,0 +1,7 @@
config BR2_PACKAGE_PYTHON_PYGAME_MENU
bool "python-pygame-menu"
select BR2_PACKAGE_PYTHON_TYPING_EXTENSIONS # runtime
depends on BR2_PACKAGE_PYTHON_PYGAME
help
A menu for pygame to generate GUI/MENU. Simple&easy to use
https://pypi.org/project/pygame-menu/

View File

@@ -0,0 +1,13 @@
################################################################################
#
# python-pygame-menu
#
################################################################################
PYTHON_PYGAME_MENU_VERSION = 4.4.3
PYTHON_PYGAME_MENU_SITE = $(call github,ppizarror,pygame-menu,$(PYTHON_PYGAME_MENU_VERSION))
PYTHON_PYGAME_MENU_LICENSE = MIT
PYTHON_PYGAME_MENU_LICENSE_FILES = LICENSE
PYTHON_PYGAME_MENU_SETUP_TYPE = setuptools
$(eval $(python-package))