[oe-commits] [meta-openembedded] 02/09: python-cmd2: Add python3 version

git at git.openembedded.org git at git.openembedded.org
Mon Sep 2 19:53:01 UTC 2019


This is an automated email from the git hooks/post-receive script.

khem pushed a commit to branch master-next
in repository meta-openembedded.

commit dc66ca8495eb051e1e6de5333e36f7f8054094a1
Author: Zheng Ruoqin <zhengrq.fnst at cn.fujitsu.com>
AuthorDate: Mon Sep 2 13:22:08 2019 +0800

    python-cmd2: Add python3 version
    
    Providing a python3 version of python-cmd2.
    
    Signed-off-by: Zheng Ruoqin <zhengrq.fnst at cn.fujitsu.com>
    Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
 .../python/{python-cmd2_0.9.16.bb => python-cmd2.inc}     | 14 +-------------
 meta-python/recipes-devtools/python/python-cmd2_0.9.16.bb | 15 ++-------------
 .../recipes-devtools/python/python3-cmd2_0.9.16.bb        |  9 +++++++++
 3 files changed, 12 insertions(+), 26 deletions(-)

diff --git a/meta-python/recipes-devtools/python/python-cmd2_0.9.16.bb b/meta-python/recipes-devtools/python/python-cmd2.inc
similarity index 58%
copy from meta-python/recipes-devtools/python/python-cmd2_0.9.16.bb
copy to meta-python/recipes-devtools/python/python-cmd2.inc
index 94db37a..1a0be77 100644
--- a/meta-python/recipes-devtools/python/python-cmd2_0.9.16.bb
+++ b/meta-python/recipes-devtools/python/python-cmd2.inc
@@ -6,20 +6,8 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=01aeabea7ae1529a8e4b674b7107d6bc"
 SRC_URI[md5sum] = "df35bb2dca8f5e1f6090e1f0aa02960a"
 SRC_URI[sha256sum] = "4b78379d53aff811d1deac720bbe71661769822a5fb2d830cd730656d180fb3d"
 
-inherit pypi setuptools
+inherit pypi
 
 DEPENDS += "${PYTHON_PN}-setuptools-scm-native"
 
-RDEPENDS_${PN} += "\
-    ${PYTHON_PN}-doctest \
-    ${PYTHON_PN}-pyparsing \
-    ${PYTHON_PN}-pyperclip \
-    ${PYTHON_PN}-shell \
-    ${PYTHON_PN}-six \
-    ${PYTHON_PN}-stringold \
-    ${PYTHON_PN}-subprocess \
-    ${PYTHON_PN}-threading \
-    ${PYTHON_PN}-textutils \
-    "
-
 BBCLASSEXTEND = "native nativesdk"
diff --git a/meta-python/recipes-devtools/python/python-cmd2_0.9.16.bb b/meta-python/recipes-devtools/python/python-cmd2_0.9.16.bb
index 94db37a..17b6ae2 100644
--- a/meta-python/recipes-devtools/python/python-cmd2_0.9.16.bb
+++ b/meta-python/recipes-devtools/python/python-cmd2_0.9.16.bb
@@ -1,14 +1,5 @@
-SUMMARY = "Extra features for standard library's cmd module"
-HOMEPAGE = "http://packages.python.org/cmd2/"
-LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=01aeabea7ae1529a8e4b674b7107d6bc"
-
-SRC_URI[md5sum] = "df35bb2dca8f5e1f6090e1f0aa02960a"
-SRC_URI[sha256sum] = "4b78379d53aff811d1deac720bbe71661769822a5fb2d830cd730656d180fb3d"
-
-inherit pypi setuptools
-
-DEPENDS += "${PYTHON_PN}-setuptools-scm-native"
+inherit setuptools
+require python-cmd2.inc
 
 RDEPENDS_${PN} += "\
     ${PYTHON_PN}-doctest \
@@ -21,5 +12,3 @@ RDEPENDS_${PN} += "\
     ${PYTHON_PN}-threading \
     ${PYTHON_PN}-textutils \
     "
-
-BBCLASSEXTEND = "native nativesdk"
diff --git a/meta-python/recipes-devtools/python/python3-cmd2_0.9.16.bb b/meta-python/recipes-devtools/python/python3-cmd2_0.9.16.bb
new file mode 100644
index 0000000..f5c5c7e
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-cmd2_0.9.16.bb
@@ -0,0 +1,9 @@
+inherit setuptools3
+require python-cmd2.inc
+
+RDEPENDS_${PN} += "\
+    ${PYTHON_PN}-pyperclip \
+    ${PYTHON_PN}-colorama \
+    ${PYTHON_PN}-attrs \
+    ${PYTHON_PN}-wcwidth \
+    "

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list