* [meta-networking][PATCH] bluepy_git.bb: Added recipe for BluePy - Python interface to Bluetooth LE on Linux @ 2021-10-18 14:22 Marco Cavallini 2021-10-18 15:53 ` [oe] " Khem Raj 0 siblings, 1 reply; 5+ messages in thread From: Marco Cavallini @ 2021-10-18 14:22 UTC (permalink / raw) To: openembedded-devel; +Cc: Marco Cavallini, Marco Cavallini From: Marco Cavallini <m.cavallini@koansoftware.com> Signed-off-by: Marco Cavallini <koansoftware@gmail.com> --- .../recipes-connectivity/bluepy/bluepy_git.bb | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 meta-networking/recipes-connectivity/bluepy/bluepy_git.bb diff --git a/meta-networking/recipes-connectivity/bluepy/bluepy_git.bb b/meta-networking/recipes-connectivity/bluepy/bluepy_git.bb new file mode 100644 index 000000000..651a75254 --- /dev/null +++ b/meta-networking/recipes-connectivity/bluepy/bluepy_git.bb @@ -0,0 +1,16 @@ +DESCRIPTION = "Python interface to Bluetooth LE on Linux" +HOMEPAGE = "https://github.com/IanHarvey/bluepy" +SECTION = "devel/python" + +DEPENDS = "${PYTHON_PN} glib-2.0" +RDEPENDS_${PN} = "bluez5" + +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +inherit setuptools3 + +SRC_URI = "git://github.com/IanHarvey/bluepy.git;protocol=https;rev=7ad565231a97c304c0eff45f2649cd005e69db09" +S = "${WORKDIR}/git" + +TARGET_CC_ARCH += "${LDFLAGS}" \ No newline at end of file -- 2.17.1 ^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [oe] [meta-networking][PATCH] bluepy_git.bb: Added recipe for BluePy - Python interface to Bluetooth LE on Linux 2021-10-18 14:22 [meta-networking][PATCH] bluepy_git.bb: Added recipe for BluePy - Python interface to Bluetooth LE on Linux Marco Cavallini @ 2021-10-18 15:53 ` Khem Raj [not found] ` <3c6c68b7-f3c2-4259-5400-0e8a804f3fb8@gmail.com> 0 siblings, 1 reply; 5+ messages in thread From: Khem Raj @ 2021-10-18 15:53 UTC (permalink / raw) To: Marco Cavallini, openembedded-devel; +Cc: Marco Cavallini On 10/18/21 7:22 AM, Marco Cavallini wrote: > From: Marco Cavallini <m.cavallini@koansoftware.com> > > Signed-off-by: Marco Cavallini <koansoftware@gmail.com> > --- > .../recipes-connectivity/bluepy/bluepy_git.bb | 16 ++++++++++++++++ > 1 file changed, 16 insertions(+) > create mode 100644 meta-networking/recipes-connectivity/bluepy/bluepy_git.bb > > diff --git a/meta-networking/recipes-connectivity/bluepy/bluepy_git.bb b/meta-networking/recipes-connectivity/bluepy/bluepy_git.bb > new file mode 100644 > index 000000000..651a75254 > --- /dev/null > +++ b/meta-networking/recipes-connectivity/bluepy/bluepy_git.bb > @@ -0,0 +1,16 @@ > +DESCRIPTION = "Python interface to Bluetooth LE on Linux" > +HOMEPAGE = "https://github.com/IanHarvey/bluepy" > +SECTION = "devel/python" > + > +DEPENDS = "${PYTHON_PN} glib-2.0" > +RDEPENDS_${PN} = "bluez5" > + > +LICENSE = "GPLv2" It also has pubic domain licensed code as I see in https://github.com/IanHarvey/bluepy/blob/master/LICENSE.txt so perhaps PD would also need to be added here. > +LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" > + > +inherit setuptools3 > + > +SRC_URI = "git://github.com/IanHarvey/bluepy.git;protocol=https;rev=7ad565231a97c304c0eff45f2649cd005e69db09" > +S = "${WORKDIR}/git" > + > +TARGET_CC_ARCH += "${LDFLAGS}" do we know why this is needed ? is it ignoring LDFLAGS ? > \ No newline at end of file > > > > -=-=-=-=-=-=-=-=-=-=-=- > Links: You receive all messages sent to this group. > View/Reply Online (#93424): https://lists.openembedded.org/g/openembedded-devel/message/93424 > Mute This Topic: https://lists.openembedded.org/mt/86415050/1997914 > Group Owner: openembedded-devel+owner@lists.openembedded.org > Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [raj.khem@gmail.com] > -=-=-=-=-=-=-=-=-=-=-=- > ^ permalink raw reply [flat|nested] 5+ messages in thread
[parent not found: <3c6c68b7-f3c2-4259-5400-0e8a804f3fb8@gmail.com>]
[parent not found: <98970f4b-5513-43c3-225d-610e7c9606e3@gmail.com>]
* Re: [oe] [meta-networking][PATCH] bluepy_git.bb: Added recipe for BluePy - Python interface to Bluetooth LE on Linux [not found] ` <98970f4b-5513-43c3-225d-610e7c9606e3@gmail.com> @ 2021-10-19 4:34 ` Khem Raj 2021-10-19 12:14 ` Marco 0 siblings, 1 reply; 5+ messages in thread From: Khem Raj @ 2021-10-19 4:34 UTC (permalink / raw) To: Marco Cavallini, openembeded-devel; +Cc: Marco Cavallini this is failing to build also see https://errors.yoctoproject.org/Errors/Details/613234/ https://errors.yoctoproject.org/Errors/Details/613235/ On Mon, Oct 18, 2021 at 9:54 AM Khem Raj <raj.khem@gmail.com> wrote: > > > > On 10/18/21 9:38 AM, Marco wrote: > > On 18/10/21 17:53, Khem Raj wrote: > >> > >> > >> On 10/18/21 7:22 AM, Marco Cavallini wrote: > >>> From: Marco Cavallini <m.cavallini@koansoftware.com> > >>> > >>> Signed-off-by: Marco Cavallini <koansoftware@gmail.com> > >>> --- > >>> .../recipes-connectivity/bluepy/bluepy_git.bb | 16 ++++++++++++++++ > >>> 1 file changed, 16 insertions(+) > >>> create mode 100644 > >>> meta-networking/recipes-connectivity/bluepy/bluepy_git.bb > >>> > >>> diff --git > >>> a/meta-networking/recipes-connectivity/bluepy/bluepy_git.bb > >>> b/meta-networking/recipes-connectivity/bluepy/bluepy_git.bb > >>> new file mode 100644 > >>> index 000000000..651a75254 > >>> --- /dev/null > >>> +++ b/meta-networking/recipes-connectivity/bluepy/bluepy_git.bb > >>> @@ -0,0 +1,16 @@ > >>> +DESCRIPTION = "Python interface to Bluetooth LE on Linux" > >>> +HOMEPAGE = "https://github.com/IanHarvey/bluepy" > >>> +SECTION = "devel/python" > >>> + > >>> +DEPENDS = "${PYTHON_PN} glib-2.0" > >>> +RDEPENDS_${PN} = "bluez5" > >>> + > >>> +LICENSE = "GPLv2" > >> > >> It also has pubic domain licensed code as I see in > >> https://github.com/IanHarvey/bluepy/blob/master/LICENSE.txt so perhaps > >> PD would also need to be added here. > >> > > > > Hi Khem, > > What about replacing with this? > > > > LICENSE = "GPLv2 & PD" > > LIC_FILES_CHKSUM = > > "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" > > LIC_FILES_CHKSUM = > > "file://${COREBASE}/meta/files/common-licenses/PD;md5=b3597d12946881e13cb3b548d1173851" > > > > > > that would work. > > > > >>> +LIC_FILES_CHKSUM = > >>> "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" > >>> > >>> + > >>> +inherit setuptools3 > >>> + > >>> +SRC_URI = > >>> "git://github.com/IanHarvey/bluepy.git;protocol=https;rev=7ad565231a97c304c0eff45f2649cd005e69db09" > >>> > >>> +S = "${WORKDIR}/git" > >>> + > >>> +TARGET_CC_ARCH += "${LDFLAGS}" > >> > >> do we know why this is needed ? > >> is it ignoring LDFLAGS ? > >> > > > > If I remove it: > > ERROR: bluepy-git-r0 do_package_qa: QA Issue: File > > /usr/lib/python3.8/site-packages/bluepy/bluepy-helper in package bluepy > > doesn't have GNU_HASH (didn't pass LDFLAGS?) [ldflags] > > > > Thanks > > -- > > Marco > > ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [oe] [meta-networking][PATCH] bluepy_git.bb: Added recipe for BluePy - Python interface to Bluetooth LE on Linux 2021-10-19 4:34 ` Khem Raj @ 2021-10-19 12:14 ` Marco 2021-10-19 12:45 ` Khem Raj 0 siblings, 1 reply; 5+ messages in thread From: Marco @ 2021-10-19 12:14 UTC (permalink / raw) To: Khem Raj, openembeded-devel; +Cc: Marco Cavallini On 19/10/21 06:34, Khem Raj wrote: > this is failing to build also see > > https://errors.yoctoproject.org/Errors/Details/613234/ > https://errors.yoctoproject.org/Errors/Details/613235/ Hi Khem, I solved both issues. Do I have to resend [PATCH v2] or simply comment the recipe here ? Thanks ``` DESCRIPTION = "Python interface to Bluetooth LE on Linux" HOMEPAGE = "https://github.com/IanHarvey/bluepy" SECTION = "devel/python" DEPENDS = "${PYTHON_PN} glib-2.0" RDEPENDS_${PN} = "bluez5" 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" inherit setuptools3 pkgconfig SRC_URI = "git://github.com/IanHarvey/bluepy.git;protocol=https;rev=7ad565231a97c304c0eff45f2649cd005e69db09" S = "${WORKDIR}/git" TARGET_CC_ARCH += "${LDFLAGS}" ``` -- Marco ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [oe] [meta-networking][PATCH] bluepy_git.bb: Added recipe for BluePy - Python interface to Bluetooth LE on Linux 2021-10-19 12:14 ` Marco @ 2021-10-19 12:45 ` Khem Raj 0 siblings, 0 replies; 5+ messages in thread From: Khem Raj @ 2021-10-19 12:45 UTC (permalink / raw) To: koansoftware, openembeded-devel; +Cc: Marco Cavallini Hi Marco On 10/19/21 05:14, Marco wrote: > On 19/10/21 06:34, Khem Raj wrote: >> this is failing to build also see >> >> https://errors.yoctoproject.org/Errors/Details/613234/ >> https://errors.yoctoproject.org/Errors/Details/613235/ > > > Hi Khem, > I solved both issues. > Do I have to resend [PATCH v2] or simply comment the recipe here ? Please send a v2, so I can take verbatim what you have tested > Thanks > > > ``` > DESCRIPTION = "Python interface to Bluetooth LE on Linux" > HOMEPAGE = "https://github.com/IanHarvey/bluepy" > SECTION = "devel/python" > > DEPENDS = "${PYTHON_PN} glib-2.0" > RDEPENDS_${PN} = "bluez5" > > 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" > > > inherit setuptools3 pkgconfig > > SRC_URI = > "git://github.com/IanHarvey/bluepy.git;protocol=https;rev=7ad565231a97c304c0eff45f2649cd005e69db09" > > S = "${WORKDIR}/git" > > TARGET_CC_ARCH += "${LDFLAGS}" > ``` > > -- > Marco ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2021-10-19 12:45 UTC | newest] Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2021-10-18 14:22 [meta-networking][PATCH] bluepy_git.bb: Added recipe for BluePy - Python interface to Bluetooth LE on Linux Marco Cavallini 2021-10-18 15:53 ` [oe] " Khem Raj [not found] ` <3c6c68b7-f3c2-4259-5400-0e8a804f3fb8@gmail.com> [not found] ` <98970f4b-5513-43c3-225d-610e7c9606e3@gmail.com> 2021-10-19 4:34 ` Khem Raj 2021-10-19 12:14 ` Marco 2021-10-19 12:45 ` Khem Raj
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).