Skip to contentSkip to conversation

bmaptool: upgrade 3.8.0 -> 3.9.0

PATCH Superseded Fabio Estevam 2 participants 2 messages Apr 15, 2025

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 bmaptool: upgrade 3.8.0 -> 3.9.0

From: Fabio Estevam <[email protected]>

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.

---
Changes since v1:
- Remove python3-six from RDEPENDS.

 meta/recipes-support/bmaptool/bmaptool_git.bb | 11 ++++-------
 1 file changed, 4 insertions(+), 7 deletions(-)
meta/recipes-support/bmaptool/bmaptool_git.bb +4 -7
index c38f05e1a1..155dd0ac80 100644
@@ -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"
Signature · 1 line
2.40.1
Reviewed-by on v2 1/1
#1 lore raw

Hi Fabio

Long time no see (;-p).

Quoted 4 lines · Fabio Estevam via lists.openembedded.org

From: Fabio Estevam <[email protected]>

Update to the 3.9.0 version.

Quoted 8 lines

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 : )

Quoted 3 lines

RDEPENDS entry.

Quoted 50 lines

---
Changes since v1:
- Remove python3-six from RDEPENDS.

 meta/recipes-support/bmaptool/bmaptool_git.bb | 11 ++++-------

 1 file changed, 4 insertions(+), 7 deletions(-)
meta/recipes-support/bmaptool/bmaptool_git.bb +0 -0
index c38f05e1a1..155dd0ac80 100644
@@ -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"

meta/recipes-support/bmaptool/bmaptool_git.bb +1 -1
-SRCREV = "2ff5750b8a3e0b36a9993c20e2ea10a07bc62085"
+SRCREV = "618a7316102f6f81faa60537503012a419eafa06"

 S = "${WORKDIR}/git"

meta/recipes-support/bmaptool/bmaptool_git.bb +1 -1
-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"

meta/recipes-support/bmaptool/bmaptool_git.bb +1 -1
-inherit setuptools3
+inherit python_hatchling


 # For compatibility with layers before scarthgap
 RREPLACES:${PN} = "bmap-tools"
 RCONFLICTS:${PN} = "bmap-tools"

meta/recipes-support/bmaptool/bmaptool_git.bb +0 -3
-# 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/[email protected] Unsubscribe:
https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-