From 0ab21e40fa70c6ffc0d3057d4b87b4365d004c89 Mon Sep 17 00:00:00 2001 From: John Klug Date: Fri, 29 Apr 2022 17:04:44 -0500 Subject: python3-pygattlib is not yet ready --- recipes-connectivity/bluez/python3-pygattlib.bb | 38 ---------------------- .../bluez/python3-pygattlib.unused | 38 ++++++++++++++++++++++ 2 files changed, 38 insertions(+), 38 deletions(-) delete mode 100644 recipes-connectivity/bluez/python3-pygattlib.bb create mode 100644 recipes-connectivity/bluez/python3-pygattlib.unused diff --git a/recipes-connectivity/bluez/python3-pygattlib.bb b/recipes-connectivity/bluez/python3-pygattlib.bb deleted file mode 100644 index 0a5aaee..0000000 --- a/recipes-connectivity/bluez/python3-pygattlib.bb +++ /dev/null @@ -1,38 +0,0 @@ -DESCRIPTION = "Python BLE GATT Library" -HOMEPAGE = "https://bitbucket.org/OscarAcena/pygattlib" -LICENSE = "Apache-2.0" -LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10" - -DEPENDS = "boost bluez5 glib-2.0" - -inherit setuptools3 - -PR = "r3" -SRCREV = "f319522a2e719a9a05220b42ac16eb360be3fe1c" -SRC_URI = "git://git@gitlab.multitech.net/aep/pygattlib.git;protocol=ssh;branch=master \ - file://0001-Fixed-build-with-Python3.8-and-Boost-1.72.patch \ -" - -SRC_URI[md5sum] = "014bf03c4812f74b6c9e86e1e895bb82" -SRC_URI[sha256sum] = "f759070d59597db1f8d10991497f133eddb9d7f990d15571031d93a397a772e2" - -S = "${WORKDIR}/git" - -inherit autotools-brokensep pkgconfig - -# necessary to let the call for python3-config succeed -export BUILD_SYS -export HOST_SYS -export STAGING_INCDIR -export STAGING_LIBDIR - -do_compile() { - oe_runmake -} - -#TODO -# QA Issue: File /usr/lib/python3.8/lib-dynload/gattlib.so in package pygattlib doesn't have GNU_HASH (didn't pass LDFLAGS?) [ldflags] -do_install() { - install -d ${D}/${libdir}/python3.8/lib-dynload - install -m 0755 ${WORKDIR}/git/src/gattlib.so ${D}/${libdir}/python3.8/lib-dynload/gattlib.so -} diff --git a/recipes-connectivity/bluez/python3-pygattlib.unused b/recipes-connectivity/bluez/python3-pygattlib.unused new file mode 100644 index 0000000..0a5aaee --- /dev/null +++ b/recipes-connectivity/bluez/python3-pygattlib.unused @@ -0,0 +1,38 @@ +DESCRIPTION = "Python BLE GATT Library" +HOMEPAGE = "https://bitbucket.org/OscarAcena/pygattlib" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10" + +DEPENDS = "boost bluez5 glib-2.0" + +inherit setuptools3 + +PR = "r3" +SRCREV = "f319522a2e719a9a05220b42ac16eb360be3fe1c" +SRC_URI = "git://git@gitlab.multitech.net/aep/pygattlib.git;protocol=ssh;branch=master \ + file://0001-Fixed-build-with-Python3.8-and-Boost-1.72.patch \ +" + +SRC_URI[md5sum] = "014bf03c4812f74b6c9e86e1e895bb82" +SRC_URI[sha256sum] = "f759070d59597db1f8d10991497f133eddb9d7f990d15571031d93a397a772e2" + +S = "${WORKDIR}/git" + +inherit autotools-brokensep pkgconfig + +# necessary to let the call for python3-config succeed +export BUILD_SYS +export HOST_SYS +export STAGING_INCDIR +export STAGING_LIBDIR + +do_compile() { + oe_runmake +} + +#TODO +# QA Issue: File /usr/lib/python3.8/lib-dynload/gattlib.so in package pygattlib doesn't have GNU_HASH (didn't pass LDFLAGS?) [ldflags] +do_install() { + install -d ${D}/${libdir}/python3.8/lib-dynload + install -m 0755 ${WORKDIR}/git/src/gattlib.so ${D}/${libdir}/python3.8/lib-dynload/gattlib.so +} -- cgit v1.2.3