mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 14:01:57 -09:00
package/python-pygame: replace PYTHON_VERSION_MAJOR
Replace PYTHON_VERSION_MAJOR by PYTHON3_VERSION_MAJOR now that python2 has been dropped Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
committed by
Peter Korsgaard
parent
3c10bb052d
commit
70980a154b
@@ -103,7 +103,7 @@ PYTHON_PYGAME_POST_INSTALL_TARGET_HOOKS += PYTHON_PYGAME_REMOVE_TESTS
|
|||||||
|
|
||||||
ifneq ($(BR2_PACKAGE_PYTHON_PYGAME_EXAMPLES),y)
|
ifneq ($(BR2_PACKAGE_PYTHON_PYGAME_EXAMPLES),y)
|
||||||
define PYTHON_PYGAME_REMOVE_EXAMPLES
|
define PYTHON_PYGAME_REMOVE_EXAMPLES
|
||||||
rm -rf $(TARGET_DIR)/usr/lib/python$(PYTHON_VERSION_MAJOR)/site-packages/pygame/examples
|
rm -rf $(TARGET_DIR)/usr/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages/pygame/examples
|
||||||
endef
|
endef
|
||||||
PYTHON_PYGAME_POST_INSTALL_TARGET_HOOKS += PYTHON_PYGAME_REMOVE_EXAMPLES
|
PYTHON_PYGAME_POST_INSTALL_TARGET_HOOKS += PYTHON_PYGAME_REMOVE_EXAMPLES
|
||||||
endif
|
endif
|
||||||
|
|||||||
Reference in New Issue
Block a user