Skip to contentSkip to conversation

python3-dasbus: Add new recipe

PATCH Superseded [email protected] 3 participants 5 messages May 28, 2024 – Jun 3, 2024

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 python3-dasbus: Add new recipe

From: Mingli Yu <[email protected]>

Dasbus is a DBus library written in Python 3, based on GLib and inspired by pydbus.

---
 .../recipes-devtools/python/python3-dasbus_1.7.bb | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-dasbus_1.7.bb
meta-python/recipes-devtools/python/python3-dasbus_1.7.bb new file +15 -0
new file mode 100644
index 000000000..c07464210
@@ -0,0 +1,15 @@
+SUMMARY = "Dasbus is a DBus library written in Python 3, based on GLib and inspired by pydbus."
+HOMEPAGE = "https://dasbus.readthedocs.io"
+SECTION = "devel"
+LICENSE = "LGPL-2.1-only"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=1803fa9c2c3ce8cb06b4861d75310742"
+
+SRC_URI = "git://github.com/dasbus-project/dasbus.git;protocol=https;branch=master \
+"
+SRCREV = "413cf9a0b7c231468f1d28d9a29dd8dd8bda15c5"
+
+S = "${WORKDIR}/git"
+
+inherit setuptools3
+
+RDEPENDS:${PN} = "python3-pygobject"
Signature · 1 line
2.25.1
#1 lore raw
Quoted 29 lines · Mingli via lists.openembedded.org

From: Mingli Yu <[email protected]>

Dasbus is a DBus library written in Python 3, based on GLib and inspired by pydbus.

---
 .../recipes-devtools/python/python3-dasbus_1.7.bb | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/

python3-dasbus_1.7.bb

meta-python/recipes-devtools/python/python3-dasbus_1.7.bb new file +1 -0
new file mode 100644
index 000000000..c07464210
@@ -0,0 +1,15 @@
+SUMMARY = "Dasbus is a DBus library written in Python 3, based on GLib

and inspired by pydbus."

meta-python/recipes-devtools/python/python3-dasbus_1.7.bb new file +6 -0
+HOMEPAGE = "https://dasbus.readthedocs.io"
+SECTION = "devel"
+LICENSE = "LGPL-2.1-only"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=1803fa9c2c3ce8cb06b4861d75310742"
+
+SRC_URI = "git://

github.com/dasbus-project/dasbus.git;protocol=https;branch=master \
+"

meta-python/recipes-devtools/python/python3-dasbus_1.7.bb line 13

Quoted 5 lines
meta-python/recipes-devtools/python/python3-dasbus_1.7.bb new file +5 -0
+SRCREV = "413cf9a0b7c231468f1d28d9a29dd8dd8bda15c5"
+
+S = "${WORKDIR}/git"
+
+inherit setuptools3

This should inherit python_hatchling since a proper pyproject.toml is provided
https://github.com/dasbus-project/dasbus/blob/be51b94b083bad6fa0716ad6dc97d12f4462f8d4/pyproject.toml#L7

Quoted 17 lines
meta-python/recipes-devtools/python/python3-dasbus_1.7.bb new file +2 -1
+
+RDEPENDS:${PN} = "python3-pygobject"
--

2.25.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#110580):
https://lists.openembedded.org/g/openembedded-devel/message/110580
Mute This Topic: https://lists.openembedded.org/mt/106345708/924729
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

author
#2 lore raw
Quoted 51 lines · Tim Orling

**
*CAUTION: This email comes from a non Wind River email account!*
Do not click links or open attachments unless you recognize the sender and know the content is safe.

