diff options
| author | Martin Jansa <Martin.Jansa@gmail.com> | 2021-07-29 17:04:53 +0200 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2021-08-03 10:21:25 -0700 |
| commit | c61dc077bbd81260e4f167fa2251643ba0ba6974 (patch) | |
| tree | 66c3243f8f64ae60f66f70a16e8128c247254a65 /meta-oe/dynamic-layers/meta-python/recipes-connectivity | |
| parent | c5f7cfb8db54cfa4257797db5bd87828dea43296 (diff) | |
| download | meta-openembedded-c61dc077bbd81260e4f167fa2251643ba0ba6974.tar.gz | |
Convert to new override syntax
This is the result of automated script (0.9.1) conversion:
oe-core/scripts/contrib/convert-overrides.py .
converting the metadata to use ":" as the override character instead of "_".
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/dynamic-layers/meta-python/recipes-connectivity')
2 files changed, 31 insertions, 31 deletions
diff --git a/meta-oe/dynamic-layers/meta-python/recipes-connectivity/lirc/lirc_0.10.1.bb b/meta-oe/dynamic-layers/meta-python/recipes-connectivity/lirc/lirc_0.10.1.bb index b68303241e..d8cf9b9f54 100644 --- a/meta-oe/dynamic-layers/meta-python/recipes-connectivity/lirc/lirc_0.10.1.bb +++ b/meta-oe/dynamic-layers/meta-python/recipes-connectivity/lirc/lirc_0.10.1.bb | |||
| @@ -1,8 +1,8 @@ | |||
| 1 | DESCRIPTION = "LIRC is a package that allows you to decode and send infra-red signals of many commonly used remote controls." | 1 | DESCRIPTION = "LIRC is a package that allows you to decode and send infra-red signals of many commonly used remote controls." |
| 2 | DESCRIPTION_append_lirc = " This package contains the lirc daemon, libraries and tools." | 2 | DESCRIPTION:append_lirc = " This package contains the lirc daemon, libraries and tools." |
| 3 | DESCRIPTION_append_lirc-exec = " This package contains a daemon that runs programs on IR signals." | 3 | DESCRIPTION:append_lirc-exec = " This package contains a daemon that runs programs on IR signals." |
| 4 | DESCRIPTION_append_lirc-remotes = " This package contains some config files for remotes." | 4 | DESCRIPTION:append_lirc-remotes = " This package contains some config files for remotes." |
| 5 | DESCRIPTION_append_lirc-nslu2example = " This package contains a working config for RC5 remotes and a modified NSLU2." | 5 | DESCRIPTION:append_lirc-nslu2example = " This package contains a working config for RC5 remotes and a modified NSLU2." |
| 6 | HOMEPAGE = "http://www.lirc.org" | 6 | HOMEPAGE = "http://www.lirc.org" |
| 7 | SECTION = "console/network" | 7 | SECTION = "console/network" |
| 8 | LICENSE = "GPLv2" | 8 | LICENSE = "GPLv2" |
| @@ -24,10 +24,10 @@ SRC_URI[md5sum] = "86c3f8e4efaba10571addb8313d1e040" | |||
| 24 | SRC_URI[sha256sum] = "8b753c60df2a7f5dcda2db72c38e448ca300c3b4f6000c1501fcb0bd5df414f2" | 24 | SRC_URI[sha256sum] = "8b753c60df2a7f5dcda2db72c38e448ca300c3b4f6000c1501fcb0bd5df414f2" |
| 25 | 25 | ||
| 26 | SYSTEMD_PACKAGES = "lirc lirc-exec" | 26 | SYSTEMD_PACKAGES = "lirc lirc-exec" |
| 27 | SYSTEMD_SERVICE_${PN} = "lircd.service lircmd.service lircd-setup.service lircd-uinput.service" | 27 | SYSTEMD_SERVICE:${PN} = "lircd.service lircmd.service lircd-setup.service lircd-uinput.service" |
| 28 | SYSTEMD_SERVICE_${PN}-exec = "irexec.service" | 28 | SYSTEMD_SERVICE:${PN}-exec = "irexec.service" |
| 29 | SYSTEMD_AUTO_ENABLE_lirc = "enable" | 29 | SYSTEMD_AUTO_ENABLE:lirc = "enable" |
| 30 | SYSTEMD_AUTO_ENABLE_lirc-exec = "enable" | 30 | SYSTEMD_AUTO_ENABLE:lirc-exec = "enable" |
| 31 | 31 | ||
| 32 | inherit autotools pkgconfig systemd python3native distutils-common-base | 32 | inherit autotools pkgconfig systemd python3native distutils-common-base |
| 33 | 33 | ||
| @@ -43,12 +43,12 @@ CACHED_CONFIGUREVARS = "HAVE_WORKING_POLL=yes" | |||
| 43 | #EXTRA_OEMAKE = 'SUBDIRS="lib daemons tools"' | 43 | #EXTRA_OEMAKE = 'SUBDIRS="lib daemons tools"' |
| 44 | 44 | ||
| 45 | # Ensure python-pkg/VERSION exists | 45 | # Ensure python-pkg/VERSION exists |
| 46 | do_configure_append() { | 46 | do_configure:append() { |
| 47 | cp ${S}/VERSION ${S}/python-pkg/ | 47 | cp ${S}/VERSION ${S}/python-pkg/ |
| 48 | } | 48 | } |
| 49 | 49 | ||
| 50 | # Create PYTHON_TARBALL which LIRC needs for install-nodist_pkgdataDATA | 50 | # Create PYTHON_TARBALL which LIRC needs for install-nodist_pkgdataDATA |
| 51 | do_install_prepend() { | 51 | do_install:prepend() { |
| 52 | rm -rf ${WORKDIR}/${PN}-${PV}/python-pkg/dist/ | 52 | rm -rf ${WORKDIR}/${PN}-${PV}/python-pkg/dist/ |
| 53 | mkdir ${WORKDIR}/${PN}-${PV}/python-pkg/dist/ | 53 | mkdir ${WORKDIR}/${PN}-${PV}/python-pkg/dist/ |
| 54 | tar --exclude='${WORKDIR}/${PN}-${PV}/python-pkg/*' -czf ${WORKDIR}/${PN}-${PV}/python-pkg/dist/${PN}-${PV}.tar.gz ${S} | 54 | tar --exclude='${WORKDIR}/${PN}-${PV}/python-pkg/*' -czf ${WORKDIR}/${PN}-${PV}/python-pkg/dist/${PN}-${PV}.tar.gz ${S} |
| @@ -57,7 +57,7 @@ do_install_prepend() { | |||
| 57 | # In code, path to python is a variable that is replaced with path to native version of it | 57 | # In code, path to python is a variable that is replaced with path to native version of it |
| 58 | # during the configure stage, e.g ../recipe-sysroot-native/usr/bin/python3-native/python3. | 58 | # during the configure stage, e.g ../recipe-sysroot-native/usr/bin/python3-native/python3. |
| 59 | # Replace it with #!/usr/bin/env python3 | 59 | # Replace it with #!/usr/bin/env python3 |
| 60 | do_install_append() { | 60 | do_install:append() { |
| 61 | sed -i '1c#!/usr/bin/env python3' ${D}${bindir}/lirc-setup \ | 61 | sed -i '1c#!/usr/bin/env python3' ${D}${bindir}/lirc-setup \ |
| 62 | ${D}${PYTHON_SITEPACKAGES_DIR}/lirc-setup/lirc-setup \ | 62 | ${D}${PYTHON_SITEPACKAGES_DIR}/lirc-setup/lirc-setup \ |
| 63 | ${D}${bindir}/irtext2udp \ | 63 | ${D}${bindir}/irtext2udp \ |
| @@ -82,28 +82,28 @@ do_install_append() { | |||
| 82 | 82 | ||
| 83 | PACKAGES =+ "${PN}-contrib ${PN}-exec ${PN}-plugins ${PN}-python" | 83 | PACKAGES =+ "${PN}-contrib ${PN}-exec ${PN}-plugins ${PN}-python" |
| 84 | 84 | ||
| 85 | RDEPENDS_${PN} = "bash python3" | 85 | RDEPENDS:${PN} = "bash python3" |
| 86 | RDEPENDS_${PN}-exec = "${PN}" | 86 | RDEPENDS:${PN}-exec = "${PN}" |
| 87 | RDEPENDS_${PN}-python = "python3-shell python3-pyyaml python3-datetime python3-netclient python3-stringold" | 87 | RDEPENDS:${PN}-python = "python3-shell python3-pyyaml python3-datetime python3-netclient python3-stringold" |
| 88 | 88 | ||
| 89 | RRECOMMENDS_${PN} = "${PN}-exec ${PN}-plugins" | 89 | RRECOMMENDS:${PN} = "${PN}-exec ${PN}-plugins" |
| 90 | 90 | ||
| 91 | FILES_${PN}-plugins = "${libdir}/lirc/plugins/*.so ${datadir}/lirc/configs" | 91 | FILES:${PN}-plugins = "${libdir}/lirc/plugins/*.so ${datadir}/lirc/configs" |
| 92 | FILES_${PN}-contrib = "${datadir}/lirc/contrib" | 92 | FILES:${PN}-contrib = "${datadir}/lirc/contrib" |
| 93 | FILES_${PN}-exec = "${bindir}/irexec ${sysconfdir}/lircexec ${systemd_unitdir}/system/irexec.service" | 93 | FILES:${PN}-exec = "${bindir}/irexec ${sysconfdir}/lircexec ${systemd_unitdir}/system/irexec.service" |
| 94 | FILES_${PN} += "${systemd_unitdir}/system/lircexec.init" | 94 | FILES:${PN} += "${systemd_unitdir}/system/lircexec.init" |
| 95 | FILES_${PN} += "${systemd_unitdir}/system/lircd.service" | 95 | FILES:${PN} += "${systemd_unitdir}/system/lircd.service" |
| 96 | FILES_${PN} += "${systemd_unitdir}/system/lircd.socket" | 96 | FILES:${PN} += "${systemd_unitdir}/system/lircd.socket" |
| 97 | FILES_${PN} += "${libdir}/tmpfiles.d/lirc.conf" | 97 | FILES:${PN} += "${libdir}/tmpfiles.d/lirc.conf" |
| 98 | FILES_${PN}-dbg += "${libdir}/lirc/plugins/.debug" | 98 | FILES:${PN}-dbg += "${libdir}/lirc/plugins/.debug" |
| 99 | FILES_${PN}-python += "${bindir}/irdb-get ${bindir}/irtext2udp ${bindir}/lircd-setup ${bindir}/pronto2lirc ${libdir}/python*/site-packages" | 99 | FILES:${PN}-python += "${bindir}/irdb-get ${bindir}/irtext2udp ${bindir}/lircd-setup ${bindir}/pronto2lirc ${libdir}/python*/site-packages" |
| 100 | 100 | ||
| 101 | INITSCRIPT_PACKAGES = "lirc lirc-exec" | 101 | INITSCRIPT_PACKAGES = "lirc lirc-exec" |
| 102 | INITSCRIPT_NAME_lirc-exec = "lircexec" | 102 | INITSCRIPT_NAME:lirc-exec = "lircexec" |
| 103 | INITSCRIPT_PARAMS_lirc-exec = "defaults 21" | 103 | INITSCRIPT_PARAMS:lirc-exec = "defaults 21" |
| 104 | 104 | ||
| 105 | # this is for distributions that don't use udev | 105 | # this is for distributions that don't use udev |
| 106 | pkg_postinst_${PN}_append() { | 106 | pkg_postinst:${PN}:append() { |
| 107 | if [ ! -c $D/dev/lirc -a ! -f /sbin/udevd ]; then mknod $D/dev/lirc c 61 0; fi | 107 | if [ ! -c $D/dev/lirc -a ! -f /sbin/udevd ]; then mknod $D/dev/lirc c 61 0; fi |
| 108 | } | 108 | } |
| 109 | 109 | ||
diff --git a/meta-oe/dynamic-layers/meta-python/recipes-connectivity/thingsboard-gateway/thingsboard-gateway_2.5.2.bb b/meta-oe/dynamic-layers/meta-python/recipes-connectivity/thingsboard-gateway/thingsboard-gateway_2.5.2.bb index 2f0ef16c80..3c89c377a7 100644 --- a/meta-oe/dynamic-layers/meta-python/recipes-connectivity/thingsboard-gateway/thingsboard-gateway_2.5.2.bb +++ b/meta-oe/dynamic-layers/meta-python/recipes-connectivity/thingsboard-gateway/thingsboard-gateway_2.5.2.bb | |||
| @@ -14,7 +14,7 @@ inherit pypi setuptools3 | |||
| 14 | 14 | ||
| 15 | PYPI_PACKAGE = "thingsboard-gateway" | 15 | PYPI_PACKAGE = "thingsboard-gateway" |
| 16 | 16 | ||
| 17 | RDEPENDS_${PN} += " python3-jsonpath-rw \ | 17 | RDEPENDS:${PN} += " python3-jsonpath-rw \ |
| 18 | python3-regex \ | 18 | python3-regex \ |
| 19 | python3-paho-mqtt \ | 19 | python3-paho-mqtt \ |
| 20 | python3-pyyaml \ | 20 | python3-pyyaml \ |
| @@ -45,14 +45,14 @@ SRC_URI += "file://bacnet.json \ | |||
| 45 | inherit systemd | 45 | inherit systemd |
| 46 | 46 | ||
| 47 | SYSTEMD_PACKAGES = "${PN}" | 47 | SYSTEMD_PACKAGES = "${PN}" |
| 48 | SYSTEMD_SERVICE_${PN} = "thingsboard-gateway.service" | 48 | SYSTEMD_SERVICE:${PN} = "thingsboard-gateway.service" |
| 49 | 49 | ||
| 50 | FILES_${PN} += "/etc \ | 50 | FILES:${PN} += "/etc \ |
| 51 | /lib \ | 51 | /lib \ |
| 52 | /usr \ | 52 | /usr \ |
| 53 | " | 53 | " |
| 54 | 54 | ||
| 55 | do_install_append(){ | 55 | do_install:append(){ |
| 56 | 56 | ||
| 57 | install -d ${D}${sysconfdir}/thingsboard-gateway/config | 57 | install -d ${D}${sysconfdir}/thingsboard-gateway/config |
| 58 | 58 | ||
