* [meta-python][PATCH] python3-xmlschema: Yocto recipes for validating against XSD 1.1
@ 2021-01-25 7:00 Junjie Mao
2021-01-26 9:50 ` [oe] " Alexandre Belloni
2021-01-27 15:08 ` Trevor Gamblin
0 siblings, 2 replies; 3+ messages in thread
From: Junjie Mao @ 2021-01-25 7:00 UTC (permalink / raw)
To: openembedded-devel; +Cc: Junjie Mao
This patch adds recipes for xmlschema and its dependency in order to enable
XML validation against XSD 1.1 in Python.
Signed-off-by: Junjie Mao <junjie.mao@intel.com>
---
.../python/python3-elementpath_2.1.2.bb | 12 ++++++++++++
.../python/python3-xmlschema_1.4.1.bb | 20 ++++++++++++++++++++
2 files changed, 32 insertions(+)
create mode 100644 meta-python/recipes-devtools/python/python3-elementpath_2.1.2.bb
create mode 100644 meta-python/recipes-devtools/python/python3-xmlschema_1.4.1.bb
diff --git a/meta-python/recipes-devtools/python/python3-elementpath_2.1.2.bb b/meta-python/recipes-devtools/python/python3-elementpath_2.1.2.bb
new file mode 100644
index 0000000..f47f152
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-elementpath_2.1.2.bb
@@ -0,0 +1,12 @@
+DESCRIPTION = "Provide XPath 1.0 and 2.0 selectors for Python's ElementTree XML data structures, both for the standard ElementTree library and for the lxml.etree library."
+HOMEPAGE = "https://github.com/sissaschool/elementpath"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=5dbb7fb7d72da3921202dd7b995d3ecf"
+
+SRC_URI[md5sum] = "887f60e9c4fb9b0804a38372b2798101"
+SRC_URI[sha256sum] = "23e1fed8d196d9a6cc4d220ef11fbe7eb8cff3a27848621c447e9d96134b2085"
+
+PYPI_PACKAGE = "elementpath"
+inherit pypi setuptools3
+
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta-python/recipes-devtools/python/python3-xmlschema_1.4.1.bb b/meta-python/recipes-devtools/python/python3-xmlschema_1.4.1.bb
new file mode 100644
index 0000000..c609931
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-xmlschema_1.4.1.bb
@@ -0,0 +1,20 @@
+SUMMARY = "The xmlschema library is an implementation of XML Schema for Python (supports Python 3.6+)."
+HOMEPAGE = "https://github.com/sissaschool/xmlschema"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=47489cb18c469474afeb259ed1d4832f"
+
+SRC_URI[md5sum] = "f4c46f8c4415a0ca31dc2f623b668664"
+SRC_URI[sha256sum] = "ade693114ff2e4a9ed5a2371ce29ae888f689bc58e326e5796f8a7dc8954dd4a"
+
+PYPI_PACKAGE = "xmlschema"
+inherit pypi setuptools3
+
+DEPENDS += "\
+ ${PYTHON_PN}-elementpath \
+"
+
+RDEPENDS_${PN} += "\
+ ${PYTHON_PN}-elementpath \
+"
+
+BBCLASSEXTEND = "native nativesdk"
--
2.7.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [oe] [meta-python][PATCH] python3-xmlschema: Yocto recipes for validating against XSD 1.1
2021-01-25 7:00 [meta-python][PATCH] python3-xmlschema: Yocto recipes for validating against XSD 1.1 Junjie Mao
@ 2021-01-26 9:50 ` Alexandre Belloni
2021-01-27 15:08 ` Trevor Gamblin
1 sibling, 0 replies; 3+ messages in thread
From: Alexandre Belloni @ 2021-01-26 9:50 UTC (permalink / raw)
To: Junjie Mao; +Cc: openembedded-devel
Hello,
On 25/01/2021 15:00:46+0800, Junjie Mao wrote:
> This patch adds recipes for xmlschema and its dependency in order to enable
> XML validation against XSD 1.1 in Python.
>
> Signed-off-by: Junjie Mao <junjie.mao@intel.com>
> ---
> .../python/python3-elementpath_2.1.2.bb | 12 ++++++++++++
> .../python/python3-xmlschema_1.4.1.bb | 20 ++++++++++++++++++++
> 2 files changed, 32 insertions(+)
> create mode 100644 meta-python/recipes-devtools/python/python3-elementpath_2.1.2.bb
> create mode 100644 meta-python/recipes-devtools/python/python3-xmlschema_1.4.1.bb
>
> diff --git a/meta-python/recipes-devtools/python/python3-elementpath_2.1.2.bb b/meta-python/recipes-devtools/python/python3-elementpath_2.1.2.bb
> new file mode 100644
> index 0000000..f47f152
> --- /dev/null
> +++ b/meta-python/recipes-devtools/python/python3-elementpath_2.1.2.bb
> @@ -0,0 +1,12 @@
> +DESCRIPTION = "Provide XPath 1.0 and 2.0 selectors for Python's ElementTree XML data structures, both for the standard ElementTree library and for the lxml.etree library."
> +HOMEPAGE = "https://github.com/sissaschool/elementpath"
> +LICENSE = "MIT"
> +LIC_FILES_CHKSUM = "file://LICENSE;md5=5dbb7fb7d72da3921202dd7b995d3ecf"
> +
> +SRC_URI[md5sum] = "887f60e9c4fb9b0804a38372b2798101"
> +SRC_URI[sha256sum] = "23e1fed8d196d9a6cc4d220ef11fbe7eb8cff3a27848621c447e9d96134b2085"
> +
> +PYPI_PACKAGE = "elementpath"
> +inherit pypi setuptools3
> +
> +BBCLASSEXTEND = "native nativesdk"
> diff --git a/meta-python/recipes-devtools/python/python3-xmlschema_1.4.1.bb b/meta-python/recipes-devtools/python/python3-xmlschema_1.4.1.bb
> new file mode 100644
> index 0000000..c609931
> --- /dev/null
> +++ b/meta-python/recipes-devtools/python/python3-xmlschema_1.4.1.bb
> @@ -0,0 +1,20 @@
> +SUMMARY = "The xmlschema library is an implementation of XML Schema for Python (supports Python 3.6+)."
> +HOMEPAGE = "https://github.com/sissaschool/xmlschema"
> +LICENSE = "MIT"
> +LIC_FILES_CHKSUM = "file://LICENSE;md5=47489cb18c469474afeb259ed1d4832f"
> +
> +SRC_URI[md5sum] = "f4c46f8c4415a0ca31dc2f623b668664"
> +SRC_URI[sha256sum] = "ade693114ff2e4a9ed5a2371ce29ae888f689bc58e326e5796f8a7dc8954dd4a"
> +
> +PYPI_PACKAGE = "xmlschema"
> +inherit pypi setuptools3
> +
> +DEPENDS += "\
> + ${PYTHON_PN}-elementpath \
> +"
This failed on the autobuilders:
ERROR: python3-xmlschema-1.4.1-r0 do_compile: 'python3 setup.py build ' execution failed.
ERROR: python3-xmlschema-1.4.1-r0 do_compile: Execution of '/home/pokybuild/yocto-worker/meta-oe/build/build/tmp/work/core2-64-poky-linux/python3-xmlschema/1.4.1-r0/temp/run.do_compile.316552' failed with exit code 1:
WARNING: The pip package is not available, falling back to EasyInstall for handling setup_requires/test_requires; this is deprecated and will be removed in a future version.
ERROR: Do not try to fetch `elementpath<3.0.0,>=2.0.4' for building. Please add its native recipe to DEPENDS.
Full log here:
https://autobuilder.yoctoproject.org/typhoon/#/builders/88/builds/884/steps/12/logs/stdio
> +
> +RDEPENDS_${PN} += "\
> + ${PYTHON_PN}-elementpath \
> +"
> +
> +BBCLASSEXTEND = "native nativesdk"
> --
> 2.7.4
>
>
>
>
--
Alexandre Belloni, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [oe] [meta-python][PATCH] python3-xmlschema: Yocto recipes for validating against XSD 1.1
2021-01-25 7:00 [meta-python][PATCH] python3-xmlschema: Yocto recipes for validating against XSD 1.1 Junjie Mao
2021-01-26 9:50 ` [oe] " Alexandre Belloni
@ 2021-01-27 15:08 ` Trevor Gamblin
1 sibling, 0 replies; 3+ messages in thread
From: Trevor Gamblin @ 2021-01-27 15:08 UTC (permalink / raw)
To: Junjie Mao, openembedded-devel
[-- Attachment #1: Type: text/plain, Size: 2421 bytes --]
On 2021-01-25 2:00 a.m., Junjie Mao wrote:
> Signed-off-by: Junjie Mao <junjie.mao@intel.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
> ---
> .../python/python3-elementpath_2.1.2.bb | 12 ++++++++++++
> .../python/python3-xmlschema_1.4.1.bb | 20 ++++++++++++++++++++
> 2 files changed, 32 insertions(+)
> create mode 100644 meta-python/recipes-devtools/python/python3-elementpath_2.1.2.bb
> create mode 100644 meta-python/recipes-devtools/python/python3-xmlschema_1.4.1.bb
>
> diff --git a/meta-python/recipes-devtools/python/python3-elementpath_2.1.2.bb b/meta-python/recipes-devtools/python/python3-elementpath_2.1.2.bb
> new file mode 100644
> index 0000000..f47f152
> --- /dev/null
> +++ b/meta-python/recipes-devtools/python/python3-elementpath_2.1.2.bb
> @@ -0,0 +1,12 @@
> +DESCRIPTION = "Provide XPath 1.0 and 2.0 selectors for Python's ElementTree XML data structures, both for the standard ElementTree library and for the lxml.etree library."
> +HOMEPAGE = "https://github.com/sissaschool/elementpath"
> +LICENSE = "MIT"
> +LIC_FILES_CHKSUM = "file://LICENSE;md5=5dbb7fb7d72da3921202dd7b995d3ecf"
> +
> +SRC_URI[md5sum] = "887f60e9c4fb9b0804a38372b2798101"
> +SRC_URI[sha256sum] = "23e1fed8d196d9a6cc4d220ef11fbe7eb8cff3a27848621c447e9d96134b2085"
> +
> +PYPI_PACKAGE = "elementpath"
> +inherit pypi setuptools3
> +
> +BBCLASSEXTEND = "native nativesdk"
> diff --git a/meta-python/recipes-devtools/python/python3-xmlschema_1.4.1.bb b/meta-python/recipes-devtools/python/python3-xmlschema_1.4.1.bb
> new file mode 100644
> index 0000000..c609931
> --- /dev/null
> +++ b/meta-python/recipes-devtools/python/python3-xmlschema_1.4.1.bb
> @@ -0,0 +1,20 @@
> +SUMMARY = "The xmlschema library is an implementation of XML Schema for Python (supports Python 3.6+)."
> +HOMEPAGE = "https://github.com/sissaschool/xmlschema"
> +LICENSE = "MIT"
> +LIC_FILES_CHKSUM = "file://LICENSE;md5=47489cb18c469474afeb259ed1d4832f"
> +
> +SRC_URI[md5sum] = "f4c46f8c4415a0ca31dc2f623b668664"
> +SRC_URI[sha256sum] = "ade693114ff2e4a9ed5a2371ce29ae888f689bc58e326e5796f8a7dc8954dd4a"
> +
> +PYPI_PACKAGE = "xmlschema"
> +inherit pypi setuptools3
> +
> +DEPENDS += "\
> + ${PYTHON_PN}-elementpath \
> +"
> +
> +RDEPENDS_${PN} += "\
> + ${PYTHON_PN}-elementpath \
> +"
> +
> +BBCLASSEXTEND = "native nativesdk"
>
>
>
[-- Attachment #2: Type: text/html, Size: 3669 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-01-27 15:08 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-25 7:00 [meta-python][PATCH] python3-xmlschema: Yocto recipes for validating against XSD 1.1 Junjie Mao
2021-01-26 9:50 ` [oe] " Alexandre Belloni
2021-01-27 15:08 ` Trevor Gamblin
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.