Skip to contentSkip to conversation

python-click: add recipe for the python click package required by the new version of flask

PATCH New Derek Straka 1 participant 2 messages Jul 17, 2016

lore
Share & tools
lore
#0 lore raw

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

---
 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
meta-python/recipes-devtools/python/python-click.inc new file +17 -0
new file mode 100644
index 0000000..f3d5b36
@@ -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 \
+    "
meta-python/recipes-devtools/python/python-click_6.6.bb new file +4 -0
new file mode 100644
index 0000000..f63e27c
@@ -0,0 +1,4 @@
+inherit pypi setuptools
+require python-click.inc
+
+RDEPENDS_${PN} += "${PYTHON_PN}-contextlib"
meta-python/recipes-devtools/python/python3-click_6.6.bb new file +2 -0
new file mode 100644
index 0000000..1920644
@@ -0,0 +1,2 @@
+inherit pypi setuptools3
+require python-click.inc
Signature · 1 line
1.9.1
#1 lore raw

PATCH 2/2 python-flask: update RDEPENDS to include python-click

---
 meta-python/recipes-devtools/python/python-flask.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-python/recipes-devtools/python/python-flask.inc +1 -1
index ee7f7c2..87d020e 100644
@@ -11,4 +11,4 @@ SRC_URI[sha256sum] = "b4713f2bfb9ebc2966b8a49903ae0d3984781d5c878591cf2f7b484d28
 
 PYPI_PACKAGE = "Flask"
 
-RDEPENDS_${PN} = "${PYTHON_PN}-werkzeug ${PYTHON_PN}-jinja2 ${PYTHON_PN}-itsdangerous"
+RDEPENDS_${PN} = "${PYTHON_PN}-werkzeug ${PYTHON_PN}-jinja2 ${PYTHON_PN}-itsdangerous ${PYTHON_PN}-click"
Signature · 1 line
1.9.1