Skip to content

Commit e8bc593

Browse files
authored
Merge pull request #61 from hnez/scarthgap-grpc
scarthgap: update labgrid master version and add support for gRPC
2 parents c717323 + 25ba5ef commit e8bc593

File tree

4 files changed

+56
-2
lines changed

4 files changed

+56
-2
lines changed
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
DESCRIPTION = "Google gRPC channelz"
2+
HOMEPAGE = "http://www.grpc.io/"
3+
SECTION = "devel/python"
4+
5+
LICENSE = "Apache-2.0"
6+
LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=7145f7cdd263359b62d342a02f005515"
7+
8+
inherit pypi setuptools3
9+
10+
DEPENDS += "python3-grpcio"
11+
12+
SRC_URI[sha256sum] = "6e4ac2c43d76b245c5f66d98f523db08786b186128a655ee6f20a30a7e68e4f9"
13+
14+
RDEPENDS:${PN} = "python3-grpcio"
15+
16+
BBCLASSEXTEND = "native nativesdk"
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
DESCRIPTION = "Google gRPC reflection"
2+
HOMEPAGE = "http://www.grpc.io/"
3+
SECTION = "devel/python"
4+
5+
LICENSE = "Apache-2.0"
6+
LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=7145f7cdd263359b62d342a02f005515"
7+
8+
inherit pypi setuptools3
9+
10+
DEPENDS += "python3-grpcio"
11+
12+
SRC_URI[sha256sum] = "2dd44806d68d0006636529bda573012b19a42281478c2d051cdaaebb91e2516c"
13+
14+
RDEPENDS:${PN} = "python3-grpcio"
15+
16+
BBCLASSEXTEND = "native nativesdk"
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
[Unit]
2+
Description=Labgrid Exporter
3+
After=network-online.target
4+
Wants=network-online.target
5+
6+
[Service]
7+
Environment="PYTHONUNBUFFERED=1"
8+
EnvironmentFile=/etc/labgrid/environment
9+
ExecStart=/usr/bin/labgrid-exporter --coordinator ${LABGRID_COORDINATOR_IP}:${LABGRID_COORDINATOR_PORT} /etc/labgrid/configuration.yaml
10+
Restart=on-failure
11+
RestartForceExitStatus=100
12+
RestartSec=30
13+
14+
[Install]
15+
WantedBy=multi-user.target

recipes-devtools/python/python3-labgrid_git.bb

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,16 @@ require python3-labgrid.inc
33
SRC_URI += "git://github.com/labgrid-project/labgrid.git;protocol=https;branch=${SRCBRANCH}"
44

55
SRCBRANCH = "master"
6-
SRCREV = "91c7e9cb044e1227f657a0db983d48c857c21b16"
6+
SRCREV = "5f0ae27f62692cd703052a3c649f19d2f9abed0c"
77

8-
PV = "23+git"
8+
PV = "24.0+git"
9+
10+
RDEPENDS:${PN} += " \
11+
python3-grpcio \
12+
python3-grpcio-reflection \
13+
python3-grpcio-channelz \
14+
"
15+
RDEPENDS:${PN}:remove = "python3-autobahn"
916

1017
LABGRID_USE_DEVEL_VERSION[doc] = "Global switch to enable labgrid development (git) version"
1118
LABGRID_USE_DEVEL_VERSION ??= "-1"

0 commit comments

Comments
 (0)