From 1ec19e5e47486d2ba61564b37f1c8b6e62ec6d28 Mon Sep 17 00:00:00 2001 From: Geoffrey Ragot Date: Sun, 26 Jul 2015 14:12:18 +0200 Subject: [PATCH] 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 _SETUP_TYPE definition.] Signed-off-by: Geoffrey Ragot Signed-off-by: Thomas Petazzoni --- package/Config.in | 1 + package/python-pycli/Config.in | 7 +++++++ package/python-pycli/python-pycli.hash | 4 ++++ package/python-pycli/python-pycli.mk | 14 ++++++++++++++ 4 files changed, 26 insertions(+) create mode 100644 package/python-pycli/Config.in create mode 100644 package/python-pycli/python-pycli.hash create mode 100644 package/python-pycli/python-pycli.mk diff --git a/package/Config.in b/package/Config.in index 8db91eba15..eba74a051f 100644 --- a/package/Config.in +++ b/package/Config.in @@ -636,6 +636,7 @@ menu "external python modules" source "package/python-protobuf/Config.in" source "package/python-psutil/Config.in" source "package/python-pyasn/Config.in" + source "package/python-pycli/Config.in" source "package/python-pycrypto/Config.in" source "package/python-pydal/Config.in" source "package/python-pyftpdlib/Config.in" 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)) -- 2.30.2