mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-10 08:14:09 -09:00
package/python-txtorcon: 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:
committed by
Yann E. MORIN
parent
67a90aa206
commit
c45680dd66
@@ -11,13 +11,4 @@ PYTHON_TXTORCON_SETUP_TYPE = setuptools
|
||||
PYTHON_TXTORCON_LICENSE = MIT
|
||||
PYTHON_TXTORCON_LICENSE_FILES = LICENSE
|
||||
|
||||
ifeq ($(BR2_PACKAGE_PYTHON),y)
|
||||
# only needed/valid for python 3.x
|
||||
define PYTHON_TXTORCON_RM_PY3_FILE
|
||||
rm -f $(TARGET_DIR)/usr/lib/python*/site-packages/txtorcon/controller_py3.py
|
||||
endef
|
||||
|
||||
PYTHON_TXTORCON_POST_INSTALL_TARGET_HOOKS += PYTHON_TXTORCON_RM_PY3_FILE
|
||||
endif
|
||||
|
||||
$(eval $(python-package))
|
||||
|
||||
Reference in New Issue
Block a user