[Buildroot] [PATCH 063/107] package/python-txtorcon: drop python2 support
Peter Korsgaard
peter at korsgaard.com
Wed Feb 9 16:51:29 UTC 2022
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
package/python-txtorcon/python-txtorcon.mk | 9 ---------
1 file changed, 9 deletions(-)
diff --git a/package/python-txtorcon/python-txtorcon.mk b/package/python-txtorcon/python-txtorcon.mk
index b8414d96d0..acf586cb8c 100644
--- a/package/python-txtorcon/python-txtorcon.mk
+++ b/package/python-txtorcon/python-txtorcon.mk
@@ -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))
--
2.20.1
More information about the buildroot
mailing list