aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Mauro Condarelli <mc5686@mclink.it>2016-02-02 01:44:44 +0100
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-02-02 17:54:08 +0100
commit45c903065dff389e1885f976d758465fbdcb3e56 (patch)
tree8db6354d18cdbbd770a8b18d0f620497c594bee9
parentd75a2dbaa73914273d0094132fb4583c62ad7d37 (diff)
downloadbuildroot-45c903065dff389e1885f976d758465fbdcb3e56.tar.gz
buildroot-45c903065dff389e1885f976d758465fbdcb3e56.tar.bz2
python-click: new package
Signed-off-by: Mauro Condarelli <mc5686@mclink.it> Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com> [Thomas: - rewrap Config.in help text, lines were slightly too long - remove excessive empty line at end of Config.in - specify BSD-3c as the license, since BSD is not specific enough.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/Config.in1
-rw-r--r--package/python-click/Config.in7
-rw-r--r--package/python-click/python-click.hash3
-rw-r--r--package/python-click/python-click.mk14
4 files changed, 25 insertions, 0 deletions
diff --git a/package/Config.in b/package/Config.in
index a491d85627..da49c1a4fc 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -627,6 +627,7 @@ menu "External python modules"
source "package/python-cffi/Config.in"
source "package/python-cheetah/Config.in"
source "package/python-cherrypy/Config.in"
+ source "package/python-click/Config.in"
source "package/python-coherence/Config.in"
source "package/python-configobj/Config.in"
source "package/python-configshell-fb/Config.in"
diff --git a/package/python-click/Config.in b/package/python-click/Config.in
new file mode 100644
index 0000000000..c026998677
--- /dev/null
+++ b/package/python-click/Config.in
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_PYTHON_CLICK
+ bool "python-click"
+ help
+ A simple wrapper around optparse for powerful command line
+ utilities.
+
+ https://pypi.python.org/pypi/click
diff --git a/package/python-click/python-click.hash b/package/python-click/python-click.hash
new file mode 100644
index 0000000000..72aab0abe3
--- /dev/null
+++ b/package/python-click/python-click.hash
@@ -0,0 +1,3 @@
+# md5 from https://pypi.python.org/pypi?:action=show_md5&digest=83252a8095397b1f5f710fdd58b484d9, sha256 locally computed.
+md5 83252a8095397b1f5f710fdd58b484d9 click-6.2.tar.gz
+sha256 fba0ff70f5ebb4cebbf64c40a8fbc222fb7cf825237241e548354dabe3da6a82 click-6.2.tar.gz
diff --git a/package/python-click/python-click.mk b/package/python-click/python-click.mk
new file mode 100644
index 0000000000..19ae18700b
--- /dev/null
+++ b/package/python-click/python-click.mk
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-click
+#
+################################################################################
+
+PYTHON_CLICK_VERSION = 6.2
+PYTHON_CLICK_SOURCE = click-$(PYTHON_CLICK_VERSION).tar.gz
+PYTHON_CLICK_SITE = http://pypi.python.org/packages/source/c/click
+PYTHON_CLICK_LICENSE = BSD-3c
+PYTHON_CLICK_LICENSE_FILES = LICENSE
+PYTHON_CLICK_SETUP_TYPE = setuptools
+
+$(eval $(python-package))