[meta-python] python3-coloredlogs: Added nativesdk python3-docutils: Added nativesdk and native python3-humanfriendly: Added nativesdk

Message ID CAHMaQtB6aySwe6DjrGmAZXj9c8i1v6MSCX-Hfe7k3pvxW3RJtg@mail.gmail.com
State New
Headers show
Series [meta-python] python3-coloredlogs: Added nativesdk python3-docutils: Added nativesdk and native python3-humanfriendly: Added nativesdk | expand

Commit Message

Windel Bouwman Nov. 29, 2021, 8:42 a.m. UTC
These changes are needed in order to build colcon as an SDK package.

Signed-off-by: Windel Bouwman <windel.bouwman@gmail.com>
---
 meta-python/recipes-devtools/python/python3-coloredlogs_15.0.bb | 2 +-
 meta-python/recipes-devtools/python/python3-docutils_0.17.bb    | 2 ++
 .../recipes-devtools/python/python3-humanfriendly_9.1.bb        | 2 +-
 3 files changed, 4 insertions(+), 2 deletions(-)

--
2.25.1

Comments

Windel Bouwman Nov. 29, 2021, 5:35 p.m. UTC | #1
This patch is for the hardknott branch. I'm sorry I did not tag it as such.

On Mon, Nov 29, 2021 at 6:06 PM Khem Raj <raj.khem@gmail.com> wrote:

