Commit 765b7e19 authored by Alvaro G. M's avatar Alvaro G. M Committed by Thomas Petazzoni
Browse files

python-docopt: new package



[Thomas:
  - Remove dependency on python || python3, as we did for all other
    python modules that work with both Python 2 and Python 3.
  - Rewrap help text.
  - Add <pkg>_LICENSE_FILES value.]

Signed-off-by: default avatarAlvaro G. M <alvaro.gamez@hazent.com>
Signed-off-by: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
parent 19dd56db
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -492,6 +492,7 @@ menu "external python modules"
	source "package/python-crc16/Config.in"
	source "package/python-daemon/Config.in"
	source "package/python-dialog/Config.in"
	source "package/python-docopt/Config.in"
	source "package/python-dpkt/Config.in"
	source "package/python-enum34/Config.in"
	source "package/python-flask/Config.in"
+11 −0
Original line number Diff line number Diff line
config BR2_PACKAGE_PYTHON_DOCOPT
	bool "python-docopt"
	help
	  docopt helps you create most beautiful command-line
	  interfaces easily.  The option parser is generated based on
	  the beautiful help message that you write yourself. This way
	  you don't need to write this stupid repeatable parser-code,
	  and instead can write only the help message-- the way you
	  want it.

	  https://github.com/docopt/docopt
+13 −0
Original line number Diff line number Diff line
################################################################################
#
# python-docopt
#
################################################################################

PYTHON_DOCOPT_VERSION = 0.6.2
PYTHON_DOCOPT_SITE = $(call github,docopt,docopt,$(PYTHON_DOCOPT_VERSION))
PYTHON_DOCOPT_LICENSE = MIT
PYTHON_DOCOPT_LICENSE_FILES = LICENSE-MIT
PYTHON_DOCOPT_SETUP_TYPE = setuptools

$(eval $(python-package))