summaryrefslogtreecommitdiffstats
path: root/package/python-prompt-toolkit
diff options
context:
space:
mode:
authorYegor Yefremov <yegorslists@googlemail.com>2016-07-12 09:39:03 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-07-15 14:48:49 +0200
commit114f48b1630dbe03cdab095b84f7975c73fa3bba (patch)
tree9085884d985e68a3d2d14f277663436efb4849b7 /package/python-prompt-toolkit
parent0b3b5ef28bb82a83e93cddcdfde23c0e8521b9b3 (diff)
downloadbuildroot-114f48b1630dbe03cdab095b84f7975c73fa3bba.tar.gz
buildroot-114f48b1630dbe03cdab095b84f7975c73fa3bba.zip
python-prompt-toolkit: new package
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/python-prompt-toolkit')
-rw-r--r--package/python-prompt-toolkit/Config.in9
-rw-r--r--package/python-prompt-toolkit/python-prompt-toolkit.hash3
-rw-r--r--package/python-prompt-toolkit/python-prompt-toolkit.mk14
3 files changed, 26 insertions, 0 deletions
diff --git a/package/python-prompt-toolkit/Config.in b/package/python-prompt-toolkit/Config.in
new file mode 100644
index 0000000000..ccc9ebb0f5
--- /dev/null
+++ b/package/python-prompt-toolkit/Config.in
@@ -0,0 +1,9 @@
+config BR2_PACKAGE_PYTHON_PROMPT_TOOLKIT
+ bool "python-prompt-toolkit"
+ select BR2_PACKAGE_PYTHON_SIX # runtime
+ select BR2_PACKAGE_PYTHON_WCWIDTH # runtime
+ help
+ Library for building powerful interactive command lines in
+ Python.
+
+ https://github.com/jonathanslenders/python-prompt-toolkit
diff --git a/package/python-prompt-toolkit/python-prompt-toolkit.hash b/package/python-prompt-toolkit/python-prompt-toolkit.hash
new file mode 100644
index 0000000000..f33e99a3f7
--- /dev/null
+++ b/package/python-prompt-toolkit/python-prompt-toolkit.hash
@@ -0,0 +1,3 @@
+# md5 from https://pypi.python.org/pypi/prompt_toolkit/json, sha256 locally computed
+md5 6c4133d099603f496c761491043bf0ef prompt_toolkit-1.0.3.tar.gz
+sha256 805e026f0cbad27467e93f9dd3e3777718d401a62788c1e84ca038e967ad8ba2 prompt_toolkit-1.0.3.tar.gz
diff --git a/package/python-prompt-toolkit/python-prompt-toolkit.mk b/package/python-prompt-toolkit/python-prompt-toolkit.mk
new file mode 100644
index 0000000000..634f20eaa2
--- /dev/null
+++ b/package/python-prompt-toolkit/python-prompt-toolkit.mk
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-prompt-toolkit
+#
+################################################################################
+
+PYTHON_PROMPT_TOOLKIT_VERSION = 1.0.3
+PYTHON_PROMPT_TOOLKIT_SOURCE = prompt_toolkit-$(PYTHON_PROMPT_TOOLKIT_VERSION).tar.gz
+PYTHON_PROMPT_TOOLKIT_SITE = https://pypi.python.org/packages/8d/de/412f23919929c01e6b55183e124623f705e4b91796d3d2dce2cb53d595ad
+PYTHON_PROMPT_TOOLKIT_SETUP_TYPE = setuptools
+PYTHON_PROMPT_TOOLKIT_LICENSE = BSD-3c
+PYTHON_PROMPT_TOOLKIT_LICENSE_FILES = LICENSE
+
+$(eval $(python-package))
OpenPOWER on IntegriCloud