All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-python][PATCH 1/2] python3-jsonpatch: Consolidate in a single file
@ 2020-06-05 17:31 Leon Anavi
  2020-06-05 17:31 ` [meta-python][PATCH 2/2] python3-jsonschema: " Leon Anavi
  2020-06-05 19:28 ` [oe] [meta-python][PATCH 1/2] python3-jsonpatch: " Trevor Gamblin
  0 siblings, 2 replies; 4+ messages in thread
From: Leon Anavi @ 2020-06-05 17:31 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Leon Anavi

Consolidate inc and bb files into a single bb file.

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
---
 .../recipes-devtools/python/python-jsonpatch.inc    | 12 ------------
 .../python/python3-jsonpatch_1.25.bb                | 13 +++++++++++--
 2 files changed, 11 insertions(+), 14 deletions(-)
 delete mode 100644 meta-python/recipes-devtools/python/python-jsonpatch.inc

diff --git a/meta-python/recipes-devtools/python/python-jsonpatch.inc b/meta-python/recipes-devtools/python/python-jsonpatch.inc
deleted file mode 100644
index e23f96b61..000000000
--- a/meta-python/recipes-devtools/python/python-jsonpatch.inc
+++ /dev/null
@@ -1,12 +0,0 @@
-SUMMARY  = "Appling JSON patches in Python 2.6+ and 3.x"
-HOMEPAGE = "https://github.com/stefankoegl/python-json-patch"
-LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://COPYING;md5=32b15c843b7a329130f4e266a281ebb3"
-
-inherit pypi
-
-SRC_URI[md5sum] = "fcc546892414bef2f7f89f0e2a618a9e"
-SRC_URI[sha256sum] = "ddc0f7628b8bfdd62e3cbfbc24ca6671b0b6265b50d186c2cf3659dc0f78fd6a"
-
-RDEPENDS_${PN} += "${PYTHON_PN}-json ${PYTHON_PN}-jsonpointer ${PYTHON_PN}-netclient ${PYTHON_PN}-stringold"
-
diff --git a/meta-python/recipes-devtools/python/python3-jsonpatch_1.25.bb b/meta-python/recipes-devtools/python/python3-jsonpatch_1.25.bb
index 73efceeed..8ec21ff11 100644
--- a/meta-python/recipes-devtools/python/python3-jsonpatch_1.25.bb
+++ b/meta-python/recipes-devtools/python/python3-jsonpatch_1.25.bb
@@ -1,2 +1,11 @@
-inherit setuptools3
-require python-jsonpatch.inc
+SUMMARY  = "Appling JSON patches in Python 2.6+ and 3.x"
+HOMEPAGE = "https://github.com/stefankoegl/python-json-patch"
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://COPYING;md5=32b15c843b7a329130f4e266a281ebb3"
+
+inherit pypi setuptools3
+
+SRC_URI[md5sum] = "fcc546892414bef2f7f89f0e2a618a9e"
+SRC_URI[sha256sum] = "ddc0f7628b8bfdd62e3cbfbc24ca6671b0b6265b50d186c2cf3659dc0f78fd6a"
+
+RDEPENDS_${PN} += "${PYTHON_PN}-json ${PYTHON_PN}-jsonpointer ${PYTHON_PN}-netclient ${PYTHON_PN}-stringold"
-- 
2.17.1


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

* [meta-python][PATCH 2/2] python3-jsonschema: Consolidate in a single file
  2020-06-05 17:31 [meta-python][PATCH 1/2] python3-jsonpatch: Consolidate in a single file Leon Anavi
