[oe-commits] [meta-openembedded] 71/74: python-html5lib: add Python3 support

git at git.openembedded.org git at git.openembedded.org
Mon Aug 28 09:05:31 UTC 2017


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

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

commit c7a28011177cb14a695ed2fd2d4b6ed2b6b404da
Author: Jackie Huang <jackie.huang at windriver.com>
AuthorDate: Fri Aug 25 16:40:40 2017 +0800

    python-html5lib: add Python3 support
    
    Extend the recipe for Python3 support.
    
    Signed-off-by: Jackie Huang <jackie.huang at windriver.com>
    Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
---
 ...ython-html5lib_0.999999999.bb => python-html5lib.inc} |  2 +-
 .../python/python-html5lib_0.999999999.bb                | 16 ++--------------
 .../python/python3-html5lib_0.999999999.bb               |  2 ++
 3 files changed, 5 insertions(+), 15 deletions(-)

diff --git a/meta-python/recipes-devtools/python/python-html5lib_0.999999999.bb b/meta-python/recipes-devtools/python/python-html5lib.inc
similarity index 94%
copy from meta-python/recipes-devtools/python/python-html5lib_0.999999999.bb
copy to meta-python/recipes-devtools/python/python-html5lib.inc
index d0f7b56..9c59e0d 100644
--- a/meta-python/recipes-devtools/python/python-html5lib_0.999999999.bb
+++ b/meta-python/recipes-devtools/python/python-html5lib.inc
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=1ba5ada9e6fead1fdc32f43c9f10ba7c"
 SRC_URI[md5sum] = "8578e4e3a341436cb9743a9e4a299239"
 SRC_URI[sha256sum] = "ee747c0ffd3028d2722061936b5c65ee4fe13c8e4613519b4447123fc4546298"
 
-inherit pypi setuptools
+inherit pypi
 
 RDEPENDS_${PN} += "\
     ${PYTHON_PN}-six \
diff --git a/meta-python/recipes-devtools/python/python-html5lib_0.999999999.bb b/meta-python/recipes-devtools/python/python-html5lib_0.999999999.bb
index d0f7b56..f5941a2 100644
--- a/meta-python/recipes-devtools/python/python-html5lib_0.999999999.bb
+++ b/meta-python/recipes-devtools/python/python-html5lib_0.999999999.bb
@@ -1,14 +1,2 @@
-SUMMARY = "HTML parser based on the WHATWG HTML specifcation"
-LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=1ba5ada9e6fead1fdc32f43c9f10ba7c"
-
-SRC_URI[md5sum] = "8578e4e3a341436cb9743a9e4a299239"
-SRC_URI[sha256sum] = "ee747c0ffd3028d2722061936b5c65ee4fe13c8e4613519b4447123fc4546298"
-
-inherit pypi setuptools
-
-RDEPENDS_${PN} += "\
-    ${PYTHON_PN}-six \
-    ${PYTHON_PN}-webencodings \
-    ${PYTHON_PN}-xml \
-    "
+inherit setuptools
+require python-html5lib.inc
diff --git a/meta-python/recipes-devtools/python/python3-html5lib_0.999999999.bb b/meta-python/recipes-devtools/python/python3-html5lib_0.999999999.bb
new file mode 100644
index 0000000..6bd8b49
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-html5lib_0.999999999.bb
@@ -0,0 +1,2 @@
+inherit setuptools3
+require python-html5lib.inc

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


More information about the Openembedded-commits mailing list