On Tue, May 28, 2024 at 2:57 AM Yu, Mingli via lists.openembedded.org <https://urldefense.com/v3/__http://lists.openembedded.org__;!!AjveYdw8EvQ!Y5NUwukPKP_HnepOX_NV-Oa4tXfkyjxJPk4ygBglVwbOyv4Lc_RjWWNA1peUyA7SsJfU7GkiYG6VXIHkUo__zHc$> <[email protected] <mailto:[email protected]>> wrote:

    From: Mingli Yu <[email protected]
    <mailto:[email protected]>>

    Dasbus is a DBus library written in Python 3, based on GLib
    and inspired by pydbus.

    Signed-off-by: Mingli Yu <[email protected]
    <mailto:[email protected]>>
    ---
      .../recipes-devtools/python/python3-dasbus_1.7.bb
    <https://urldefense.com/v3/__http://python3-dasbus_1.7.bb__;!!AjveYdw8EvQ!Y5NUwukPKP_HnepOX_NV-Oa4tXfkyjxJPk4ygBglVwbOyv4Lc_RjWWNA1peUyA7SsJfU7GkiYG6VXIHk4El2d1U$> | 15 +++++++++++++++
      1 file changed, 15 insertions(+)
      create mode 100644
    meta-python/recipes-devtools/python/python3-dasbus_1.7.bb
    <https://urldefense.com/v3/__http://python3-dasbus_1.7.bb__;!!AjveYdw8EvQ!Y5NUwukPKP_HnepOX_NV-Oa4tXfkyjxJPk4ygBglVwbOyv4Lc_RjWWNA1peUyA7SsJfU7GkiYG6VXIHk4El2d1U$>

    diff --git
    a/meta-python/recipes-devtools/python/python3-dasbus_1.7.bb
    <https://urldefense.com/v3/__http://python3-dasbus_1.7.bb__;!!AjveYdw8EvQ!Y5NUwukPKP_HnepOX_NV-Oa4tXfkyjxJPk4ygBglVwbOyv4Lc_RjWWNA1peUyA7SsJfU7GkiYG6VXIHk4El2d1U$> b/meta-python/recipes-devtools/python/python3-dasbus_1.7.bb <https://urldefense.com/v3/__http://python3-dasbus_1.7.bb__;!!AjveYdw8EvQ!Y5NUwukPKP_HnepOX_NV-Oa4tXfkyjxJPk4ygBglVwbOyv4Lc_RjWWNA1peUyA7SsJfU7GkiYG6VXIHk4El2d1U$>
    new file mode 100644
    index 000000000..c07464210
    --- /dev/null
    +++ b/meta-python/recipes-devtools/python/python3-dasbus_1.7.bb
    <https://urldefense.com/v3/__http://python3-dasbus_1.7.bb__;!!AjveYdw8EvQ!Y5NUwukPKP_HnepOX_NV-Oa4tXfkyjxJPk4ygBglVwbOyv4Lc_RjWWNA1peUyA7SsJfU7GkiYG6VXIHk4El2d1U$>
    @@ -0,0 +1,15 @@
    +SUMMARY = "Dasbus is a DBus library written in Python 3, based on
    GLib and inspired by pydbus."
    +HOMEPAGE = "https://dasbus.readthedocs.io
    <https://urldefense.com/v3/__https://dasbus.readthedocs.io__;!!AjveYdw8EvQ!Y5NUwukPKP_HnepOX_NV-Oa4tXfkyjxJPk4ygBglVwbOyv4Lc_RjWWNA1peUyA7SsJfU7GkiYG6VXIHkyZ--IS8$>"
    +SECTION = "devel"
    +LICENSE = "LGPL-2.1-only"
    +LIC_FILES_CHKSUM =
    "file://LICENSE;md5=1803fa9c2c3ce8cb06b4861d75310742"
    +
    +SRC_URI =
    "git://github.com/dasbus-project/dasbus.git;protocol=https;branch=master <https://urldefense.com/v3/__http://github.com/dasbus-project/dasbus.git;protocol=https;branch=master__;!!AjveYdw8EvQ!Y5NUwukPKP_HnepOX_NV-Oa4tXfkyjxJPk4ygBglVwbOyv4Lc_RjWWNA1peUyA7SsJfU7GkiYG6VXIHkMNwIRNw$> \
    +"
    +SRCREV = "413cf9a0b7c231468f1d28d9a29dd8dd8bda15c5"
    +
    +S = "${WORKDIR}/git"
    +
    +inherit setuptools3