@ 2020-06-05 17:31 ` Leon Anavi
  2020-06-05 19:28   ` [oe] " Trevor Gamblin
  2020-06-05 19:28 ` [oe] [meta-python][PATCH 1/2] python3-jsonpatch: " Trevor Gamblin
  1 sibling, 1 reply; 4+ messages in thread
From: Leon Anavi @ 2020-06-05 17:31 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Leon Anavi

Consolidate inc and bb files into a single bb file.

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
---
 .../python/python-jsonschema.inc              | 48 -------------------
 .../python/python3-jsonschema_3.2.0.bb        | 48 ++++++++++++++++++-
 2 files changed, 47 insertions(+), 49 deletions(-)
 delete mode 100644 meta-python/recipes-devtools/python/python-jsonschema.inc

diff --git a/meta-python/recipes-devtools/python/python-jsonschema.inc b/meta-python/recipes-devtools/python/python-jsonschema.inc
deleted file mode 100644
index 8135b0fe6..000000000
--- a/meta-python/recipes-devtools/python/python-jsonschema.inc
+++ /dev/null
@@ -1,48 +0,0 @@
-SUMMARY = "An implementation of JSON Schema validation for Python"
-HOMEPAGE = "https://github.com/Julian/jsonschema"
-LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://COPYING;md5=7a60a81c146ec25599a3e1dabb8610a8 \
-                    file://json/LICENSE;md5=9d4de43111d33570c8fe49b4cb0e01af"
-DEPENDS += "${PYTHON_PN}-vcversioner-native ${PYTHON_PN}-setuptools-scm-native"
-
-FILESEXTRAPATHS_prepend := "${THISDIR}/python-jsonschema:"
-
-SRC_URI[md5sum] = "f1a0b5011f05a02a8dee1070cd10a26d"
-SRC_URI[sha256sum] = "c8a85b28d377cc7737e46e2d9f2b4f44ee3c0e1deac6bf46ddefc7187d30797a"
-
-PACKAGECONFIG ??= "format"
-PACKAGECONFIG[format] = ",,,\
-    ${PYTHON_PN}-idna \
-    ${PYTHON_PN}-jsonpointer \
-    ${PYTHON_PN}-webcolors \
-    ${PYTHON_PN}-rfc3987 \
-    ${PYTHON_PN}-strict-rfc3339 \
-"
-PACKAGECONFIG[nongpl] = ",,,\
-    ${PYTHON_PN}-idna \
-    ${PYTHON_PN}-jsonpointer \
-    ${PYTHON_PN}-webcolors \
-    ${PYTHON_PN}-rfc3986-validator \
-    ${PYTHON_PN}-rfc3339-validator \
-"
-
-RDEPENDS_${PN} += " \
-    ${PYTHON_PN}-attrs \
-    ${PYTHON_PN}-core \
-    ${PYTHON_PN}-datetime \
-    ${PYTHON_PN}-importlib-metadata \
-    ${PYTHON_PN}-io \
-    ${PYTHON_PN}-json \
-    ${PYTHON_PN}-netclient \
-    ${PYTHON_PN}-numbers \
-    ${PYTHON_PN}-pkgutil \
-    ${PYTHON_PN}-pprint \
-    ${PYTHON_PN}-pyrsistent \
-    ${PYTHON_PN}-shell \
-    ${PYTHON_PN}-six \
-    ${PYTHON_PN}-unittest \
-    ${PYTHON_PN}-setuptools-scm \
-    ${PYTHON_PN}-zipp \
-"
-
-BBCLASSEXTEND = "native nativesdk"
diff --git a/meta-python/recipes-devtools/python/python3-jsonschema_3.2.0.bb b/meta-python/recipes-devtools/python/python3-jsonschema_3.2.0.bb
index 926990747..2705dd3ba 100644
--- a/meta-python/recipes-devtools/python/python3-jsonschema_3.2.0.bb
+++ b/meta-python/recipes-devtools/python/python3-jsonschema_3.2.0.bb
@@ -1,2 +1,48 @@
+SUMMARY = "An implementation of JSON Schema validation for Python"
+HOMEPAGE = "https://github.com/Julian/jsonschema"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://COPYING;md5=7a60a81c146ec25599a3e1dabb8610a8 \
+                    file://json/LICENSE;md5=9d4de43111d33570c8fe49b4cb0e01af"
+DEPENDS += "${PYTHON_PN}-vcversioner-native ${PYTHON_PN}-setuptools-scm-native"
+
+SRC_URI[md5sum] = "f1a0b5011f05a02a8dee1070cd10a26d"
+SRC_URI[sha256sum] = "c8a85b28d377cc7737e46e2d9f2b4f44ee3c0e1deac6bf46ddefc7187d30797a"
+
 inherit pypi setuptools3
-require python-jsonschema.inc
+
+PACKAGECONFIG ??= "format"
+PACKAGECONFIG[format] = ",,,\
+    ${PYTHON_PN}-idna \
+    ${PYTHON_PN}-jsonpointer \
+    ${PYTHON_PN}-webcolors \
+    ${PYTHON_PN}-rfc3987 \
+    ${PYTHON_PN}-strict-rfc3339 \
+"
+PACKAGECONFIG[nongpl] = ",,,\
+    ${PYTHON_PN}-idna \
+    ${PYTHON_PN}-jsonpointer \
+    ${PYTHON_PN}-webcolors \
+    ${PYTHON_PN}-rfc3986-validator \
+    ${PYTHON_PN}-rfc3339-validator \
+"
+
+RDEPENDS_${PN} += " \
+    ${PYTHON_PN}-attrs \
+    ${PYTHON_PN}-core \
+    ${PYTHON_PN}-datetime \
+    ${PYTHON_PN}-importlib-metadata \
+    ${PYTHON_PN}-io \
+    ${PYTHON_PN}-json \
+    ${PYTHON_PN}-netclient \
+    ${PYTHON_PN}-numbers \
+    ${PYTHON_PN}-pkgutil \
+    ${PYTHON_PN}-pprint \
+    ${PYTHON_PN}-pyrsistent \
+    ${PYTHON_PN}-shell \
+    ${PYTHON_PN}-six \
+    ${PYTHON_PN}-unittest \
+    ${PYTHON_PN}-setuptools-scm \
+    ${PYTHON_PN}-zipp \
+"
+
+BBCLASSEXTEND = "native nativesdk"
-- 
2.17.1


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

* Re: [oe] [meta-python][PATCH 1/2] python3-jsonpatch: Consolidate in a single file
  2020-06-05 17:31 [meta-python][PATCH 1/2] python3-jsonpatch: Consolidate in a single file Leon Anavi
  2020-06-05 17:31 ` [meta-python][PATCH 2/2] python3-jsonschema: " Leon Anavi
