[oe] [meta-python][PATCH 17/17] python-prompt-toolkit, python3-prompt-toolkit: Add recipe for version 1.0.6

Fabio Berton fabio.berton at ossystems.com.br
Mon Aug 22 19:01:31 UTC 2016


Signed-off-by: Fabio Berton <fabio.berton at ossystems.com.br>
---
 .../recipes-devtools/python/python-prompt-toolkit.inc | 19 +++++++++++++++++++
 .../python/python-prompt-toolkit_1.0.6.bb             |  2 ++
 .../python/python3-prompt-toolkit_1.0.6.bb            |  9 +++++++++
 3 files changed, 30 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python-prompt-toolkit.inc
 create mode 100644 meta-python/recipes-devtools/python/python-prompt-toolkit_1.0.6.bb
 create mode 100644 meta-python/recipes-devtools/python/python3-prompt-toolkit_1.0.6.bb

diff --git a/meta-python/recipes-devtools/python/python-prompt-toolkit.inc b/meta-python/recipes-devtools/python/python-prompt-toolkit.inc
new file mode 100644
index 0000000..ac860b7
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-prompt-toolkit.inc
@@ -0,0 +1,19 @@
+SUMMARY = "Library for building powerful interactive command lines in Python"
+LICENSE = "BSD"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=b2cde7da89f0c1f3e49bf968d00d554f"
+
+SRC_URI[md5sum] = "9e0be24993b13b204e04ffd20b2873d2"
+SRC_URI[sha256sum] = "fa8f0c3668afbc85abbb4601ebc8db1db9d5009c8a833feea107fc63f1e7ef22"
+
+PYPI_PACKAGE = "prompt_toolkit"
+
+RDEPENDS_${PN} += " \
+    ${PYTHON_PN}-core \
+    ${PYTHON_PN}-six \
+    ${PYTHON_PN}-subprocess \
+    ${PYTHON_PN}-terminal \
+    ${PYTHON_PN}-threading \
+    ${PYTHON_PN}-wcwidth \
+"
+
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta-python/recipes-devtools/python/python-prompt-toolkit_1.0.6.bb b/meta-python/recipes-devtools/python/python-prompt-toolkit_1.0.6.bb
new file mode 100644
index 0000000..76e8410
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-prompt-toolkit_1.0.6.bb
@@ -0,0 +1,2 @@
+inherit pypi setuptools
+require python-prompt-toolkit.inc
diff --git a/meta-python/recipes-devtools/python/python3-prompt-toolkit_1.0.6.bb b/meta-python/recipes-devtools/python/python3-prompt-toolkit_1.0.6.bb
new file mode 100644
index 0000000..d8f6389
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-prompt-toolkit_1.0.6.bb
@@ -0,0 +1,9 @@
+inherit pypi setuptools3
+require python-prompt-toolkit.inc
+
+RDEPENDS_${PN} += " \
+    ${PYTHON_PN}-datetime \
+    ${PYTHON_PN}-enum \
+    ${PYTHON_PN}-shell \
+    ${PYTHON_PN}-textutils \
+"
-- 
2.1.4




More information about the Openembedded-devel mailing list