> which branch are you proposing this patch for ?
> it seems to be not applicable to master and if its meant for release
> branches then tag it with appropriate release branch name in subject line.
>
> On 11/29/21 12:42 AM, Windel Bouwman wrote:
> > These changes are needed in order to build colcon as an SDK package.
> >
> > Signed-off-by: Windel Bouwman <windel.bouwman@gmail.com
> > <mailto:windel.bouwman@gmail.com>>
> > ---
> >   meta-python/recipes-devtools/python/python3-coloredlogs_15.0.bb
> > <http://python3-coloredlogs_15.0.bb> | 2 +-
> >   meta-python/recipes-devtools/python/python3-docutils_0.17.bb
> > <http://python3-docutils_0.17.bb>    | 2 ++
> >   .../recipes-devtools/python/python3-humanfriendly_9.1.bb
> > <http://python3-humanfriendly_9.1.bb>        | 2 +-
> >   3 files changed, 4 insertions(+), 2 deletions(-)
> >
> > diff --git
> > a/meta-python/recipes-devtools/python/python3-coloredlogs_15.0.bb
> > <http://python3-coloredlogs_15.0.bb>
> > b/meta-python/recipes-devtools/python/python3-coloredlogs_15.0.bb
> > <http://python3-coloredlogs_15.0.bb>
> > index daeda6b2e..da4f7a574 100644
> > --- a/meta-python/recipes-devtools/python/python3-coloredlogs_15.0.bb
> > <http://python3-coloredlogs_15.0.bb>
> > +++ b/meta-python/recipes-devtools/python/python3-coloredlogs_15.0.bb
> > <http://python3-coloredlogs_15.0.bb>
> > @@ -20,4 +20,4 @@ RDEPENDS_${PN} += "\
> >       ${PYTHON_PN}-humanfriendly \
> >   "
> >
> > -BBCLASSEXTEND = "native"
> > +BBCLASSEXTEND = "native nativesdk"
> > diff --git
> > a/meta-python/recipes-devtools/python/python3-docutils_0.17.bb
> > <http://python3-docutils_0.17.bb>
> > b/meta-python/recipes-devtools/python/python3-docutils_0.17.bb
> > <http://python3-docutils_0.17.bb>
> > index 8605e93b5..f8cd205fa 100644
> > --- a/meta-python/recipes-devtools/python/python3-docutils_0.17.bb
> > <http://python3-docutils_0.17.bb>
> > +++ b/meta-python/recipes-devtools/python/python3-docutils_0.17.bb
> > <http://python3-docutils_0.17.bb>
> > @@ -7,3 +7,5 @@ LIC_FILES_CHKSUM =
> > "file://COPYING.txt;md5=836a1950177996968a49ff477a4a61c4"
> >   SRC_URI[sha256sum] =
> > "e2ffeea817964356ba4470efba7c2f42b6b0de0b04e66378507e3e2504bbff4c"
> >
> >   inherit pypi setuptools3
> > +
> > +BBCLASSEXTEND = "native nativesdk"
> > diff --git
> > a/meta-python/recipes-devtools/python/python3-humanfriendly_9.1.bb
> > <http://python3-humanfriendly_9.1.bb>
> > b/meta-python/recipes-devtools/python/python3-humanfriendly_9.1.bb
> > <http://python3-humanfriendly_9.1.bb>
> > index fb6a7e3b6..a5f2031b2 100644
> > --- a/meta-python/recipes-devtools/python/python3-humanfriendly_9.1.bb
> > <http://python3-humanfriendly_9.1.bb>
> > +++ b/meta-python/recipes-devtools/python/python3-humanfriendly_9.1.bb
> > <http://python3-humanfriendly_9.1.bb>
> > @@ -21,4 +21,4 @@ RDEPENDS_${PN}_class-target += " \
> >       ${PYTHON_PN}-stringold \
> >   "
> >
> > -BBCLASSEXTEND = "native"
> > +BBCLASSEXTEND = "native nativesdk"
> > --
> > 2.25.1
> >
> >
> > -=-=-=-=-=-=-=-=-=-=-=-
> > Links: You receive all messages sent to this group.
> > View/Reply Online (#94133):
> https://lists.openembedded.org/g/openembedded-devel/message/94133
> > Mute This Topic: https://lists.openembedded.org/mt/87373885/1997914
> > Group Owner: openembedded-devel+owner@lists.openembedded.org
> > Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [
> raj.khem@gmail.com]
> > -=-=-=-=-=-=-=-=-=-=-=-
> >
>
Khem Raj Nov. 29, 2021, 6:58 p.m. UTC | #2
On Mon, Nov 29, 2021 at 9:35 AM Windel Bouwman <windel.bouwman@gmail.com> wrote:
>
> This patch is for the hardknott branch. I'm sorry I did not tag it as such.
>

python3-coloredlogs was still needed in master so I took that part,
I think you should look into master and do relevant backports instead
of writing specific patch

> On Mon, Nov 29, 2021 at 6:06 PM Khem Raj <raj.khem@gmail.com> wrote:
>>
>> which branch are you proposing this patch for ?
>> it seems to be not applicable to master and if its meant for release
>> branches then tag it with appropriate release branch name in subject line.
>>
>> On 11/29/21 12:42 AM, Windel Bouwman wrote:
>> > These changes are needed in order to build colcon as an SDK package.
>> >
>> > Signed-off-by: Windel Bouwman <windel.bouwman@gmail.com
>> > <mailto:windel.bouwman@gmail.com>>
>> > ---
>> >   meta-python/recipes-devtools/python/python3-coloredlogs_15.0.bb
>> > <http://python3-coloredlogs_15.0.bb> | 2 +-
>> >   meta-python/recipes-devtools/python/python3-docutils_0.17.bb
>> > <http://python3-docutils_0.17.bb>    | 2 ++
>> >   .../recipes-devtools/python/python3-humanfriendly_9.1.bb
>> > <http://python3-humanfriendly_9.1.bb>        | 2 +-
>> >   3 files changed, 4 insertions(+), 2 deletions(-)
>> >
>> > diff --git
>> > a/meta-python/recipes-devtools/python/python3-coloredlogs_15.0.bb
>> > <http://python3-coloredlogs_15.0.bb>
>> > b/meta-python/recipes-devtools/python/python3-coloredlogs_15.0.bb
>> > <http://python3-coloredlogs_15.0.bb>
>> > index daeda6b2e..da4f7a574 100644
>> > --- a/meta-python/recipes-devtools/python/python3-coloredlogs_15.0.bb
>> > <http://python3-coloredlogs_15.0.bb>
>> > +++ b/meta-python/recipes-devtools/python/python3-coloredlogs_15.0.bb
>> > <http://python3-coloredlogs_15.0.bb>
>> > @@ -20,4 +20,4 @@ RDEPENDS_${PN} += "\
>> >       ${PYTHON_PN}-humanfriendly \
>> >   "
>> >
>> > -BBCLASSEXTEND = "native"
>> > +BBCLASSEXTEND = "native nativesdk"
>> > diff --git
>> > a/meta-python/recipes-devtools/python/python3-docutils_0.17.bb
>> > <http://python3-docutils_0.17.bb>
>> > b/meta-python/recipes-devtools/python/python3-docutils_0.17.bb
>> > <http://python3-docutils_0.17.bb>
>> > index 8605e93b5..f8cd205fa 100644
>> > --- a/meta-python/recipes-devtools/python/python3-docutils_0.17.bb
>> > <http://python3-docutils_0.17.bb>
>> > +++ b/meta-python/recipes-devtools/python/python3-docutils_0.17.bb
>> > <http://python3-docutils_0.17.bb>
>> > @@ -7,3 +7,5 @@ LIC_FILES_CHKSUM =
>> > "file://COPYING.txt;md5=836a1950177996968a49ff477a4a61c4"
>> >   SRC_URI[sha256sum] =
>> > "e2ffeea817964356ba4470efba7c2f42b6b0de0b04e66378507e3e2504bbff4c"
>> >
>> >   inherit pypi setuptools3
>> > +
>> > +BBCLASSEXTEND = "native nativesdk"
>> > diff --git
>> > a/meta-python/recipes-devtools/python/python3-humanfriendly_9.1.bb
>> > <http://python3-humanfriendly_9.1.bb>
>> > b/meta-python/recipes-devtools/python/python3-humanfriendly_9.1.bb
>> > <http://python3-humanfriendly_9.1.bb>
>> > index fb6a7e3b6..a5f2031b2 100644
>> > --- a/meta-python/recipes-devtools/python/python3-humanfriendly_9.1.bb
>> > <http://python3-humanfriendly_9.1.bb>
>> > +++ b/meta-python/recipes-devtools/python/python3-humanfriendly_9.1.bb
>> > <http://python3-humanfriendly_9.1.bb>
>> > @@ -21,4 +21,4 @@ RDEPENDS_${PN}_class-target += " \
>> >       ${PYTHON_PN}-stringold \
>> >   "
>> >
>> > -BBCLASSEXTEND = "native"
>> > +BBCLASSEXTEND = "native nativesdk"
>> > --
>> > 2.25.1
>> >
>> >
>> > -=-=-=-=-=-=-=-=-=-=-=-
>> > Links: You receive all messages sent to this group.
>> > View/Reply Online (#94133): https://lists.openembedded.org/g/openembedded-devel/message/94133
>> > Mute This Topic: https://lists.openembedded.org/mt/87373885/1997914
>> > Group Owner: openembedded-devel+owner@lists.openembedded.org
>> > Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [raj.khem@gmail.com]
>> > -=-=-=-=-=-=-=-=-=-=-=-
>> >

Patch

diff --git a/meta-python/recipes-devtools/python/python3-coloredlogs_15.0.bb
b/meta-python/recipes-devtools/python/python3-coloredlogs_15.0.bb
index daeda6b2e..da4f7a574 100644
--- a/meta-python/recipes-devtools/python/python3-coloredlogs_15.0.bb
+++ b/meta-python/recipes-devtools/python/python3-coloredlogs_15.0.bb
@@ -20,4 +20,4 @@  RDEPENDS_${PN} += "\
     ${PYTHON_PN}-humanfriendly \
 "

-BBCLASSEXTEND = "native"
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta-python/recipes-devtools/python/python3-docutils_0.17.bb
b/meta-python/recipes-devtools/python/python3-docutils_0.17.bb
index 8605e93b5..f8cd205fa 100644
--- a/meta-python/recipes-devtools/python/python3-docutils_0.17.bb
+++ b/meta-python/recipes-devtools/python/python3-docutils_0.17.bb
@@ -7,3 +7,5 @@  LIC_FILES_CHKSUM =
"file://COPYING.txt;md5=836a1950177996968a49ff477a4a61c4"
 SRC_URI[sha256sum] =
"e2ffeea817964356ba4470efba7c2f42b6b0de0b04e66378507e3e2504bbff4c"

 inherit pypi setuptools3
+
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta-python/recipes-devtools/python/
python3-humanfriendly_9.1.bb b/meta-python/recipes-devtools/python/
python3-humanfriendly_9.1.bb
index fb6a7e3b6..a5f2031b2 100644
--- a/meta-python/recipes-devtools/python/python3-humanfriendly_9.1.bb
+++ b/meta-python/recipes-devtools/python/python3-humanfriendly_9.1.bb
@@ -21,4 +21,4 @@  RDEPENDS_${PN}_class-target += " \
     ${PYTHON_PN}-stringold \
 "

-BBCLASSEXTEND = "native"
+BBCLASSEXTEND = "native nativesdk"