diff mbox series

[042/107] package/python-fire: drop python2 support

Message ID 20220209165213.4498-43-peter@korsgaard.com
State Accepted
Headers show
Series Drop python 2.7 | expand

Commit Message

Peter Korsgaard Feb. 9, 2022, 4:51 p.m. UTC
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
---
 package/python-fire/Config.in      | 1 -
 package/python-fire/python-fire.mk | 9 ---------
 2 files changed, 10 deletions(-)
diff mbox series

Patch

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))