@ 2020-06-05 19:28 ` Trevor Gamblin
  1 sibling, 0 replies; 4+ messages in thread
From: Trevor Gamblin @ 2020-06-05 19:28 UTC (permalink / raw)
  To: Leon Anavi, openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 2277 bytes --]


On 6/5/20 1:31 PM, Leon Anavi wrote:
> Consolidate inc and bb files into a single bb file.
>
> Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
> ---
>   .../recipes-devtools/python/python-jsonpatch.inc    | 12 ------------
>   .../python/python3-jsonpatch_1.25.bb                | 13 +++++++++++--
>   2 files changed, 11 insertions(+), 14 deletions(-)
>   delete mode 100644 meta-python/recipes-devtools/python/python-jsonpatch.inc
>
> diff --git a/meta-python/recipes-devtools/python/python-jsonpatch.inc b/meta-python/recipes-devtools/python/python-jsonpatch.inc
> deleted file mode 100644
> index e23f96b61..000000000
> --- a/meta-python/recipes-devtools/python/python-jsonpatch.inc
> +++ /dev/null
> @@ -1,12 +0,0 @@
> -SUMMARY  = "Appling JSON patches in Python 2.6+ and 3.x"
> -HOMEPAGE = "https://github.com/stefankoegl/python-json-patch"
> -LICENSE = "BSD-3-Clause"
> -LIC_FILES_CHKSUM = "file://COPYING;md5=32b15c843b7a329130f4e266a281ebb3"
> -
> -inherit pypi
> -
> -SRC_URI[md5sum] = "fcc546892414bef2f7f89f0e2a618a9e"
> -SRC_URI[sha256sum] = "ddc0f7628b8bfdd62e3cbfbc24ca6671b0b6265b50d186c2cf3659dc0f78fd6a"
> -
> -RDEPENDS_${PN} += "${PYTHON_PN}-json ${PYTHON_PN}-jsonpointer ${PYTHON_PN}-netclient ${PYTHON_PN}-stringold"
> -
> diff --git a/meta-python/recipes-devtools/python/python3-jsonpatch_1.25.bb b/meta-python/recipes-devtools/python/python3-jsonpatch_1.25.bb
> index 73efceeed..8ec21ff11 100644
> --- a/meta-python/recipes-devtools/python/python3-jsonpatch_1.25.bb
> +++ b/meta-python/recipes-devtools/python/python3-jsonpatch_1.25.bb
> @@ -1,2 +1,11 @@
> -inherit setuptools3
> -require python-jsonpatch.inc
> +SUMMARY  = "Appling JSON patches in Python 2.6+ and 3.x"
> +HOMEPAGE = "https://github.com/stefankoegl/python-json-patch"
> +LICENSE = "BSD-3-Clause"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=32b15c843b7a329130f4e266a281ebb3"
> +
> +inherit pypi setuptools3
> +
> +SRC_URI[md5sum] = "fcc546892414bef2f7f89f0e2a618a9e"
> +SRC_URI[sha256sum] = "ddc0f7628b8bfdd62e3cbfbc24ca6671b0b6265b50d186c2cf3659dc0f78fd6a"
> +
> +RDEPENDS_${PN} += "${PYTHON_PN}-json ${PYTHON_PN}-jsonpointer ${PYTHON_PN}-netclient ${PYTHON_PN}-stringold"
>
> 

[-- Attachment #2: Type: text/html, Size: 3636 bytes --]

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

* Re: [oe] [meta-python][PATCH 2/2] python3-jsonschema: Consolidate in a single file
  2020-06-05 17:31 ` [meta-python][PATCH 2/2] python3-jsonschema: " Leon Anavi