Quoted 2 lines

This should inherit python_hatchling since a proper pyproject.toml is provided
https://github.com/dasbus-project/dasbus/blob/be51b94b083bad6fa0716ad6dc97d12f4462f8d4/pyproject.toml#L7 <https://urldefense.com/v3/__https://github.com/dasbus-project/dasbus/blob/be51b94b083bad6fa0716ad6dc97d12f4462f8d4/pyproject.toml*L7__;Iw!!AjveYdw8EvQ!Y5NUwukPKP_HnepOX_NV-Oa4tXfkyjxJPk4ygBglVwbOyv4Lc_RjWWNA1peUyA7SsJfU7GkiYG6VXIHktJoxsjs$>

Thanks! I will take a look.

Thanks,

Quoted 22 lines

    +
    +RDEPENDS:${PN} = "python3-pygobject"
    -- 
    2.25.1


    -=-=-=-=-=-=-=-=-=-=-=-
    Links: You receive all messages sent to this group.
    View/Reply Online (#110580):
    https://lists.openembedded.org/g/openembedded-devel/message/110580
    <https://urldefense.com/v3/__https://lists.openembedded.org/g/openembedded-devel/message/110580__;!!AjveYdw8EvQ!Y5NUwukPKP_HnepOX_NV-Oa4tXfkyjxJPk4ygBglVwbOyv4Lc_RjWWNA1peUyA7SsJfU7GkiYG6VXIHkek3yezo$>
    Mute This Topic: https://lists.openembedded.org/mt/106345708/924729
    <https://urldefense.com/v3/__https://lists.openembedded.org/mt/106345708/924729__;!!AjveYdw8EvQ!Y5NUwukPKP_HnepOX_NV-Oa4tXfkyjxJPk4ygBglVwbOyv4Lc_RjWWNA1peUyA7SsJfU7GkiYG6VXIHkLETnVCU$>
    Group Owner: [email protected]
    <mailto:openembedded-devel%[email protected]>
    Unsubscribe:
    https://lists.openembedded.org/g/openembedded-devel/unsub
    <https://urldefense.com/v3/__https://lists.openembedded.org/g/openembedded-devel/unsub__;!!AjveYdw8EvQ!Y5NUwukPKP_HnepOX_NV-Oa4tXfkyjxJPk4ygBglVwbOyv4Lc_RjWWNA1peUyA7SsJfU7GkiYG6VXIHk83Y-ScQ$> [[email protected] <mailto:[email protected]>]
    -=-=-=-=-=-=-=-=-=-=-=-
author
#3 lore raw
In reply to Tim Orling
Quoted 51 lines · Tim Orling

**
*CAUTION: This email comes from a non Wind River email account!*
Do not click links or open attachments unless you recognize the sender and know the content is safe.

On Tue, May 28, 2024 at 2:57 AM Yu, Mingli via lists.openembedded.org <https://urldefense.com/v3/__http://lists.openembedded.org__;!!AjveYdw8EvQ!Y5NUwukPKP_HnepOX_NV-Oa4tXfkyjxJPk4ygBglVwbOyv4Lc_RjWWNA1peUyA7SsJfU7GkiYG6VXIHkUo__zHc$> <[email protected] <mailto:[email protected]>> wrote:

    From: Mingli Yu <[email protected]
    <mailto:[email protected]>>

    Dasbus is a DBus library written in Python 3, based on GLib
    and inspired by pydbus.

    Signed-off-by: Mingli Yu <[email protected]
    <mailto:[email protected]>>
    ---
      .../recipes-devtools/python/python3-dasbus_1.7.bb
    <https://urldefense.com/v3/__http://python3-dasbus_1.7.bb__;!!AjveYdw8EvQ!Y5NUwukPKP_HnepOX_NV-Oa4tXfkyjxJPk4ygBglVwbOyv4Lc_RjWWNA1peUyA7SsJfU7GkiYG6VXIHk4El2d1U$> | 15 +++++++++++++++
      1 file changed, 15 insertions(+)
      create mode 100644
    meta-python/recipes-devtools/python/python3-dasbus_1.7.bb
    <https://urldefense.com/v3/__http://python3-dasbus_1.7.bb__;!!AjveYdw8EvQ!Y5NUwukPKP_HnepOX_NV-Oa4tXfkyjxJPk4ygBglVwbOyv4Lc_RjWWNA1peUyA7SsJfU7GkiYG6VXIHk4El2d1U$>

    diff --git
    a/meta-python/recipes-devtools/python/python3-dasbus_1.7.bb
    <https://urldefense.com/v3/__http://python3-dasbus_1.7.bb__;!!AjveYdw8EvQ!Y5NUwukPKP_HnepOX_NV-Oa4tXfkyjxJPk4ygBglVwbOyv4Lc_RjWWNA1peUyA7SsJfU7GkiYG6VXIHk4El2d1U$> b/meta-python/recipes-devtools/python/python3-dasbus_1.7.bb <https://urldefense.com/v3/__http://python3-dasbus_1.7.bb__;!!AjveYdw8EvQ!Y5NUwukPKP_HnepOX_NV-Oa4tXfkyjxJPk4ygBglVwbOyv4Lc_RjWWNA1peUyA7SsJfU7GkiYG6VXIHk4El2d1U$>
    new file mode 100644
    index 000000000..c07464210
    --- /dev/null
    +++ b/meta-python/recipes-devtools/python/python3-dasbus_1.7.bb
    <https://urldefense.com/v3/__http://python3-dasbus_1.7.bb__;!!AjveYdw8EvQ!Y5NUwukPKP_HnepOX_NV-Oa4tXfkyjxJPk4ygBglVwbOyv4Lc_RjWWNA1peUyA7SsJfU7GkiYG6VXIHk4El2d1U$>
    @@ -0,0 +1,15 @@
    +SUMMARY = "Dasbus is a DBus library written in Python 3, based on
    GLib and inspired by pydbus."
    +HOMEPAGE = "https://dasbus.readthedocs.io
    <https://urldefense.com/v3/__https://dasbus.readthedocs.io__;!!AjveYdw8EvQ!Y5NUwukPKP_HnepOX_NV-Oa4tXfkyjxJPk4ygBglVwbOyv4Lc_RjWWNA1peUyA7SsJfU7GkiYG6VXIHkyZ--IS8$>"
    +SECTION = "devel"
    +LICENSE = "LGPL-2.1-only"
    +LIC_FILES_CHKSUM =
    "file://LICENSE;md5=1803fa9c2c3ce8cb06b4861d75310742"
    +
    +SRC_URI =
    "git://github.com/dasbus-project/dasbus.git;protocol=https;branch=master <https://urldefense.com/v3/__http://github.com/dasbus-project/dasbus.git;protocol=https;branch=master__;!!AjveYdw8EvQ!Y5NUwukPKP_HnepOX_NV-Oa4tXfkyjxJPk4ygBglVwbOyv4Lc_RjWWNA1peUyA7SsJfU7GkiYG6VXIHkMNwIRNw$> \
    +"
    +SRCREV = "413cf9a0b7c231468f1d28d9a29dd8dd8bda15c5"
    +
    +S = "${WORKDIR}/git"
    +
    +inherit setuptools3
Quoted 2 lines

This should inherit python_hatchling since a proper pyproject.toml is provided
https://github.com/dasbus-project/dasbus/blob/be51b94b083bad6fa0716ad6dc97d12f4462f8d4/pyproject.toml#L7 <https://urldefense.com/v3/__https://github.com/dasbus-project/dasbus/blob/be51b94b083bad6fa0716ad6dc97d12f4462f8d4/pyproject.toml*L7__;Iw!!AjveYdw8EvQ!Y5NUwukPKP_HnepOX_NV-Oa4tXfkyjxJPk4ygBglVwbOyv4Lc_RjWWNA1peUyA7SsJfU7GkiYG6VXIHktJoxsjs$>

Seems the above commit which provides pyproject.toml is not included in the latest verson dasbus 1.7.

Thanks,

Quoted 22 lines

    +
    +RDEPENDS:${PN} = "python3-pygobject"
    -- 
    2.25.1


    -=-=-=-=-=-=-=-=-=-=-=-
    Links: You receive all messages sent to this group.
    View/Reply Online (#110580):
    https://lists.openembedded.org/g/openembedded-devel/message/110580
    <https://urldefense.com/v3/__https://lists.openembedded.org/g/openembedded-devel/message/110580__;!!AjveYdw8EvQ!Y5NUwukPKP_HnepOX_NV-Oa4tXfkyjxJPk4ygBglVwbOyv4Lc_RjWWNA1peUyA7SsJfU7GkiYG6VXIHkek3yezo$>
    Mute This Topic: https://lists.openembedded.org/mt/106345708/924729
    <https://urldefense.com/v3/__https://lists.openembedded.org/mt/106345708/924729__;!!AjveYdw8EvQ!Y5NUwukPKP_HnepOX_NV-Oa4tXfkyjxJPk4ygBglVwbOyv4Lc_RjWWNA1peUyA7SsJfU7GkiYG6VXIHkLETnVCU$>
    Group Owner: [email protected]
    <mailto:openembedded-devel%[email protected]>
    Unsubscribe:
    https://lists.openembedded.org/g/openembedded-devel/unsub
    <https://urldefense.com/v3/__https://lists.openembedded.org/g/openembedded-devel/unsub__;!!AjveYdw8EvQ!Y5NUwukPKP_HnepOX_NV-Oa4tXfkyjxJPk4ygBglVwbOyv4Lc_RjWWNA1peUyA7SsJfU7GkiYG6VXIHk83Y-ScQ$> [[email protected] <mailto:[email protected]>]
    -=-=-=-=-=-=-=-=-=-=-=-
#4 lore raw
Quoted 57 lines · Mingli via lists.openembedded.org
Quoted 53 lines · Tim Orling

**
*CAUTION: This email comes from a non Wind River email account!* Do not click links or open attachments unless you recognize the sender and know the content is safe.

On Tue, May 28, 2024 at 2:57 AM Yu, Mingli via lists.openembedded.org
<https://urldefense.com/v3/__http://lists.openembedded.org__;!!AjveYdw8EvQ!Y5NUwukPKP_HnepOX_NV-Oa4tXfkyjxJPk4ygBglVwbOyv4Lc_RjWWNA1peUyA7SsJfU7GkiYG6VXIHkUo__zHc$> <[email protected] <mailto:[email protected]>> wrote:

    From: Mingli Yu <[email protected]
    <mailto:[email protected]>>

    Dasbus is a DBus library written in Python 3, based on GLib
    and inspired by pydbus.

    Signed-off-by: Mingli Yu <[email protected]
    <mailto:[email protected]>>
    ---
      .../recipes-devtools/python/python3-dasbus_1.7.bb
    <https://urldefense.com/v3/__http://python3-dasbus_1.7.bb__;!!AjveYdw8EvQ!Y5NUwukPKP_HnepOX_NV-Oa4tXfkyjxJPk4ygBglVwbOyv4Lc_RjWWNA1peUyA7SsJfU7GkiYG6VXIHk4El2d1U$> | 15 +++++++++++++++
      1 file changed, 15 insertions(+)
      create mode 100644
    meta-python/recipes-devtools/python/python3-dasbus_1.7.bb
    <https://urldefense.com/v3/__http://python3-dasbus_1.7.bb__;!!AjveYdw8EvQ!Y5NUwukPKP_HnepOX_NV-Oa4tXfkyjxJPk4ygBglVwbOyv4Lc_RjWWNA1peUyA7SsJfU7GkiYG6VXIHk4El2d1U$>

    diff --git
    a/meta-python/recipes-devtools/python/python3-dasbus_1.7.bb
    <https://urldefense.com/v3/__http://python3-dasbus_1.7.bb__;!!AjveYdw8EvQ!Y5NUwukPKP_HnepOX_NV-Oa4tXfkyjxJPk4ygBglVwbOyv4Lc_RjWWNA1peUyA7SsJfU7GkiYG6VXIHk4El2d1U$> b/meta-python/recipes-devtools/python/python3-dasbus_1.7.bb <https://urldefense.com/v3/__http://python3-dasbus_1.7.bb__;!!AjveYdw8EvQ!Y5NUwukPKP_HnepOX_NV-Oa4tXfkyjxJPk4ygBglVwbOyv4Lc_RjWWNA1peUyA7SsJfU7GkiYG6VXIHk4El2d1U$>
    new file mode 100644
    index 000000000..c07464210
    --- /dev/null
    +++ b/meta-python/recipes-devtools/python/python3-dasbus_1.7.bb
    <https://urldefense.com/v3/__http://python3-dasbus_1.7.bb__;!!AjveYdw8EvQ!Y5NUwukPKP_HnepOX_NV-Oa4tXfkyjxJPk4ygBglVwbOyv4Lc_RjWWNA1peUyA7SsJfU7GkiYG6VXIHk4El2d1U$>
    @@ -0,0 +1,15 @@
    +SUMMARY = "Dasbus is a DBus library written in Python 3, based on
    GLib and inspired by pydbus."
    +HOMEPAGE = "https://dasbus.readthedocs.io
    <https://urldefense.com/v3/__https://dasbus.readthedocs.io__;!!AjveYdw8EvQ!Y5NUwukPKP_HnepOX_NV-Oa4tXfkyjxJPk4ygBglVwbOyv4Lc_RjWWNA1peUyA7SsJfU7GkiYG6VXIHkyZ--IS8$>"
    +SECTION = "devel"
    +LICENSE = "LGPL-2.1-only"
    +LIC_FILES_CHKSUM =
    "file://LICENSE;md5=1803fa9c2c3ce8cb06b4861d75310742"
    +
    +SRC_URI =
    "git://github.com/dasbus-project/dasbus.git;protocol=https;branch=master <https://urldefense.com/v3/__http://github.com/dasbus-project/dasbus.git;protocol=https;branch=master__;!!AjveYdw8EvQ!Y5NUwukPKP_HnepOX_NV-Oa4tXfkyjxJPk4ygBglVwbOyv4Lc_RjWWNA1peUyA7SsJfU7GkiYG6VXIHkMNwIRNw$> \
    +"
    +SRCREV = "413cf9a0b7c231468f1d28d9a29dd8dd8bda15c5"
    +
    +S = "${WORKDIR}/git"
    +
    +inherit setuptools3
Quoted 7 lines
Quoted 3 lines

This should inherit python_hatchling since a proper pyproject.toml is
provided
https://github.com/dasbus-project/dasbus/blob/be51b94b083bad6fa0716ad6dc97d12f4462f8d4/pyproject.toml#L7 <https://urldefense.com/v3/__https://github.com/dasbus-project/dasbus/blob/be51b94b083bad6fa0716ad6dc97d12f4462f8d4/pyproject.toml*L7__;Iw!!AjveYdw8EvQ!Y5NUwukPKP_HnepOX_NV-Oa4tXfkyjxJPk4ygBglVwbOyv4Lc_RjWWNA1peUyA7SsJfU7GkiYG6VXIHktJoxsjs$>

Seems the above commit which provides pyproject.toml is not included in the latest verson dasbus 1.7.

can you send incremental fix.

Quoted 22 lines

Thanks,

Quoted 10 lines

    +
    +RDEPENDS:${PN} = "python3-pygobject"
    --
    2.25.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#110667): https://lists.openembedded.org/g/openembedded-devel/message/110667
Mute This Topic: https://lists.openembedded.org/mt/106345708/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-