python-pexpect: bump to version 4.6.0

Add hash for license.
Adjust post-patch for 4.6.0 (async.py was renamed to _async.py).

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Asaf Kahlon 2018-09-09 08:17:48 +03:00 committed by Thomas Petazzoni
parent 72b20a50b8
commit c1207b6c30
2 changed files with 8 additions and 6 deletions

View File

@ -1,3 +1,5 @@
# md5 from https://pypi.python.org/pypi/pexpect/json, sha256 locally computed
md5 3694410001a99dff83f0b500a1ca1c95 pexpect-4.2.1.tar.gz
sha256 3d132465a75b57aa818341c6521392a06cc660feb3988d7f1074f39bd23c9a92 pexpect-4.2.1.tar.gz
# md5, sha256 from https://pypi.org/pypi/pexpect/json
md5 d4f3372965a996238d57d19b95d2e03a pexpect-4.6.0.tar.gz
sha256 2a8e88259839571d1251d278476f3eec5db26deb73a70be5ed5dc5435e418aba pexpect-4.6.0.tar.gz
# Locally computed sha256 checksums
sha256 4a483ae1c4dc738a6c8b73feb49074e1835da02ab5aa686f2675029906fa364d LICENSE

View File

@ -4,9 +4,9 @@
#
################################################################################
PYTHON_PEXPECT_VERSION = 4.2.1
PYTHON_PEXPECT_VERSION = 4.6.0
PYTHON_PEXPECT_SOURCE = pexpect-$(PYTHON_PEXPECT_VERSION).tar.gz
PYTHON_PEXPECT_SITE = https://pypi.python.org/packages/e8/13/d0b0599099d6cd23663043a2a0bb7c61e58c6ba359b2656e6fb000ef5b98
PYTHON_PEXPECT_SITE = https://files.pythonhosted.org/packages/89/43/07d07654ee3e25235d8cea4164cdee0ec39d1fda8e9203156ebe403ffda4
PYTHON_PEXPECT_LICENSE = ISC
PYTHON_PEXPECT_LICENSE_FILES = LICENSE
PYTHON_PEXPECT_SETUP_TYPE = distutils
@ -16,7 +16,7 @@ PYTHON_PEXPECT_SETUP_TYPE = distutils
# https://github.com/pexpect/pexpect/issues/290
ifeq ($(BR2_PACKAGE_PYTHON),y)
define PYTHON_PEXPECT_REMOVE_ASYNC_PY
$(RM) $(@D)/pexpect/async.py
$(RM) $(@D)/pexpect/_async.py
endef
PYTHON_PEXPECT_POST_PATCH_HOOKS += PYTHON_PEXPECT_REMOVE_ASYNC_PY
endif