All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-python][PATCH 1/3] python3-setuptools-scm: Cosmetic improvement
@ 2020-05-09 17:05 niko.mauno
  2020-05-09 17:06 ` [meta-python][PATCH 2/3] python3-setuptools-scm: Add nativesdk to BBCLASSEXTEND niko.mauno
  2020-05-09 17:06 ` [meta-python][PATCH 3/3] python3-attrs: " niko.mauno
  0 siblings, 2 replies; 3+ messages in thread
From: niko.mauno @ 2020-05-09 17:05 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Niko Mauno

Split values of RDEPENDS variables to individual lines in alphabetic
order.

Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
---
 .../python/python3-setuptools-scm_3.3.3.bb            | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/meta-python/recipes-devtools/python/python3-setuptools-scm_3.3.3.bb b/meta-python/recipes-devtools/python/python3-setuptools-scm_3.3.3.bb
index f8d28b33a..c061ea2e6 100644
--- a/meta-python/recipes-devtools/python/python3-setuptools-scm_3.3.3.bb
+++ b/meta-python/recipes-devtools/python/python3-setuptools-scm_3.3.3.bb
@@ -8,7 +8,14 @@ SRC_URI[sha256sum] = "bd25e1fb5e4d603dcf490f1fde40fb4c595b357795674c3e5cb7f6217a
 PYPI_PACKAGE = "setuptools_scm"
 inherit pypi setuptools3
 
-RDEPENDS_${PN}_class-target = "${PYTHON_PN}-py ${PYTHON_PN}-setuptools ${PYTHON_PN}-debugger ${PYTHON_PN}-json"
-RDEPENDS_${PN}_class-native = "${PYTHON_PN}-setuptools-native"
+RDEPENDS_${PN}_class-target = "\
+    ${PYTHON_PN}-debugger \
+    ${PYTHON_PN}-json \
+    ${PYTHON_PN}-py \
+    ${PYTHON_PN}-setuptools \
+"
+RDEPENDS_${PN}_class-native = "\
+    ${PYTHON_PN}-setuptools-native \
+"
 
 BBCLASSEXTEND = "native"
-- 
2.20.1


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

* [meta-python][PATCH 2/3] python3-setuptools-scm: Add nativesdk to BBCLASSEXTEND
  2020-05-09 17:05 [meta-python][PATCH 1/3] python3-setuptools-scm: Cosmetic improvement niko.mauno
@ 2020-05-09 17:06 ` niko.mauno
  2020-05-09 17:06 ` [meta-python][PATCH 3/3] python3-attrs: " niko.mauno
  1 sibling, 0 replies; 3+ messages in thread
From: niko.mauno @ 2020-05-09 17:06 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Niko Mauno

By doing so we mitigate failure when trying to bitbake recipe which
rdepends on nativesdk-python3-setuptools-scm, such as following error
when bitbaking nativesdk-python3-jsonschema:

  ERROR: Nothing RPROVIDES 'nativesdk-python3-setuptools-scm' (but virtual:nativesdk:.../meta-openembedded/meta-python/recipes-devtools/python/python3-jsonschema_3.2.0.bb RDEPENDS on or otherwise requires it)

Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
---
 .../recipes-devtools/python/python3-setuptools-scm_3.3.3.bb   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta-python/recipes-devtools/python/python3-setuptools-scm_3.3.3.bb b/meta-python/recipes-devtools/python/python3-setuptools-scm_3.3.3.bb
index c061ea2e6..a1fc3831f 100644
--- a/meta-python/recipes-devtools/python/python3-setuptools-scm_3.3.3.bb
+++ b/meta-python/recipes-devtools/python/python3-setuptools-scm_3.3.3.bb
@@ -8,7 +8,7 @@ SRC_URI[sha256sum] = "bd25e1fb5e4d603dcf490f1fde40fb4c595b357795674c3e5cb7f6217a
 PYPI_PACKAGE = "setuptools_scm"
 inherit pypi setuptools3
 
-RDEPENDS_${PN}_class-target = "\
+RDEPENDS_${PN} = "\
     ${PYTHON_PN}-debugger \
     ${PYTHON_PN}-json \
     ${PYTHON_PN}-py \
@@ -18,4 +18,4 @@ RDEPENDS_${PN}_class-native = "\
     ${PYTHON_PN}-setuptools-native \
 "
 
-BBCLASSEXTEND = "native"
+BBCLASSEXTEND = "native nativesdk"
-- 
2.20.1


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

* [meta-python][PATCH 3/3] python3-attrs: Add nativesdk to BBCLASSEXTEND
  2020-05-09 17:05 [meta-python][PATCH 1/3] python3-setuptools-scm: Cosmetic improvement niko.mauno
  2020-05-09 17:06 ` [meta-python][PATCH 2/3] python3-setuptools-scm: Add nativesdk to BBCLASSEXTEND niko.mauno
@ 2020-05-09 17:06 ` niko.mauno
  1 sibling, 0 replies; 3+ messages in thread
From: niko.mauno @ 2020-05-09 17:06 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Niko Mauno

By doing so we mitigate failure when trying to bitbake recipe which
rdepends on nativesdk-python3-attrs, such as following error
when bitbaking nativesdk-python3-jsonschema:

  ERROR: Nothing RPROVIDES 'nativesdk-python3-attrs' (but virtual:nativesdk:.../meta-openembedded/meta-python/recipes-devtools/python/python3-jsonschema_3.2.0.bb RDEPENDS on or otherwise requires it)

Signed-off-by: Niko Mauno <niko.mauno@vaisala.com>
---
 meta-python/recipes-devtools/python/python3-attrs_19.3.0.bb | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/meta-python/recipes-devtools/python/python3-attrs_19.3.0.bb b/meta-python/recipes-devtools/python/python3-attrs_19.3.0.bb
index b3739fda8..7ff8049e5 100644
--- a/meta-python/recipes-devtools/python/python3-attrs_19.3.0.bb
+++ b/meta-python/recipes-devtools/python/python3-attrs_19.3.0.bb
@@ -12,5 +12,9 @@ RDEPENDS_${PN}_class-target += " \
     ${PYTHON_PN}-crypt \
     ${PYTHON_PN}-ctypes \
 "
+RDEPENDS_${PN}_class-nativesdk += " \
+    ${PYTHON_PN}-crypt \
+    ${PYTHON_PN}-ctypes \
+"
 
-BBCLASSEXTEND = "native"
+BBCLASSEXTEND = "native nativesdk"
-- 
2.20.1


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

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

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-09 17:05 [meta-python][PATCH 1/3] python3-setuptools-scm: Cosmetic improvement niko.mauno
2020-05-09 17:06 ` [meta-python][PATCH 2/3] python3-setuptools-scm: Add nativesdk to BBCLASSEXTEND niko.mauno
2020-05-09 17:06 ` [meta-python][PATCH 3/3] python3-attrs: " niko.mauno

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.