@ 2020-06-05 19:28   ` Trevor Gamblin
  0 siblings, 0 replies; 4+ messages in thread
From: Trevor Gamblin @ 2020-06-05 19:28 UTC (permalink / raw)
  To: Leon Anavi, openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 4461 bytes --]


On 6/5/20 1:31 PM, Leon Anavi wrote:
> Consolidate inc and bb files into a single bb file.
>
> Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
> ---
>   .../python/python-jsonschema.inc              | 48 -------------------
>   .../python/python3-jsonschema_3.2.0.bb        | 48 ++++++++++++++++++-
>   2 files changed, 47 insertions(+), 49 deletions(-)
>   delete mode 100644 meta-python/recipes-devtools/python/python-jsonschema.inc
>
> diff --git a/meta-python/recipes-devtools/python/python-jsonschema.inc b/meta-python/recipes-devtools/python/python-jsonschema.inc
> deleted file mode 100644
> index 8135b0fe6..000000000
> --- a/meta-python/recipes-devtools/python/python-jsonschema.inc
> +++ /dev/null
> @@ -1,48 +0,0 @@
> -SUMMARY = "An implementation of JSON Schema validation for Python"
> -HOMEPAGE = "https://github.com/Julian/jsonschema"
> -LICENSE = "MIT"
> -LIC_FILES_CHKSUM = "file://COPYING;md5=7a60a81c146ec25599a3e1dabb8610a8 \
> -                    file://json/LICENSE;md5=9d4de43111d33570c8fe49b4cb0e01af"
> -DEPENDS += "${PYTHON_PN}-vcversioner-native ${PYTHON_PN}-setuptools-scm-native"
> -
> -FILESEXTRAPATHS_prepend := "${THISDIR}/python-jsonschema:"
> -
> -SRC_URI[md5sum] = "f1a0b5011f05a02a8dee1070cd10a26d"
> -SRC_URI[sha256sum] = "c8a85b28d377cc7737e46e2d9f2b4f44ee3c0e1deac6bf46ddefc7187d30797a"
> -
> -PACKAGECONFIG ??= "format"
> -PACKAGECONFIG[format] = ",,,\
> -    ${PYTHON_PN}-idna \
> -    ${PYTHON_PN}-jsonpointer \
> -    ${PYTHON_PN}-webcolors \
> -    ${PYTHON_PN}-rfc3987 \
> -    ${PYTHON_PN}-strict-rfc3339 \
> -"
> -PACKAGECONFIG[nongpl] = ",,,\
> -    ${PYTHON_PN}-idna \
> -    ${PYTHON_PN}-jsonpointer \
> -    ${PYTHON_PN}-webcolors \
> -    ${PYTHON_PN}-rfc3986-validator \
> -    ${PYTHON_PN}-rfc3339-validator \
> -"
> -
> -RDEPENDS_${PN} += " \
> -    ${PYTHON_PN}-attrs \
> -    ${PYTHON_PN}-core \
> -    ${PYTHON_PN}-datetime \
> -    ${PYTHON_PN}-importlib-metadata \
> -    ${PYTHON_PN}-io \
> -    ${PYTHON_PN}-json \
> -    ${PYTHON_PN}-netclient \
> -    ${PYTHON_PN}-numbers \
> -    ${PYTHON_PN}-pkgutil \
> -    ${PYTHON_PN}-pprint \
> -    ${PYTHON_PN}-pyrsistent \
> -    ${PYTHON_PN}-shell \
> -    ${PYTHON_PN}-six \
> -    ${PYTHON_PN}-unittest \
> -    ${PYTHON_PN}-setuptools-scm \
> -    ${PYTHON_PN}-zipp \
> -"
> -
> -BBCLASSEXTEND = "native nativesdk"
> diff --git a/meta-python/recipes-devtools/python/python3-jsonschema_3.2.0.bb b/meta-python/recipes-devtools/python/python3-jsonschema_3.2.0.bb
> index 926990747..2705dd3ba 100644
> --- a/meta-python/recipes-devtools/python/python3-jsonschema_3.2.0.bb
> +++ b/meta-python/recipes-devtools/python/python3-jsonschema_3.2.0.bb
> @@ -1,2 +1,48 @@
> +SUMMARY = "An implementation of JSON Schema validation for Python"
> +HOMEPAGE = "https://github.com/Julian/jsonschema"
> +LICENSE = "MIT"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=7a60a81c146ec25599a3e1dabb8610a8 \
> +                    file://json/LICENSE;md5=9d4de43111d33570c8fe49b4cb0e01af"
> +DEPENDS += "${PYTHON_PN}-vcversioner-native ${PYTHON_PN}-setuptools-scm-native"
> +
> +SRC_URI[md5sum] = "f1a0b5011f05a02a8dee1070cd10a26d"
> +SRC_URI[sha256sum] = "c8a85b28d377cc7737e46e2d9f2b4f44ee3c0e1deac6bf46ddefc7187d30797a"
> +
>   inherit pypi setuptools3
> -require python-jsonschema.inc
> +
> +PACKAGECONFIG ??= "format"
> +PACKAGECONFIG[format] = ",,,\
> +    ${PYTHON_PN}-idna \
> +    ${PYTHON_PN}-jsonpointer \
> +    ${PYTHON_PN}-webcolors \
> +    ${PYTHON_PN}-rfc3987 \
> +    ${PYTHON_PN}-strict-rfc3339 \
> +"
> +PACKAGECONFIG[nongpl] = ",,,\
> +    ${PYTHON_PN}-idna \
> +    ${PYTHON_PN}-jsonpointer \
> +    ${PYTHON_PN}-webcolors \
> +    ${PYTHON_PN}-rfc3986-validator \
> +    ${PYTHON_PN}-rfc3339-validator \
> +"
> +
> +RDEPENDS_${PN} += " \
> +    ${PYTHON_PN}-attrs \
> +    ${PYTHON_PN}-core \
> +    ${PYTHON_PN}-datetime \
> +    ${PYTHON_PN}-importlib-metadata \
> +    ${PYTHON_PN}-io \
> +    ${PYTHON_PN}-json \
> +    ${PYTHON_PN}-netclient \
> +    ${PYTHON_PN}-numbers \
> +    ${PYTHON_PN}-pkgutil \
> +    ${PYTHON_PN}-pprint \
> +    ${PYTHON_PN}-pyrsistent \
> +    ${PYTHON_PN}-shell \
> +    ${PYTHON_PN}-six \
> +    ${PYTHON_PN}-unittest \
> +    ${PYTHON_PN}-setuptools-scm \
> +    ${PYTHON_PN}-zipp \
> +"
> +
> +BBCLASSEXTEND = "native nativesdk"
>
> 

[-- Attachment #2: Type: text/html, Size: 6049 bytes --]

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

end of thread, other threads:[~2020-06-05 19:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-05 17:31 [meta-python][PATCH 1/2] python3-jsonpatch: Consolidate in a single file Leon Anavi
2020-06-05 17:31 ` [meta-python][PATCH 2/2] python3-jsonschema: " Leon Anavi
2020-06-05 19:28   ` [oe] " Trevor Gamblin
2020-06-05 19:28 ` [oe] [meta-python][PATCH 1/2] python3-jsonpatch: " 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.