summaryrefslogtreecommitdiffstats
path: root/package/python-pexpect
diff options
context:
space:
mode:
authorJan Viktorin <viktorin@rehivetech.com>2016-03-27 03:31:23 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-04-15 22:45:48 +0200
commit60262f141d7b0c3872065141e5e038d274b06185 (patch)
tree709e0414b8572729ab316d0927efc05752ea3322 /package/python-pexpect
parent9b937ad0e679cc6bb42a398205d13affde69fdda (diff)
downloadbuildroot-60262f141d7b0c3872065141e5e038d274b06185.tar.gz
buildroot-60262f141d7b0c3872065141e5e038d274b06185.zip
python-pexpect: new package
Signed-off-by: Jan Viktorin <viktorin@rehivetech.com> Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com> [Thomas: - fix hash file - fix <pkg>_SITE variable - remove runtime only dependency from .mk file, as suggested by Yegor Yefremov] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/python-pexpect')
-rw-r--r--package/python-pexpect/Config.in12
-rw-r--r--package/python-pexpect/python-pexpect.hash3
-rw-r--r--package/python-pexpect/python-pexpect.mk14
3 files changed, 29 insertions, 0 deletions
diff --git a/package/python-pexpect/Config.in b/package/python-pexpect/Config.in
new file mode 100644
index 0000000000..58a3af5783
--- /dev/null
+++ b/package/python-pexpect/Config.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
diff --git a/package/python-pexpect/python-pexpect.hash b/package/python-pexpect/python-pexpect.hash
new file mode 100644
index 0000000000..29cf892add
--- /dev/null
+++ b/package/python-pexpect/python-pexpect.hash
@@ -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
diff --git a/package/python-pexpect/python-pexpect.mk b/package/python-pexpect/python-pexpect.mk
new file mode 100644
index 0000000000..b74bf83510
--- /dev/null
+++ b/package/python-pexpect/python-pexpect.mk
@@ -0,0 +1,14 @@
+################################################################################
+#
+# 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
+
+$(eval $(python-package))
OpenPOWER on IntegriCloud