Openembedded Devel Discussions
 help / color / mirror / Atom feed
* [meta-python][PATCH 0/3] python-beautifulsoup4: add new recipe and required packages
@ 2017-08-25  8:40 jackie.huang
  2017-08-25  8:40 ` [meta-python][PATCH 1/3] python-html5lib: add Python3 support jackie.huang
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: jackie.huang @ 2017-08-25  8:40 UTC (permalink / raw)
  To: openembedded-devel

From: Jackie Huang <jackie.huang@windriver.com>

--
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

-- 
2.11.0



^ permalink raw reply	[flat|nested] 4+ messages in thread

* [meta-python][PATCH 1/3] python-html5lib: add Python3 support
  2017-08-25  8:40 [meta-python][PATCH 0/3] python-beautifulsoup4: add new recipe and required packages jackie.huang
@ 2017-08-25  8:40 ` jackie.huang
  2017-08-25  8:40 ` [meta-python][PATCH 2/3] python-webencodings: " jackie.huang
  2017-08-25  8:40 ` [meta-python][PATCH 3/3] python-beautifulsoup4: add new recipe for both python2 and python3 jackie.huang
  2 siblings, 0 replies; 4+ messages in thread
From: jackie.huang @ 2017-08-25  8:40 UTC (permalink / raw)
  To: openembedded-devel

From: Jackie Huang <jackie.huang@windriver.com>

Extend the recipe for Python3 support.

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
---
 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

diff --git a/meta-python/recipes-devtools/python/python-html5lib.inc b/meta-python/recipes-devtools/python/python-html5lib.inc
new file mode 100644
index 000000000..9c59e0d18
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-html5lib.inc
@@ -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 \
+    "
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 d0f7b56ee..f5941a2a1 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 000000000..6bd8b49f5
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-html5lib_0.999999999.bb
@@ -0,0 +1,2 @@
+inherit setuptools3
+require python-html5lib.inc
-- 
2.11.0



^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [meta-python][PATCH 2/3] python-webencodings: add Python3 support
  2017-08-25  8:40 [meta-python][PATCH 0/3] python-beautifulsoup4: add new recipe and required packages jackie.huang
  2017-08-25  8:40 ` [meta-python][PATCH 1/3] python-html5lib: add Python3 support jackie.huang
@ 2017-08-25  8:40 ` jackie.huang
  2017-08-25  8:40 ` [meta-python][PATCH 3/3] python-beautifulsoup4: add new recipe for both python2 and python3 jackie.huang
  2 siblings, 0 replies; 4+ messages in thread
From: jackie.huang @ 2017-08-25  8:40 UTC (permalink / raw)
  To: openembedded-devel

From: Jackie Huang <jackie.huang@windriver.com>

Extend the recipe for Python3 support.

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
---
 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

diff --git a/meta-python/recipes-devtools/python/python-webencodings.inc b/meta-python/recipes-devtools/python/python-webencodings.inc
new file mode 100644
index 000000000..ed57c52e5
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-webencodings.inc
@@ -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"
diff --git a/meta-python/recipes-devtools/python/python-webencodings_0.5.1.bb b/meta-python/recipes-devtools/python/python-webencodings_0.5.1.bb
index d7e4d2ebb..5de2ed1d7 100644
--- a/meta-python/recipes-devtools/python/python-webencodings_0.5.1.bb
+++ b/meta-python/recipes-devtools/python/python-webencodings_0.5.1.bb
@@ -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
diff --git a/meta-python/recipes-devtools/python/python3-webencodings_0.5.1.bb b/meta-python/recipes-devtools/python/python3-webencodings_0.5.1.bb
new file mode 100644
index 000000000..71fe741e4
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-webencodings_0.5.1.bb
@@ -0,0 +1,2 @@
+inherit setuptools3
+require python-webencodings.inc
-- 
2.11.0



^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [meta-python][PATCH 3/3] python-beautifulsoup4: add new recipe for both python2 and python3
  2017-08-25  8:40 [meta-python][PATCH 0/3] python-beautifulsoup4: add new recipe and required packages jackie.huang
  2017-08-25  8:40 ` [meta-python][PATCH 1/3] python-html5lib: add Python3 support jackie.huang
  2017-08-25  8:40 ` [meta-python][PATCH 2/3] python-webencodings: " jackie.huang
@ 2017-08-25  8:40 ` jackie.huang
  2 siblings, 0 replies; 4+ messages in thread
From: jackie.huang @ 2017-08-25  8:40 UTC (permalink / raw)
  To: openembedded-devel

From: Jackie Huang <jackie.huang@windriver.com>

Beautiful Soup sits atop an HTML or XML parser,
providing Pythonic idioms for iterating, searching,
and modifying the parse tree.

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
---
 .../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

diff --git a/meta-python/recipes-devtools/python/python-beautifulsoup4.inc b/meta-python/recipes-devtools/python/python-beautifulsoup4.inc
new file mode 100644
index 000000000..d60d987ca
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-beautifulsoup4.inc
@@ -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"
diff --git a/meta-python/recipes-devtools/python/python-beautifulsoup4_4.6.0.bb b/meta-python/recipes-devtools/python/python-beautifulsoup4_4.6.0.bb
new file mode 100644
index 000000000..907285ac1
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-beautifulsoup4_4.6.0.bb
@@ -0,0 +1,2 @@
+inherit setuptools
+require python-beautifulsoup4.inc
diff --git a/meta-python/recipes-devtools/python/python3-beautifulsoup4_4.6.0.bb b/meta-python/recipes-devtools/python/python3-beautifulsoup4_4.6.0.bb
new file mode 100644
index 000000000..d98df11e3
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-beautifulsoup4_4.6.0.bb
@@ -0,0 +1,2 @@
+inherit setuptools3
+require python-beautifulsoup4.inc
-- 
2.11.0



^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-08-25  9:37 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-25  8:40 [meta-python][PATCH 0/3] python-beautifulsoup4: add new recipe and required packages jackie.huang
2017-08-25  8:40 ` [meta-python][PATCH 1/3] python-html5lib: add Python3 support jackie.huang
2017-08-25  8:40 ` [meta-python][PATCH 2/3] python-webencodings: " jackie.huang
2017-08-25  8:40 ` [meta-python][PATCH 3/3] python-beautifulsoup4: add new recipe for both python2 and python3 jackie.huang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox