All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-networking][PATCH 1/2] bluepy: Set PV and correct syntax for RDEPENDS
@ 2021-10-20 17:22 Khem Raj
  2021-10-20 17:22 ` [meta-python][PATCH 2/2] python3-kivy: Use new override syntax in RDEPENDS Khem Raj
  2021-10-20 17:25 ` [meta-networking][PATCH 1/2] bluepy: Set PV and correct syntax for RDEPENDS Martin Jansa
  0 siblings, 2 replies; 4+ messages in thread
From: Khem Raj @ 2021-10-20 17:22 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Khem Raj, Marco Cavallini, Martin Jansa

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

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Marco Cavallini <m.cavallini@koansoftware.com>
Cc: Martin Jansa <martin.jansa@gmail.com>
---
 .../recipes-connectivity/bluepy/bluepy_git.bb    | 16 +++++++++-------
 1 file changed, 9 insertions(+), 7 deletions(-)

diff --git a/meta-networking/recipes-connectivity/bluepy/bluepy_git.bb b/meta-networking/recipes-connectivity/bluepy/bluepy_git.bb
index 03b1562b60..c1bcbc25b1 100644
--- a/meta-networking/recipes-connectivity/bluepy/bluepy_git.bb
+++ b/meta-networking/recipes-connectivity/bluepy/bluepy_git.bb
@@ -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}"
-- 
2.33.1



^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [meta-python][PATCH 2/2] python3-kivy: Use new override syntax in RDEPENDS
  2021-10-20 17:22 [meta-networking][PATCH 1/2] bluepy: Set PV and correct syntax for RDEPENDS Khem Raj
@ 2021-10-20 17:22 ` Khem Raj
  2021-10-20 17:25   ` Martin Jansa
  2021-10-20 17:25 ` [meta-networking][PATCH 1/2] bluepy: Set PV and correct syntax for RDEPENDS Martin Jansa
  1 sibling, 1 reply; 4+ messages in thread
From: Khem Raj @ 2021-10-20 17:22 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Khem Raj, Martin Jansa, William Huang

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Martin Jansa <martin.jansa@gmail.com>
Cc: William Huang <whuang8933@gmail.com>
---
 meta-python/recipes-devtools/python/python3-kivy_2.0.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-python/recipes-devtools/python/python3-kivy_2.0.0.bb b/meta-python/recipes-devtools/python/python3-kivy_2.0.0.bb
index d046489021..a4ec62626b 100644
--- a/meta-python/recipes-devtools/python/python3-kivy_2.0.0.bb
+++ b/meta-python/recipes-devtools/python/python3-kivy_2.0.0.bb
@@ -56,7 +56,7 @@ DEPENDS += " \
     python3-cython-native \
 "
 
-RDEPENDS_${PN} = " \
+RDEPENDS:${PN} = " \
     gstreamer1.0 \
     gstreamer1.0-python \
     libsdl2 \
-- 
2.33.1



^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [meta-python][PATCH 2/2] python3-kivy: Use new override syntax in RDEPENDS
  2021-10-20 17:22 ` [meta-python][PATCH 2/2] python3-kivy: Use new override syntax in RDEPENDS Khem Raj
@ 2021-10-20 17:25   ` Martin Jansa
  0 siblings, 0 replies; 4+ messages in thread
From: Martin Jansa @ 2021-10-20 17:25 UTC (permalink / raw)
  To: Khem Raj; +Cc: openembedded-devel, William Huang

[-- Attachment #1: Type: text/plain, Size: 853 bytes --]

Thanks! <3

On Wed, Oct 20, 2021 at 7:22 PM Khem Raj <raj.khem@gmail.com> wrote:

> Signed-off-by: Khem Raj <raj.khem@gmail.com>
> Cc: Martin Jansa <martin.jansa@gmail.com>
> Cc: William Huang <whuang8933@gmail.com>
> ---
>  meta-python/recipes-devtools/python/python3-kivy_2.0.0.bb | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta-python/recipes-devtools/python/python3-kivy_2.0.0.bb
> b/meta-python/recipes-devtools/python/python3-kivy_2.0.0.bb
> index d046489021..a4ec62626b 100644
> --- a/meta-python/recipes-devtools/python/python3-kivy_2.0.0.bb
> +++ b/meta-python/recipes-devtools/python/python3-kivy_2.0.0.bb
> @@ -56,7 +56,7 @@ DEPENDS += " \
>      python3-cython-native \
>  "
>
> -RDEPENDS_${PN} = " \
> +RDEPENDS:${PN} = " \
>      gstreamer1.0 \
>      gstreamer1.0-python \
>      libsdl2 \
> --
> 2.33.1
>
>

[-- Attachment #2: Type: text/html, Size: 1810 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [meta-networking][PATCH 1/2] bluepy: Set PV and correct syntax for RDEPENDS
  2021-10-20 17:22 [meta-networking][PATCH 1/2] bluepy: Set PV and correct syntax for RDEPENDS Khem Raj
  2021-10-20 17:22 ` [meta-python][PATCH 2/2] python3-kivy: Use new override syntax in RDEPENDS Khem Raj
@ 2021-10-20 17:25 ` Martin Jansa
  1 sibling, 0 replies; 4+ messages in thread
From: Martin Jansa @ 2021-10-20 17:25 UTC (permalink / raw)
  To: Khem Raj; +Cc: openembedded-devel, Marco Cavallini

[-- Attachment #1: Type: text/plain, Size: 2030 bytes --]

Thanks! <3

On Wed, Oct 20, 2021 at 7:22 PM Khem Raj <raj.khem@gmail.com> wrote:

> 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
>
> Signed-off-by: Khem Raj <raj.khem@gmail.com>
> Cc: Marco Cavallini <m.cavallini@koansoftware.com>
> Cc: Martin Jansa <martin.jansa@gmail.com>
> ---
>  .../recipes-connectivity/bluepy/bluepy_git.bb    | 16 +++++++++-------
>  1 file changed, 9 insertions(+), 7 deletions(-)
>
> diff --git a/meta-networking/recipes-connectivity/bluepy/bluepy_git.bb
> b/meta-networking/recipes-connectivity/bluepy/bluepy_git.bb
> index 03b1562b60..c1bcbc25b1 100644
> --- a/meta-networking/recipes-connectivity/bluepy/bluepy_git.bb
> +++ b/meta-networking/recipes-connectivity/bluepy/bluepy_git.bb
> @@ -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}"
> --
> 2.33.1
>
>

[-- Attachment #2: Type: text/html, Size: 3548 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-10-20 17:25 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-20 17:22 [meta-networking][PATCH 1/2] bluepy: Set PV and correct syntax for RDEPENDS Khem Raj
2021-10-20 17:22 ` [meta-python][PATCH 2/2] python3-kivy: Use new override syntax in RDEPENDS Khem Raj
2021-10-20 17:25   ` Martin Jansa
2021-10-20 17:25 ` [meta-networking][PATCH 1/2] bluepy: Set PV and correct syntax for RDEPENDS Martin Jansa

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.