diff mbox series

[v2] bmaptool: upgrade 3.8.0 -> 3.9.0

Message ID 20250415175130.887427-1-festevam@gmail.com
State New
Headers show
Series [v2] bmaptool: upgrade 3.8.0 -> 3.9.0 | expand

Commit Message

Fabio Estevam April 15, 2025, 5:51 p.m. UTC
From: Fabio Estevam <festevam@denx.de>

Update to the 3.9.0 version.

This version has switched to use hatch as the build backend, so adjust it
accordingly.

The INSANE_SKIP can now be safely removed as explained by
commit 824009560776 ("bmaptool: temporarily silence the pep517-backend warning).

python3-six is no longer a runtime dependency since bmap 
commit a67976e80daf (""Remove six from production code), so remove its
RDEPENDS entry.

Signed-off-by: Fabio Estevam <festevam@denx.de>
---
Changes since v1:
- Remove python3-six from RDEPENDS.

 meta/recipes-support/bmaptool/bmaptool_git.bb | 11 ++++-------
 1 file changed, 4 insertions(+), 7 deletions(-)

Comments

Marcel Ziswiler April 15, 2025, 6:19 p.m. UTC | #1
Hi Fabio

Long time no see (;-p).

On Tue, 2025-04-15 at 14:51 -0300, Fabio Estevam via lists.openembedded.org wrote:
> From: Fabio Estevam <festevam@gmail.com>
> 
> Update to the 3.9.0 version.
> 
> This version has switched to use hatch as the build backend, so adjust it
> accordingly.
> 
> The INSANE_SKIP can now be safely removed as explained by
> commit 824009560776 ("bmaptool: temporarily silence the pep517-backend warning).
> 
> python3-six is no longer a runtime dependency since bmap 
> commit a67976e80daf (""Remove six from production code), so remove its

I guess you wanted them quotation marks be around the commit subject : )

> RDEPENDS entry.
> 
> Signed-off-by: Fabio Estevam <festevam-ynQEQJNshbs@public.gmane.org>

Reviewed-by: Marcel Ziswiler <marcel@ziswiler.com>

> ---
> Changes since v1:
> - Remove python3-six from RDEPENDS.
> 
>  meta/recipes-support/bmaptool/bmaptool_git.bb | 11 ++++-------
>  1 file changed, 4 insertions(+), 7 deletions(-)
> 
> diff --git a/meta/recipes-support/bmaptool/bmaptool_git.bb b/meta/recipes-support/bmaptool/bmaptool_git.bb
> index c38f05e1a1..155dd0ac80 100644
> --- a/meta/recipes-support/bmaptool/bmaptool_git.bb
> +++ b/meta/recipes-support/bmaptool/bmaptool_git.bb
> @@ -10,23 +10,20 @@ LICENSE = "GPL-2.0-only"
>  LIC_FILES_CHKSUM = "file://LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263"
>  
>  SRC_URI = "git://github.com/yoctoproject/${BPN};branch=main;protocol=https"
> -SRCREV = "2ff5750b8a3e0b36a9993c20e2ea10a07bc62085"
> +SRCREV = "618a7316102f6f81faa60537503012a419eafa06"
>  S = "${WORKDIR}/git"
> -BASEVER = "3.8.0"
> +BASEVER = "3.9.0"
>  PV = "${BASEVER}+git"
>  
>  UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\.\d+)+)"
>  
>  # Need df from coreutils
> -RDEPENDS:${PN} = "python3-core python3-compression python3-misc python3-mmap python3-setuptools python3-
> fcntl python3-six coreutils"
> +RDEPENDS:${PN} = "python3-core python3-compression python3-misc python3-mmap python3-setuptools python3-
> fcntl coreutils"
>  
> -inherit setuptools3
> +inherit python_hatchling
>  
>  # For compatibility with layers before scarthgap
>  RREPLACES:${PN} = "bmap-tools"
>  RCONFLICTS:${PN} = "bmap-tools"
>  
> -# Poetry backend appears incomplete, upstream has moved to hatch
> -INSANE_SKIP = "pep517-backend"
> -
>  BBCLASSEXTEND = "native nativesdk"
> 
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#214959): https://lists.openembedded.org/g/openembedded-core/message/214959
> Mute This Topic: https://lists.openembedded.org/mt/112281471/4454657
> Group Owner: openembedded-core+owner-ZwoEplunGu3dfDuKDZ/zN51Ccm5ICvs9@public.gmane.org
> Unsubscribe:
> https://lists.openembedded.org/g/openembedded-core/unsub [gchoc-openembedded-core@m.gmane-mx.org]
> -=-=-=-=-=-=-=-=-=-=-=-
diff mbox series

Patch

diff --git a/meta/recipes-support/bmaptool/bmaptool_git.bb b/meta/recipes-support/bmaptool/bmaptool_git.bb
index c38f05e1a1..155dd0ac80 100644
--- a/meta/recipes-support/bmaptool/bmaptool_git.bb
+++ b/meta/recipes-support/bmaptool/bmaptool_git.bb
@@ -10,23 +10,20 @@  LICENSE = "GPL-2.0-only"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263"
 
 SRC_URI = "git://github.com/yoctoproject/${BPN};branch=main;protocol=https"
-SRCREV = "2ff5750b8a3e0b36a9993c20e2ea10a07bc62085"
+SRCREV = "618a7316102f6f81faa60537503012a419eafa06"
 S = "${WORKDIR}/git"
-BASEVER = "3.8.0"
+BASEVER = "3.9.0"
 PV = "${BASEVER}+git"
 
 UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\.\d+)+)"
 
 # Need df from coreutils
-RDEPENDS:${PN} = "python3-core python3-compression python3-misc python3-mmap python3-setuptools python3-fcntl python3-six coreutils"
+RDEPENDS:${PN} = "python3-core python3-compression python3-misc python3-mmap python3-setuptools python3-fcntl coreutils"
 
-inherit setuptools3
+inherit python_hatchling
 
 # For compatibility with layers before scarthgap
 RREPLACES:${PN} = "bmap-tools"
 RCONFLICTS:${PN} = "bmap-tools"
 
-# Poetry backend appears incomplete, upstream has moved to hatch
-INSANE_SKIP = "pep517-backend"
-
 BBCLASSEXTEND = "native nativesdk"