| Message ID | 20250926142922.627071-1-mo.krautwald@mailbox.org |
|---|---|
| State | Under Review |
| Headers | show |
| Series | [meta-python] package pipx | expand |
Its showing some build QA errors WARNING: /mnt/b/yoe/master/sources/meta-openembedded/meta-python/recipes-devtools/python/python3-pipx_1.7.1.bb: /mnt/b/yoe/master/sources/meta-openembedded/meta-python/recipes-devtools/python/python3-pipx_1.7.1.bb:2 has a lack of whitespace around the assignment: 'HOMEPAGE ="https://pipx.pypa.io/stable/"' WARNING: /mnt/b/yoe/master/sources/meta-openembedded/meta-python/recipes-devtools/python/python3-userpath_1.9.2.bb: /mnt/b/yoe/master/sources/meta-openembedded/meta-python/recipes-devtools/python/python3-userpath_1.9.2.bb:2 has a lack of whitespace around the assignment: 'HOMEPAGE ="https://github.com/ofek/userpath"' secondly, the commit message could be made better <recipe>: Short summary Details of changes Signed-off-by On Fri, Sep 26, 2025 at 7:31 AM Mo Krautwald via lists.openembedded.org <mo.krautwald=mailbox.org@lists.openembedded.org> wrote: > > Package pipx und its unpackaged dependency userpath > --- > .../python/python3-pipx_1.7.1.bb | 21 +++++++++++++++++++ > .../python/python3-userpath_1.9.2.bb | 14 +++++++++++++ > 2 files changed, 35 insertions(+) > create mode 100644 meta-python/recipes-devtools/python/python3-pipx_1.7.1.bb > create mode 100644 meta-python/recipes-devtools/python/python3-userpath_1.9.2.bb > > diff --git a/meta-python/recipes-devtools/python/python3-pipx_1.7.1.bb b/meta-python/recipes-devtools/python/python3-pipx_1.7.1.bb > new file mode 100644 > index 0000000000..2a04624c1d > --- /dev/null > +++ b/meta-python/recipes-devtools/python/python3-pipx_1.7.1.bb > @@ -0,0 +1,21 @@ > +SUMMARY = "pipx - Install and Run Python Applications in Isolated Environments" > +HOMEPAGE ="https://pipx.pypa.io/stable/" > +LICENSE = "MIT" > +LIC_FILES_CHKSUM = "file://LICENSE;md5=35c8e045b3a9ac6e7b19f25cb6cc08bd" > + > +SRC_URI[md5sum] = "7b2bd7c1397e74e7e7beb04b121702c4" > +SRC_URI[sha256sum] = "762de134e16a462be92645166d225ecef446afaef534917f5f70008d63584360" > + > +PYPI_PACKAGE = "pipx" > + > +DEPENDS += "python3-hatch-vcs-native" > + > +inherit pypi python_hatchling > + > +RDEPENDS:${PN} += " \ > + python3-argcomplete \ > + python3-packaging \ > + python3-platformdirs \ > + python3-userpath \ > +" > +BBCLASSEXTEND = "native nativesdk" > diff --git a/meta-python/recipes-devtools/python/python3-userpath_1.9.2.bb b/meta-python/recipes-devtools/python/python3-userpath_1.9.2.bb > new file mode 100644 > index 0000000000..b6d6280866 > --- /dev/null > +++ b/meta-python/recipes-devtools/python/python3-userpath_1.9.2.bb > @@ -0,0 +1,14 @@ > +SUMMARY = "userpath - a tool for modifying a user's PATH" > +HOMEPAGE ="https://github.com/ofek/userpath" > +LICENSE = "MIT" > +LIC_FILES_CHKSUM = "file://LICENSE;md5=35c8e045b3a9ac6e7b19f25cb6cc08bd" > +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=b2d8ecec3b363659695a29c2d11c8a88" > + > +SRC_URI[md5sum] = "0bcebc971ce7fb38aa3fde3b137d39e2" > +SRC_URI[sha256sum] = "6c52288dab069257cc831846d15d48133522455d4677ee69a9781f11dbefd815" > + > +PYPI_PACKAGE = "userpath" > + > +inherit pypi python_hatchling > + > +RDEPENDS:${PN} += " python3-click " > -- > 2.51.0 > > > -=-=-=-=-=-=-=-=-=-=-=- > Links: You receive all messages sent to this group. > View/Reply Online (#119930): https://lists.openembedded.org/g/openembedded-devel/message/119930 > Mute This Topic: https://lists.openembedded.org/mt/115449692/1997914 > Group Owner: openembedded-devel+owner@lists.openembedded.org > Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [raj.khem@gmail.com] > -=-=-=-=-=-=-=-=-=-=-=- >
On 9/26/25 16:28, Mo Krautwald via lists.openembedded.org wrote: > +LIC_FILES_CHKSUM = "file://LICENSE;md5=35c8e045b3a9ac6e7b19f25cb6cc08bd" > +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=b2d8ecec3b363659695a29c2d11c8a88" > + > The second line overwrites the first one. If there are multiple license files, the second line could use the "+=" operator. Otherwise, if there is only one, then the incorrect line should be removed.
diff --git a/meta-python/recipes-devtools/python/python3-pipx_1.7.1.bb b/meta-python/recipes-devtools/python/python3-pipx_1.7.1.bb new file mode 100644 index 0000000000..2a04624c1d --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pipx_1.7.1.bb @@ -0,0 +1,21 @@ +SUMMARY = "pipx - Install and Run Python Applications in Isolated Environments" +HOMEPAGE ="https://pipx.pypa.io/stable/" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=35c8e045b3a9ac6e7b19f25cb6cc08bd" + +SRC_URI[md5sum] = "7b2bd7c1397e74e7e7beb04b121702c4" +SRC_URI[sha256sum] = "762de134e16a462be92645166d225ecef446afaef534917f5f70008d63584360" + +PYPI_PACKAGE = "pipx" + +DEPENDS += "python3-hatch-vcs-native" + +inherit pypi python_hatchling + +RDEPENDS:${PN} += " \ + python3-argcomplete \ + python3-packaging \ + python3-platformdirs \ + python3-userpath \ +" +BBCLASSEXTEND = "native nativesdk" diff --git a/meta-python/recipes-devtools/python/python3-userpath_1.9.2.bb b/meta-python/recipes-devtools/python/python3-userpath_1.9.2.bb new file mode 100644 index 0000000000..b6d6280866 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-userpath_1.9.2.bb @@ -0,0 +1,14 @@ +SUMMARY = "userpath - a tool for modifying a user's PATH" +HOMEPAGE ="https://github.com/ofek/userpath" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=35c8e045b3a9ac6e7b19f25cb6cc08bd" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=b2d8ecec3b363659695a29c2d11c8a88" + +SRC_URI[md5sum] = "0bcebc971ce7fb38aa3fde3b137d39e2" +SRC_URI[sha256sum] = "6c52288dab069257cc831846d15d48133522455d4677ee69a9781f11dbefd815" + +PYPI_PACKAGE = "userpath" + +inherit pypi python_hatchling + +RDEPENDS:${PN} += " python3-click "