package/python-fire: drop python2 support

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
Peter Korsgaard 2022-02-09 17:51:08 +01:00 committed by Yann E. MORIN
parent 9dc598a7e6
commit 87a84dfc6c
2 changed files with 0 additions and 10 deletions

View File

@ -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.

View File

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