package/python-pexpect: 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:
parent
445726415a
commit
480f54219d
@ -11,14 +11,4 @@ PYTHON_PEXPECT_LICENSE = ISC
|
||||
PYTHON_PEXPECT_LICENSE_FILES = LICENSE
|
||||
PYTHON_PEXPECT_SETUP_TYPE = distutils
|
||||
|
||||
# async.py is not usable with Python 2, and removing is the solution
|
||||
# recommended by upstream:
|
||||
# https://github.com/pexpect/pexpect/issues/290
|
||||
ifeq ($(BR2_PACKAGE_PYTHON),y)
|
||||
define PYTHON_PEXPECT_REMOVE_ASYNC_PY
|
||||
$(RM) $(@D)/pexpect/_async.py
|
||||
endef
|
||||
PYTHON_PEXPECT_POST_PATCH_HOOKS += PYTHON_PEXPECT_REMOVE_ASYNC_PY
|
||||
endif
|
||||
|
||||
$(eval $(python-package))
|
||||
|
Loading…
Reference in New Issue
Block a user