[oe] [meta-python][PATCH 1/2] python-click: add recipe for the python click package required by the new version of flask

Derek Straka derek at asterius.io
Sun Jul 17 11:52:00 UTC 2016


Signed-off-by: Derek Straka <derek at asterius.io>
---
 meta-python/recipes-devtools/python/python-click.inc    | 17 +++++++++++++++++
 meta-python/recipes-devtools/python/python-click_6.6.bb |  4 ++++
 .../recipes-devtools/python/python3-click_6.6.bb        |  2 ++
 3 files changed, 23 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python-click.inc
 create mode 100644 meta-python/recipes-devtools/python/python-click_6.6.bb
 create mode 100644 meta-python/recipes-devtools/python/python3-click_6.6.bb

diff --git a/meta-python/recipes-devtools/python/python-click.inc b/meta-python/recipes-devtools/python/python-click.inc
new file mode 100644
index 0000000..f3d5b36
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-click.inc
@@ -0,0 +1,17 @@
+SUMMARY = "A simple wrapper around optparse for powerful command line utilities."
+DESCRIPTION = "\
+Click is a Python package for creating beautiful command line interfaces \
+in a composable way with as little code as necessary. It's the "Command \
+Line Interface Creation Kit". It's highly configurable but comes with \
+sensible defaults out of the box."
+HOMEPAGE = "http://click.pocoo.org/"
+LICENSE = "BSD"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=09e8b7869f94ba9e9a7b260d53c65dab"
+
+SRC_URI[md5sum] = "d0b09582123605220ad6977175f3e51d"
+SRC_URI[sha256sum] = "cc6a19da8ebff6e7074f731447ef7e112bd23adf3de5c597cf9989f2fd8defe9"
+
+RDEPENDS_${PN} += "\
+    ${PYTHON_PN}-io \
+    ${PYTHON_PN}-threading \
+    "
diff --git a/meta-python/recipes-devtools/python/python-click_6.6.bb b/meta-python/recipes-devtools/python/python-click_6.6.bb
new file mode 100644
index 0000000..f63e27c
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-click_6.6.bb
@@ -0,0 +1,4 @@
+inherit pypi setuptools
+require python-click.inc
+
+RDEPENDS_${PN} += "${PYTHON_PN}-contextlib"
diff --git a/meta-python/recipes-devtools/python/python3-click_6.6.bb b/meta-python/recipes-devtools/python/python3-click_6.6.bb
new file mode 100644
index 0000000..1920644
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-click_6.6.bb
@@ -0,0 +1,2 @@
+inherit pypi setuptools3
+require python-click.inc
-- 
1.9.1




More information about the Openembedded-devel mailing list