Skip to contentSkip to conversation

python3-dtc: fix wheel build

PATCH In review Tim Orling 2 participants 3 messages Feb 27, 2022 – Mar 2, 2022

lore
Share & tools
lore

Tim Orling

author
#0 lore raw

PATCH 1/2 python3-dtc: fix wheel build

The wheel that is built is ${S}/dist/libfdt-1.6.2.dev39+g4048aed.d20220103-cp310-cp310-linux_x86_64.whl Set PYPA_WHEEL to match this.

---
 recipes-kernel/dtc/python3-dtc_1.6.1.bb | 2 ++
 1 file changed, 2 insertions(+)
recipes-kernel/dtc/python3-dtc_1.6.1.bb +2 -0
index 449d071..671d280 100644
@@ -19,6 +19,8 @@ SRCREV = "4048aed12b81c5a0154b9af438edc99ec7d2b6a1"
 PV = "1.6.1+git${SRCPV}"
 S = "${WORKDIR}/git"
 
+PYPA_WHEEL = "${S}/dist/libfdt-1.6.2*.whl"
+
 inherit setuptools3 pkgconfig
 
 BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
2.30.2
author
#1 lore raw

PATCH 2/2 lopper: fix wheel build

The wheel that is built is:
lopper-1.0-py3-none-any.whl

Set BASEVERSION to 1.0 and use this to set PV and the value for PYPA_WHEEL (the path to the wheel filename).

---
 recipes-kernel/lopper/lopper_git.bb | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
recipes-kernel/lopper/lopper_git.bb +4 -1
index 606dab6..e96bac7 100644
@@ -7,7 +7,10 @@ SRC_URI = "git://github.com/devicetree-org/lopper.git;branch=master;protocol=htt
 SRCREV = "3c81fcce08eeb64cbbde1535abd83572985a8689"
 S = "${WORKDIR}/git"
 
-PV="v1.0+git${SRCPV}"
+BASEVERSION = "1.0"
+PV="v${BASEVERSION}+git${SRCPV}"
+
+PYPA_WHEEL = "${PIP_INSTALL_DIST_PATH}/${BPN}-${BASEVERSION}-*.whl"
 
 LIC_FILES_CHKSUM = "file://LICENSE.md;md5=8e5f5f691f01c9fdfa7a7f2d535be619"
 
Signature · 1 line
2.30.2
#2 lore raw

queued to master-next. I'm still seeing some issues on a couple of builders, but will take are of sorting that out. I'll push the changes when I've figured it out.

Bruce

In message: [meta-virtualization] [PATCH 1/2] python3-dtc: fix wheel build

Quoted 34 lines · on 27/02/2022 Tim Orling wrote:

The wheel that is built is ${S}/dist/libfdt-1.6.2.dev39+g4048aed.d20220103-cp310-cp310-linux_x86_64.whl Set PYPA_WHEEL to match this.

---
 recipes-kernel/dtc/python3-dtc_1.6.1.bb | 2 ++
 1 file changed, 2 insertions(+)
recipes-kernel/dtc/python3-dtc_1.6.1.bb +2 -0
index 449d071..671d280 100644
@@ -19,6 +19,8 @@ SRCREV = "4048aed12b81c5a0154b9af438edc99ec7d2b6a1"
 PV = "1.6.1+git${SRCPV}"
 S = "${WORKDIR}/git"
 
+PYPA_WHEEL = "${S}/dist/libfdt-1.6.2*.whl"
+
 inherit setuptools3 pkgconfig
 
 BBCLASSEXTEND = "native nativesdk"
Signature · 11 lines
2.30.2



-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#7066): https://lists.yoctoproject.org/g/meta-virtualization/message/7066
Mute This Topic: https://lists.yoctoproject.org/mt/89439727/1050810
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

In message: [meta-virtualization] [PATCH 2/2] lopper: fix wheel build

Quoted 40 lines · on 27/02/2022 Tim Orling wrote:

The wheel that is built is:
lopper-1.0-py3-none-any.whl

Set BASEVERSION to 1.0 and use this to set PV and the value for PYPA_WHEEL (the path to the wheel filename).

---
 recipes-kernel/lopper/lopper_git.bb | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
recipes-kernel/lopper/lopper_git.bb +4 -1
index 606dab6..e96bac7 100644
@@ -7,7 +7,10 @@ SRC_URI = "git://github.com/devicetree-org/lopper.git;branch=master;protocol=htt
 SRCREV = "3c81fcce08eeb64cbbde1535abd83572985a8689"
 S = "${WORKDIR}/git"
 
-PV="v1.0+git${SRCPV}"
+BASEVERSION = "1.0"
+PV="v${BASEVERSION}+git${SRCPV}"
+
+PYPA_WHEEL = "${PIP_INSTALL_DIST_PATH}/${BPN}-${BASEVERSION}-*.whl"
 
 LIC_FILES_CHKSUM = "file://LICENSE.md;md5=8e5f5f691f01c9fdfa7a7f2d535be619"
 
Signature · 11 lines
2.30.2



-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#7067): https://lists.yoctoproject.org/g/meta-virtualization/message/7067
Mute This Topic: https://lists.yoctoproject.org/mt/89439729/1050810
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-