summaryrefslogtreecommitdiffstats
path: root/package/python-pycli
diff options
context:
space:
mode:
authorGeoffrey Ragot <geoffreyragot@gmail.com>2015-07-26 14:12:18 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-07-29 00:01:09 +0200
commit1ec19e5e47486d2ba61564b37f1c8b6e62ec6d28 (patch)
tree77a1c931b0885272c696b1ec38ef94fa711ed53c /package/python-pycli
parentf8d281d816f5c7bf85b3643892b0edd9406dcb4b (diff)
downloadbuildroot-1ec19e5e47486d2ba61564b37f1c8b6e62ec6d28.tar.gz
buildroot-1ec19e5e47486d2ba61564b37f1c8b6e62ec6d28.zip
python-pycli: new package
[Thomas: - rewrap too long lines in Config.in help text - add missing upstream URL in Config.in help text - add missing hash file - fix the licensing informations, which were incorrect - remove duplicate <pkg>_SETUP_TYPE definition.] Signed-off-by: Geoffrey Ragot <geoffrey.ragot@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/python-pycli')
-rw-r--r--package/python-pycli/Config.in7
-rw-r--r--package/python-pycli/python-pycli.hash4
-rw-r--r--package/python-pycli/python-pycli.mk14
3 files changed, 25 insertions, 0 deletions
diff --git a/package/python-pycli/Config.in b/package/python-pycli/Config.in
new file mode 100644
index 0000000000..e1ce3b99a6
--- /dev/null
+++ b/package/python-pycli/Config.in
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_PYTHON_PYCLI
+ bool "python-pycli"
+ help
+ The cli package is a framework for making simple, correct
+ command line applications in Python.
+
+ https://pythonhosted.org/pyCLI/
diff --git a/package/python-pycli/python-pycli.hash b/package/python-pycli/python-pycli.hash
new file mode 100644
index 0000000000..8be31787be
--- /dev/null
+++ b/package/python-pycli/python-pycli.hash
@@ -0,0 +1,4 @@
+# From https://pypi.python.org/pypi?:action=show_md5&digest=5cad880168f3423a1235b396735c1360
+md5 5cad880168f3423a1235b396735c1360 pyCLI-devel.tar.gz
+# Locally calculated
+sha256 d7dc3245d79ef00ba5c0d6b008eb3d1a519c0df4cfa4467eee5160a80c6ddc0a pyCLI-devel.tar.gz
diff --git a/package/python-pycli/python-pycli.mk b/package/python-pycli/python-pycli.mk
new file mode 100644
index 0000000000..2d83acd54f
--- /dev/null
+++ b/package/python-pycli/python-pycli.mk
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-pycli
+#
+################################################################################
+
+PYTHON_PYCLI_VERSION = devel
+PYTHON_PYCLI_SOURCE = pyCLI-$(PYTHON_PYCLI_VERSION).tar.gz
+PYTHON_PYCLI_SITE = https://pypi.python.org/packages/source/p/pyCLI/
+PYTHON_PYCLI_LICENSE = ISC-like
+PYTHON_PYCLI_LICENSE_FILES = lib/cli/__init__.py
+PYTHON_PYCLI_SETUP_TYPE = setuptools
+
+$(eval $(python-package))
OpenPOWER on IntegriCloud