diff mbox series

[meta-oe] thingsboard-gateway: upgrade 3.7.4 -> 3.8.0

Message ID 20251217093235.3469955-1-m.schwan@phytec.de
State New
Headers show
Series [meta-oe] thingsboard-gateway: upgrade 3.7.4 -> 3.8.0 | expand

Commit Message

Martin Schwan Dec. 17, 2025, 9:32 a.m. UTC
With thingsboard-gateway 3.8.0, the source URI must be set to the
project Git repository, as source releases are no longer provided via
PyPi for this project.

Signed-off-by: Martin Schwan <m.schwan@phytec.de>
---
 ...sboard-gateway_3.7.4.bb => thingsboard-gateway_3.8.0.bb} | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
 rename meta-oe/dynamic-layers/meta-python/recipes-connectivity/thingsboard-gateway/{thingsboard-gateway_3.7.4.bb => thingsboard-gateway_3.8.0.bb} (95%)

Comments

Ankur Tyagi Dec. 17, 2025, 6:54 p.m. UTC | #1
On Wed, Dec 17, 2025 at 3:02 PM Martin Schwan via
lists.openembedded.org <m.schwan=phytec.de@lists.openembedded.org>
wrote:
>
> With thingsboard-gateway 3.8.0, the source URI must be set to the
> project Git repository, as source releases are no longer provided via
> PyPi for this project.
>
> Signed-off-by: Martin Schwan <m.schwan@phytec.de>
> ---
>  ...sboard-gateway_3.7.4.bb => thingsboard-gateway_3.8.0.bb} | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
>  rename meta-oe/dynamic-layers/meta-python/recipes-connectivity/thingsboard-gateway/{thingsboard-gateway_3.7.4.bb => thingsboard-gateway_3.8.0.bb} (95%)
>
> diff --git a/meta-oe/dynamic-layers/meta-python/recipes-connectivity/thingsboard-gateway/thingsboard-gateway_3.7.4.bb b/meta-oe/dynamic-layers/meta-python/recipes-connectivity/thingsboard-gateway/thingsboard-gateway_3.8.0.bb
> similarity index 95%
> rename from meta-oe/dynamic-layers/meta-python/recipes-connectivity/thingsboard-gateway/thingsboard-gateway_3.7.4.bb
> rename to meta-oe/dynamic-layers/meta-python/recipes-connectivity/thingsboard-gateway/thingsboard-gateway_3.8.0.bb
> index 7a82414937..5ca57aba44 100644
> --- a/meta-oe/dynamic-layers/meta-python/recipes-connectivity/thingsboard-gateway/thingsboard-gateway_3.7.4.bb
> +++ b/meta-oe/dynamic-layers/meta-python/recipes-connectivity/thingsboard-gateway/thingsboard-gateway_3.8.0.bb
> @@ -7,12 +7,12 @@ HOMEPAGE = "https://thingsboard.io/"
>  LICENSE = "Apache-2.0"
>  LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10"
>
> -SRC_URI[sha256sum] = "5811a3c5a2334e41776f249df20c1d6a0def62a6e11e77bf2abeaa02f2725260"
> +SRCREV = "4215a302c649f8fe3739814e365b0d6af722b66b"
> +PYPI_SRC_URI = "git://github.com/thingsboard/${BPN};protocol=https;branch=master"

will be good to include ";tag=${PV}" in the PYPI_SRC_URI

