bluepy: Set PV and correct syntax for RDEPENDS
PATCH 1/2 bluepy: Set PV and correct syntax for RDEPENDS
Also organize the recipe to to match OE style Remove PYTHON_PN from DEPENDS, setuptools should be enough Correct setting LIC_FILES_CHKSUM
Move setting git SHA to SRCREV
--- .../recipes-connectivity/bluepy/bluepy_git.bb | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-)
meta-networking/recipes-connectivity/bluepy/bluepy_git.bb +9 -7
@@ -1,17 +1,19 @@ DESCRIPTION = "Python interface to Bluetooth LE on Linux" HOMEPAGE = "https://github.com/IanHarvey/bluepy" SECTION = "devel/python" +LICENSE = "GPLv2 & PD" +LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6 \ + file://${COREBASE}/meta/files/common-licenses/PD;md5=b3597d12946881e13cb3b548d1173851" +DEPENDS = "glib-2.0" +SRCREV = "7ad565231a97c304c0eff45f2649cd005e69db09" +PV = "1.3.0+git${SRCPV}" -DEPENDS = "${PYTHON_PN} glib-2.0" -RDEPENDS_${PN} = "bluez5" +SRC_URI = "git://github.com/IanHarvey/bluepy.git;protocol=https" -LICENSE = "GPLv2 & PD" -LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" -LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/PD;md5=b3597d12946881e13cb3b548d1173851" +S = "${WORKDIR}/git" inherit setuptools3 pkgconfig -SRC_URI = "git://github.com/IanHarvey/bluepy.git;protocol=https;rev=7ad565231a97c304c0eff45f2649cd005e69db09" -S = "${WORKDIR}/git" +RDEPENDS:${PN} = "bluez5" TARGET_CC_ARCH += "${LDFLAGS}"
Signature · 1 line
2.33.1
PATCH 2/2 python3-kivy: Use new override syntax in RDEPENDS
--- meta-python/recipes-devtools/python/python3-kivy_2.0.0.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-python/recipes-devtools/python/python3-kivy_2.0.0.bb +1 -1
@@ -56,7 +56,7 @@ DEPENDS += " \ python3-cython-native \ " -RDEPENDS_${PN} = " \ +RDEPENDS:${PN} = " \ gstreamer1.0 \ gstreamer1.0-python \ libsdl2 \
Signature · 1 line
2.33.1
Re: [meta-python][PATCH 2/2] python3-kivy: Use new override syntax in RDEPENDS
Thanks! <3
Quoted 25 lines · Khem Raj
Signed-off-by Khem Raj <[email protected]>Cc Martin Jansa <[email protected]>Cc William Huang <[email protected]>--- meta-python/recipes-devtools/python/python3-kivy_2.0.0.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)meta-python/recipes-devtools/python/python3-kivy_2.0.0.bb +1
-2@@ -56,7 +56,7 @@ DEPENDS += " \ python3-cython-native \ " -RDEPENDS_${PN} = " \ +RDEPENDS:${PN} = " \ gstreamer1.0 \ gstreamer1.0-python \ libsdl2 \ --2.33.1
Thanks! <3
Quoted 55 lines · Khem Raj
Also organize the recipe to to match OE style Remove
PYTHON_PNfrom DEPENDS, setuptools should be enough Correct settingLIC_FILES_CHKSUM
Move setting git SHA to SRCREVSigned-off-by Khem Raj <[email protected]>Cc Marco Cavallini <[email protected]>Cc Martin Jansa <[email protected]>--- .../recipes-connectivity/bluepy/bluepy_git.bb | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-)meta-networking/recipes-connectivity/bluepy/bluepy_git.bb +2
-0@@ -1,17 +1,19 @@ DESCRIPTION = "Python interface to Bluetooth LE on Linux" HOMEPAGE = "https://github.com/IanHarvey/bluepy" SECTION = "devel/python" +LICENSE = "GPLv2 & PD" +LIC_FILES_CHKSUM ="file://${COREBASE}/meta/files/common-licenses/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6 \
+ file://${COREBASE}/meta/files/common-licenses/PD;md5=b3597d12946881e13cb3b548d1173851"meta-networking/recipes-connectivity/bluepy/bluepy_git.bb +4
-4+DEPENDS = "glib-2.0" +SRCREV = "7ad565231a97c304c0eff45f2649cd005e69db09" +PV = "1.3.0+git${SRCPV}" -DEPENDS = "${PYTHON_PN} glib-2.0" -RDEPENDS_${PN} = "bluez5" +SRC_URI = "git://github.com/IanHarvey/bluepy.git;protocol=https" -LICENSE = "GPLv2 & PD" -LIC_FILES_CHKSUM ="file://${COREBASE}/meta/files/common-licenses/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" -LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/PD;md5=b3597d12946881e13cb3b548d1173851"
meta-networking/recipes-connectivity/bluepy/bluepy_git.bb +1
-1+S = "${WORKDIR}/git" inherit setuptools3 pkgconfig -SRC_URI = "git://github.com/IanHarvey/bluepy.git;protocol=https;rev=7ad565231a97c304c0eff45f2649cd005e69db09 "
meta-networking/recipes-connectivity/bluepy/bluepy_git.bb +1
-2-S = "${WORKDIR}/git" +RDEPENDS:${PN} = "bluez5" TARGET_CC_ARCH += "${LDFLAGS}" --2.33.1