Packages: Add pypio and ultrasonic-distance packages.

Signed-off-by: Thomas Klaehn <tkl@blackfinn.de>
This commit is contained in:
Thomas Klaehn 2017-10-05 09:13:29 +02:00
parent ca88c1b895
commit fb16c670fa
4 changed files with 67 additions and 1 deletions

View File

@ -8,6 +8,10 @@ BBFILES += " \
${LAYERDIR}/recipes-*/*/*.bbappend \
"
PREFERRED_VERSION_pypio ?= "1.0.0"
PREFERRED_VERSION_pywm ?= "1.0.0"
PREFERRED_VERSION_ultrasonic-distance ?= "1.0.0"
BBFILE_COLLECTIONS += "meta-bbb"
BBFILE_PATTERN_meta-bbb = "^${LAYERDIR}/"
BBFILE_PRIORITY_meta-bbb = "7"

View File

@ -26,6 +26,7 @@ KERNEL_EXTRA_INSTALL = " \
WIFI_SUPPORT = " \
iw \
linux-firmware-rtl8188 \
linux-firmware-rtl8192cu \
wireless-tools \
wpa-supplicant \
@ -44,10 +45,14 @@ EXTRA_TOOLS_INSTALL = " \
acpid \
bc \
bzip2 \
dosfstools \
e2fsprogs-mke2fs \
ethtool \
findutils \
htop \
i2c-tools \
less \
mc \
procps \
rsync \
sysfsutils \
@ -65,8 +70,9 @@ MQTT = " \
"
PYTHON_LIBS = " \
mypy \
pypio \
pywm \
ultrasonic-distance \
"
IMAGE_INSTALL += " \

View File

@ -0,0 +1,28 @@
DESCRIPTION = "python hardware abstraction"
SECTION = "devtools"
LICENSE = "MIT"
PR = "r1"
PV = "1.0.0"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
S = "${WORKDIR}/git"
inherit setuptools
inherit allarch
SRC_URI = " \
git://gitlab.blackfinn.de/python/pypio.git;protocol=https;tag=${PV} \
"
SRC_URI[md5sum] = "a60bcf593ba5080bc2463a8abe8ab7b3"
DEPENDS = " \
python \
"
RDEPENDS_${PN} = " \
\
"

View File

@ -0,0 +1,28 @@
DESCRIPTION = "python hardware abstraction"
SECTION = "devtools"
LICENSE = "MIT"
PR = "r1"
PV = "1.0.0"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
S = "${WORKDIR}/git"
inherit setuptools
inherit allarch
SRC_URI = " \
git://gitlab.blackfinn.de/python/ultrasonic-distance.git;protocol=https;tag=${PV} \
"
SRC_URI[md5sum] = "a60bcf593ba5080bc2463a8abe8ab7b3"
DEPENDS = " \
python \
"
RDEPENDS_${PN} = " \
pypio \
"