[Buildroot] [PATCH 042/107] package/python-fire: drop python2 support
Peter Korsgaard
peter at korsgaard.com
Wed Feb 9 16:51:08 UTC 2022
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
package/python-fire/Config.in | 1 -
package/python-fire/python-fire.mk | 9 ---------
2 files changed, 10 deletions(-)
diff --git a/package/python-fire/Config.in b/package/python-fire/Config.in
index b718ddac5e..9c816b0fd0 100644
--- a/package/python-fire/Config.in
+++ b/package/python-fire/Config.in
@@ -2,7 +2,6 @@ config BR2_PACKAGE_PYTHON_FIRE
bool "python-fire"
select BR2_PACKAGE_PYTHON_SIX # runtime
select BR2_PACKAGE_PYTHON_TERMCOLOR # runtime
- select BR2_PACKAGE_PYTHON_ENUM34 if BR2_PACKAGE_PYTHON # runtime
help
A library for automatically generating command line
interfaces.
diff --git a/package/python-fire/python-fire.mk b/package/python-fire/python-fire.mk
index 7ba971abc4..40631fce86 100644
--- a/package/python-fire/python-fire.mk
+++ b/package/python-fire/python-fire.mk
@@ -11,13 +11,4 @@ PYTHON_FIRE_SETUP_TYPE = setuptools
PYTHON_FIRE_LICENSE = Apache-2.0
PYTHON_FIRE_LICENSE_FILES = LICENSE
-ifeq ($(BR2_PACKAGE_PYTHON),y)
-# only needed/valid for python 3.x
-define PYTHON_FIRE_RM_PY3_FILE
- rm -f $(TARGET_DIR)/usr/lib/python*/site-packages/fire/test_components_py3.py
-endef
-
-PYTHON_FIRE_POST_INSTALL_TARGET_HOOKS += PYTHON_FIRE_RM_PY3_FILE
-endif
-
$(eval $(python-package))
--
2.20.1
More information about the buildroot
mailing list