mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
Merge from bittboy/buildroot@db180c0
This commit is contained in:
@@ -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
|
||||
@@ -0,0 +1,5 @@
|
||||
# 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
|
||||
@@ -0,0 +1,24 @@
|
||||
################################################################################
|
||||
#
|
||||
# python-pexpect
|
||||
#
|
||||
################################################################################
|
||||
|
||||
PYTHON_PEXPECT_VERSION = 4.6.0
|
||||
PYTHON_PEXPECT_SOURCE = pexpect-$(PYTHON_PEXPECT_VERSION).tar.gz
|
||||
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
|
||||
|
||||
# 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