summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/Config.in1
-rw-r--r--package/python-docopt/Config.in11
-rw-r--r--package/python-docopt/python-docopt.mk13
3 files changed, 25 insertions, 0 deletions
diff --git a/package/Config.in b/package/Config.in
index 600a68d327..dd3a46e18f 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -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"
diff --git a/package/python-docopt/Config.in b/package/python-docopt/Config.in
new file mode 100644
index 0000000000..a3a482fff1
--- /dev/null
+++ b/package/python-docopt/Config.in
@@ -0,0 +1,11 @@
+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
diff --git a/package/python-docopt/python-docopt.mk b/package/python-docopt/python-docopt.mk
new file mode 100644
index 0000000000..f87d2f85a6
--- /dev/null
+++ b/package/python-docopt/python-docopt.mk
@@ -0,0 +1,13 @@
+################################################################################
+#
+# 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))
OpenPOWER on IntegriCloud