> +PYPI_PACKAGE = "thingsboard-gateway"
>
>  inherit pypi setuptools3
>
> -PYPI_PACKAGE = "thingsboard-gateway"
> -
>  RDEPENDS:${PN} += " python3-jsonpath-rw \
>                      python3-regex \
>                      python3-paho-mqtt \
> --
> 2.43.0
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#122723): https://lists.openembedded.org/g/openembedded-devel/message/122723
> Mute This Topic: https://lists.openembedded.org/mt/116824086/3619737
> Group Owner: openembedded-devel+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [ankur.tyagi85@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
Martin Schwan Dec. 18, 2025, 8:24 a.m. UTC | #2
On Thu, 2025-12-18 at 00:24 +0530, Ankur Tyagi via
lists.openembedded.org wrote:
> On Wed, Dec 17, 2025 at 3:02 PM Martin Schwan via
> lists.openembedded.org <m.schwan=phytec.de@lists.openembedded.org>
> wrote:
> > 
> > With thingsboard-gateway 3.8.0, the source URI must be set to the
> > project Git repository, as source releases are no longer provided
> > via
> > PyPi for this project.
> > 
> > Signed-off-by: Martin Schwan <m.schwan@phytec.de>
> > ---
> >  ...sboard-gateway_3.7.4.bb => thingsboard-gateway_3.8.0.bb} | 6
> > +++---
> >  1 file changed, 3 insertions(+), 3 deletions(-)
> >  rename meta-oe/dynamic-layers/meta-python/recipes-
> > connectivity/thingsboard-gateway/{thingsboard-gateway_3.7.4.bb =>
> > thingsboard-gateway_3.8.0.bb} (95%)
> > 
> > diff --git a/meta-oe/dynamic-layers/meta-python/recipes-
> > connectivity/thingsboard-gateway/thingsboard-gateway_3.7.4.bb
> > b/meta-oe/dynamic-layers/meta-python/recipes-
> > connectivity/thingsboard-gateway/thingsboard-gateway_3.8.0.bb
> > similarity index 95%
> > rename from meta-oe/dynamic-layers/meta-python/recipes-
> > connectivity/thingsboard-gateway/thingsboard-gateway_3.7.4.bb
> > rename to meta-oe/dynamic-layers/meta-python/recipes-
> > connectivity/thingsboard-gateway/thingsboard-gateway_3.8.0.bb
> > index 7a82414937..5ca57aba44 100644
> > --- a/meta-oe/dynamic-layers/meta-python/recipes-
> > connectivity/thingsboard-gateway/thingsboard-gateway_3.7.4.bb
> > +++ b/meta-oe/dynamic-layers/meta-python/recipes-
> > connectivity/thingsboard-gateway/thingsboard-gateway_3.8.0.bb
> > @@ -7,12 +7,12 @@ HOMEPAGE = "https://thingsboard.io/"
> >  LICENSE = "Apache-2.0"
> >  LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Apache-
> > 2.0;md5=89aea4e17d99a7cacdbeed46a0096b10"
> > 
> > -SRC_URI[sha256sum] =
> > "5811a3c5a2334e41776f249df20c1d6a0def62a6e11e77bf2abeaa02f2725260"
> > +SRCREV = "4215a302c649f8fe3739814e365b0d6af722b66b"
> > +PYPI_SRC_URI =
> > "git://github.com/thingsboard/${BPN};protocol=https;branch=master"
> 
> will be good to include ";tag=${PV}" in the PYPI_SRC_URI

Thanks for the hint. I will send a v2.

Regards,
Martin

> 
> > +PYPI_PACKAGE = "thingsboard-gateway"
> > 
> >  inherit pypi setuptools3
> > 
> > -PYPI_PACKAGE = "thingsboard-gateway"
> > -
> >  RDEPENDS:${PN} += " python3-jsonpath-rw \
> >                      python3-regex \
> >                      python3-paho-mqtt \
> > --
> > 2.43.0
> > 
> > 
> > 
> > 
> 
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#122731):
> https://lists.openembedded.org/g/openembedded-devel/message/122731
> Mute This Topic: https://lists.openembedded.org/mt/116824086/9947111
> Group Owner: openembedded-devel+owner@lists.openembedded.org
> Unsubscribe:
> https://lists.openembedded.org/g/openembedded-devel/unsub [
> m.schwan@phytec.de]
> -=-=-=-=-=-=-=-=-=-=-=-
diff mbox series

Patch

diff --git a/meta-oe/dynamic-layers/meta-python/recipes-connectivity/thingsboard-gateway/thingsboard-gateway_3.7.4.bb b/meta-oe/dynamic-layers/meta-python/recipes-connectivity/thingsboard-gateway/thingsboard-gateway_3.8.0.bb
similarity index 95%
rename from meta-oe/dynamic-layers/meta-python/recipes-connectivity/thingsboard-gateway/thingsboard-gateway_3.7.4.bb
rename to meta-oe/dynamic-layers/meta-python/recipes-connectivity/thingsboard-gateway/thingsboard-gateway_3.8.0.bb
index 7a82414937..5ca57aba44 100644
--- a/meta-oe/dynamic-layers/meta-python/recipes-connectivity/thingsboard-gateway/thingsboard-gateway_3.7.4.bb
+++ b/meta-oe/dynamic-layers/meta-python/recipes-connectivity/thingsboard-gateway/thingsboard-gateway_3.8.0.bb
@@ -7,12 +7,12 @@  HOMEPAGE = "https://thingsboard.io/"
 LICENSE = "Apache-2.0"
 LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10"
 
-SRC_URI[sha256sum] = "5811a3c5a2334e41776f249df20c1d6a0def62a6e11e77bf2abeaa02f2725260"
+SRCREV = "4215a302c649f8fe3739814e365b0d6af722b66b"
+PYPI_SRC_URI = "git://github.com/thingsboard/${BPN};protocol=https;branch=master"
+PYPI_PACKAGE = "thingsboard-gateway"
 
 inherit pypi setuptools3
 
-PYPI_PACKAGE = "thingsboard-gateway"
-
 RDEPENDS:${PN} += " python3-jsonpath-rw \
                     python3-regex \
                     python3-paho-mqtt \