Update buidlroot to version 2016.08.1
This commit is contained in:
12
bsp/buildroot/package/python-pexpect/Config.in
Normal file
12
bsp/buildroot/package/python-pexpect/Config.in
Normal file
@@ -0,0 +1,12 @@
|
||||
config BR2_PACKAGE_PYTHON_PEXPECT
|
||||
bool "python-pexpect"
|
||||
select BR2_PACKAGE_PYTHON_PTYPROCESS # runtime
|
||||
help
|
||||
Pexpect is a pure Python module for spawning child
|
||||
applications; controlling them; and responding to expected
|
||||
patterns in their output. Pexpect works like Don Libes’
|
||||
Expect. Pexpect allows your script to spawn a child
|
||||
application and control it as if a human were typing
|
||||
commands.
|
||||
|
||||
https://pexpect.readthedocs.org
|
||||
3
bsp/buildroot/package/python-pexpect/python-pexpect.hash
Normal file
3
bsp/buildroot/package/python-pexpect/python-pexpect.hash
Normal file
@@ -0,0 +1,3 @@
|
||||
# md5 from https://pypi.python.org, sha256 locally computed
|
||||
md5 056df81e6ca7081f1015b4b147b977b7 pexpect-4.0.1.tar.gz
|
||||
sha256 232795ebcaaf2e120396dbbaa3a129eda51757eeaae1911558f4ef8ee414fc6c pexpect-4.0.1.tar.gz
|
||||
24
bsp/buildroot/package/python-pexpect/python-pexpect.mk
Normal file
24
bsp/buildroot/package/python-pexpect/python-pexpect.mk
Normal file
@@ -0,0 +1,24 @@
|
||||
################################################################################
|
||||
#
|
||||
# python-pexpect
|
||||
#
|
||||
################################################################################
|
||||
|
||||
PYTHON_PEXPECT_VERSION = 4.0.1
|
||||
PYTHON_PEXPECT_SITE = https://pypi.python.org/packages/source/p/pexpect
|
||||
PYTHON_PEXPECT_SOURCE = pexpect-$(PYTHON_PEXPECT_VERSION).tar.gz
|
||||
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))
|
||||
Reference in New Issue
Block a user