package/x11r7/xdriver_xf86-video-siliconmotion: bump version to 1.7.9
[buildroot-gz.git] / package / python-pexpect / python-pexpect.mk
blobf1f9903946ce6fb2dea7cb09b6c9a1afc616a88b
1 ################################################################################
3 # python-pexpect
5 ################################################################################
7 PYTHON_PEXPECT_VERSION = 4.2.1
8 PYTHON_PEXPECT_SOURCE = pexpect-$(PYTHON_PEXPECT_VERSION).tar.gz
9 PYTHON_PEXPECT_SITE = https://pypi.python.org/packages/e8/13/d0b0599099d6cd23663043a2a0bb7c61e58c6ba359b2656e6fb000ef5b98
10 PYTHON_PEXPECT_LICENSE = ISC
11 PYTHON_PEXPECT_LICENSE_FILES = LICENSE
12 PYTHON_PEXPECT_SETUP_TYPE = distutils
14 # async.py is not usable with Python 2, and removing is the solution
15 # recommended by upstream:
16 # https://github.com/pexpect/pexpect/issues/290
17 ifeq ($(BR2_PACKAGE_PYTHON),y)
18 define PYTHON_PEXPECT_REMOVE_ASYNC_PY
19 $(RM) $(@D)/pexpect/async.py
20 endef
21 PYTHON_PEXPECT_POST_PATCH_HOOKS += PYTHON_PEXPECT_REMOVE_ASYNC_PY
22 endif
24 $(eval $(python-package))