Last active
September 27, 2018 14:41
-
-
Save shantanoo-desai/fc00836d399f8592a30efe1ec9c56213 to your computer and use it in GitHub Desktop.
[Working Recipes] pynmea2 and influxdb-python recipes created using devtool. Structure followed like that of the meta-python branch in openembedded.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Recipe created by recipetool | |
# This is the basis of a recipe and may need further editing in order to be fully func | |
# (Feel free to remove these comments when editing.) | |
# | |
# WARNING: the following LICENSE and LIC_FILES_CHKSUM values are best guesses - it is | |
# your responsibility to verify that the values are complete and correct. | |
LICENSE = "MIT" | |
LIC_FILES_CHKSUM = "file://LICENSE;md5=046523829184aac3703a4c60c0ae2104" | |
HOMEPAGE = "https://github.com/influxdb/influxdb-python" | |
SUMMARY = "InfluxDB client" | |
SRC_URI = "https://github.com/influxdata/influxdb-python/archive/v${PV}.tar.gz" | |
SRC_URI[md5sum] = "105d88695151e241523b31dd1375096e" | |
SRC_URI[sha256sum] = "620de85bcca5207b06ec1565884b6d10b4be01d579a78e08b1e922f453fdac05 | |
DEPENDS_${PN} = "${PYTHON_PN}-modules" | |
# WARNING: the following rdepends are determined through basic analysis of the | |
# python sources, and might not be 100% accurate. | |
RDEPENDS_${PN} += "${PYTHON_PN}-modules \ | |
${PYTHON_PN}-six \ | |
${PYTHON_PN}-dateutil \ | |
${PYTHON_PN}-pytz \ | |
${PYTHON_PN}-requests" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
inherit setuptools3 pypi | |
require influxdb-python.inc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# All other related code according to BSP skipped | |
# for brewity | |
IMAGE_INSTALL_append = " influxdb-python \ | |
pynmea2 \ | |
" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Recipe created by recipetool | |
# This is the basis of a recipe and may need further editing in order to be fully functional. | |
# (Feel free to remove these comments when editing.) | |
# | |
# WARNING: the following LICENSE and LIC_FILES_CHKSUM values are best guesses - it is | |
# your responsibility to verify that the values are complete and correct. | |
LICENSE = "MIT" | |
LIC_FILES_CHKSUM = "file://LICENSE;md5=bb5e173bc54080cb25079199959ba6b6" | |
HOMEPAGE = "https://github.com/Knio/pynmea2" | |
SUMMARY = "Python library for the NMEA 0183 protcol" | |
SRC_URI = "https://github.com/Knio/pynmea2/archive/${PV}.tar.gz" | |
SRC_URI[md5sum] = "a90baf61f4e676bef76099e4bd7c0581" | |
SRC_URI[sha256sum] = "8f8f68623bd2d5dab7f04a9c31813a3f4aa15467db0373cbce6b9b0ae44ca48e" | |
DEPENDS_${PN} = "${PYTHON_PN}-modules" | |
# WARNING: the following rdepends are determined through basic analysis of the | |
# python sources, and might not be 100% accurate. | |
RDEPENDS_${PN} += "${PYTHON_PN}-modules" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
inherit setuptools3 pypi | |
require pynmea2.inc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The above mentioned recipes have been tested for
Krogoth
branch of Yocto withbitbake v 1.30.0
and created usingdevtool
.A StackExchange Query addressing missing python modules on the hardware are resolved using the above mentioned recipes.