python-beautifulsoup4: add new recipe and required packages
cover python-beautifulsoup4: add new recipe and required packages
From: Jackie Huang <[email protected]>
--
The following changes since commit ac2a6d2b5d69937577effcb8bb2149651bac0176:
json-spirit: Add -latomic to LDFLAGS (2017-08-13 13:21:04 +0200)
are available in the git repository at:
git://git.pokylinux.org/poky-contrib.git jhuang0/r_up_python-beautifulsoup4_170825_0
http://git.pokylinux.org/cgit.cgi//log/?h=jhuang0/r_up_python-beautifulsoup4_170825_0
Jackie Huang (3):
python-html5lib: add Python3 support
python-webencodings: add Python3 support
python-beautifulsoup4: add new recipe for both python2 and python3
.../recipes-devtools/python/python-beautifulsoup4.inc | 17 +++++++++++++++++ .../python/python-beautifulsoup4_4.6.0.bb | 2 ++ meta-python/recipes-devtools/python/python-html5lib.inc | 14 ++++++++++++++ .../python/python-html5lib_0.999999999.bb | 16 ++-------------- .../recipes-devtools/python/python-webencodings.inc | 10 ++++++++++ .../python/python-webencodings_0.5.1.bb | 12 ++---------- .../python/python3-beautifulsoup4_4.6.0.bb | 2 ++ .../python/python3-html5lib_0.999999999.bb | 2 ++ .../python/python3-webencodings_0.5.1.bb | 2 ++ 9 files changed, 53 insertions(+), 24 deletions(-) create mode 100644 meta-python/recipes-devtools/python/python-beautifulsoup4.inc create mode 100644 meta-python/recipes-devtools/python/python-beautifulsoup4_4.6.0.bb create mode 100644 meta-python/recipes-devtools/python/python-html5lib.inc create mode 100644 meta-python/recipes-devtools/python/python-webencodings.inc create mode 100644 meta-python/recipes-devtools/python/python3-beautifulsoup4_4.6.0.bb create mode 100644 meta-python/recipes-devtools/python/python3-html5lib_0.999999999.bb create mode 100644 meta-python/recipes-devtools/python/python3-webencodings_0.5.1.bb
Signature · 1 line
2.11.0
PATCH 1/3 python-html5lib: add Python3 support
From: Jackie Huang <[email protected]>
Extend the recipe for Python3 support.
--- meta-python/recipes-devtools/python/python-html5lib.inc | 14 ++++++++++++++ .../python/python-html5lib_0.999999999.bb | 16 ++-------------- .../python/python3-html5lib_0.999999999.bb | 2 ++ 3 files changed, 18 insertions(+), 14 deletions(-) create mode 100644 meta-python/recipes-devtools/python/python-html5lib.inc create mode 100644 meta-python/recipes-devtools/python/python3-html5lib_0.999999999.bb
meta-python/recipes-devtools/python/python-html5lib.inc new file +14 -0
@@ -0,0 +1,14 @@ +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 + +RDEPENDS_${PN} += "\ + ${PYTHON_PN}-six \ + ${PYTHON_PN}-webencodings \ + ${PYTHON_PN}-xml \ + "
meta-python/recipes-devtools/python/python-html5lib_0.999999999.bb +2 -14
@@ -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
meta-python/recipes-devtools/python/python3-html5lib_0.999999999.bb new file +2 -0
@@ -0,0 +1,2 @@ +inherit setuptools3 +require python-html5lib.inc
Signature · 1 line
2.11.0
PATCH 2/3 python-webencodings: add Python3 support
In reply to [email protected]From: Jackie Huang <[email protected]>
Extend the recipe for Python3 support.
--- meta-python/recipes-devtools/python/python-webencodings.inc | 10 ++++++++++ .../recipes-devtools/python/python-webencodings_0.5.1.bb | 12 ++---------- .../recipes-devtools/python/python3-webencodings_0.5.1.bb | 2 ++ 3 files changed, 14 insertions(+), 10 deletions(-) create mode 100644 meta-python/recipes-devtools/python/python-webencodings.inc create mode 100644 meta-python/recipes-devtools/python/python3-webencodings_0.5.1.bb
meta-python/recipes-devtools/python/python-webencodings.inc new file +10 -0
@@ -0,0 +1,10 @@ +SUMMARY = "Character encoding aliases for legacy web content" +LICENSE = "BSD" +LIC_FILES_CHKSUM = "file://PKG-INFO;startline=8;endline=9;md5=af5c81bfe98855a56d36b6ba5de2906f" + +SRC_URI[md5sum] = "32f6e261d52e57bf7e1c4d41546d15b8" +SRC_URI[sha256sum] = "b36a1c245f2d304965eb4e0a82848379241dc04b865afcc4aab16748587e1923" + +inherit pypi + +RDEPENDS_${PN} += "${PYTHON_PN}-codecs"
meta-python/recipes-devtools/python/python-webencodings_0.5.1.bb +2 -10
@@ -1,10 +1,2 @@ -SUMMARY = "Character encoding aliases for legacy web content" -LICENSE = "BSD" -LIC_FILES_CHKSUM = "file://PKG-INFO;startline=8;endline=9;md5=af5c81bfe98855a56d36b6ba5de2906f" - -SRC_URI[md5sum] = "32f6e261d52e57bf7e1c4d41546d15b8" -SRC_URI[sha256sum] = "b36a1c245f2d304965eb4e0a82848379241dc04b865afcc4aab16748587e1923" - -inherit pypi setuptools - -RDEPENDS_${PN} += "${PYTHON_PN}-codecs" +inherit setuptools +require python-webencodings.inc
meta-python/recipes-devtools/python/python3-webencodings_0.5.1.bb new file +2 -0
@@ -0,0 +1,2 @@ +inherit setuptools3 +require python-webencodings.inc
Signature · 1 line
2.11.0
PATCH 3/3 python-beautifulsoup4: add new recipe for both python2 and python3
In reply to [email protected]From: Jackie Huang <[email protected]>
Beautiful Soup sits atop an HTML or XML parser, providing Pythonic idioms for iterating, searching, and modifying the parse tree.
--- .../recipes-devtools/python/python-beautifulsoup4.inc | 17 +++++++++++++++++ .../python/python-beautifulsoup4_4.6.0.bb | 2 ++ .../python/python3-beautifulsoup4_4.6.0.bb | 2 ++ 3 files changed, 21 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python-beautifulsoup4.inc create mode 100644 meta-python/recipes-devtools/python/python-beautifulsoup4_4.6.0.bb create mode 100644 meta-python/recipes-devtools/python/python3-beautifulsoup4_4.6.0.bb
meta-python/recipes-devtools/python/python-beautifulsoup4.inc new file +17 -0
@@ -0,0 +1,17 @@ +SUMMARY = "Screen-scraping library" +HOMEPAGE = " https://www.crummy.com/software/BeautifulSoup/bs4" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://COPYING.txt;md5=f2d38d8a40bf73fd4b3d16ca2e5882d1" + +SRC_URI[md5sum] = "c17714d0f91a23b708a592cb3c697728" +SRC_URI[sha256sum] = "808b6ac932dccb0a4126558f7dfdcf41710dd44a4ef497a0bb59a77f9f078e89" + +inherit pypi + +RDEPENDS_${PN}_class-target = "\ + ${PYTHON_PN}-core \ + ${PYTHON_PN}-html5lib \ + ${PYTHON_PN}-lxml \ +" + +BBCLASSEXTEND = "native nativesdk"
meta-python/recipes-devtools/python/python-beautifulsoup4_4.6.0.bb new file +2 -0
@@ -0,0 +1,2 @@ +inherit setuptools +require python-beautifulsoup4.inc
meta-python/recipes-devtools/python/python3-beautifulsoup4_4.6.0.bb new file +2 -0
@@ -0,0 +1,2 @@ +inherit setuptools3 +require python-beautifulsoup4.inc
Signature · 1 line
2.11.0