diff --git a/recipes-devtools/python/python3-grpcio-channelz_1.62.2.bb b/recipes-devtools/python/python3-grpcio-channelz_1.62.2.bb new file mode 100644 index 0000000..ed5ede4 --- /dev/null +++ b/recipes-devtools/python/python3-grpcio-channelz_1.62.2.bb @@ -0,0 +1,16 @@ +DESCRIPTION = "Google gRPC channelz" +HOMEPAGE = "http://www.grpc.io/" +SECTION = "devel/python" + +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=7145f7cdd263359b62d342a02f005515" + +inherit pypi setuptools3 + +DEPENDS += "python3-grpcio" + +SRC_URI[sha256sum] = "6e4ac2c43d76b245c5f66d98f523db08786b186128a655ee6f20a30a7e68e4f9" + +RDEPENDS:${PN} = "python3-grpcio" + +BBCLASSEXTEND = "native nativesdk" diff --git a/recipes-devtools/python/python3-grpcio-reflection_1.62.2.bb b/recipes-devtools/python/python3-grpcio-reflection_1.62.2.bb new file mode 100644 index 0000000..478c5b3 --- /dev/null +++ b/recipes-devtools/python/python3-grpcio-reflection_1.62.2.bb @@ -0,0 +1,16 @@ +DESCRIPTION = "Google gRPC reflection" +HOMEPAGE = "http://www.grpc.io/" +SECTION = "devel/python" + +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=7145f7cdd263359b62d342a02f005515" + +inherit pypi setuptools3 + +DEPENDS += "python3-grpcio" + +SRC_URI[sha256sum] = "2dd44806d68d0006636529bda573012b19a42281478c2d051cdaaebb91e2516c" + +RDEPENDS:${PN} = "python3-grpcio" + +BBCLASSEXTEND = "native nativesdk" diff --git a/recipes-devtools/python/python3-labgrid-24.0+git/labgrid-exporter.service b/recipes-devtools/python/python3-labgrid-24.0+git/labgrid-exporter.service new file mode 100644 index 0000000..a160ae8 --- /dev/null +++ b/recipes-devtools/python/python3-labgrid-24.0+git/labgrid-exporter.service @@ -0,0 +1,15 @@ +[Unit] +Description=Labgrid Exporter +After=network-online.target +Wants=network-online.target + +[Service] +Environment="PYTHONUNBUFFERED=1" +EnvironmentFile=/etc/labgrid/environment +ExecStart=/usr/bin/labgrid-exporter --coordinator ${LABGRID_COORDINATOR_IP}:${LABGRID_COORDINATOR_PORT} /etc/labgrid/configuration.yaml +Restart=on-failure +RestartForceExitStatus=100 +RestartSec=30 + +[Install] +WantedBy=multi-user.target diff --git a/recipes-devtools/python/python3-labgrid_git.bb b/recipes-devtools/python/python3-labgrid_git.bb index a0ea91f..1b4ece5 100644 --- a/recipes-devtools/python/python3-labgrid_git.bb +++ b/recipes-devtools/python/python3-labgrid_git.bb @@ -3,9 +3,16 @@ require python3-labgrid.inc SRC_URI += "git://github.com/labgrid-project/labgrid.git;protocol=https;branch=${SRCBRANCH}" SRCBRANCH = "master" -SRCREV = "91c7e9cb044e1227f657a0db983d48c857c21b16" +SRCREV = "5f0ae27f62692cd703052a3c649f19d2f9abed0c" -PV = "23+git" +PV = "24.0+git" + +RDEPENDS:${PN} += " \ + python3-grpcio \ + python3-grpcio-reflection \ + python3-grpcio-channelz \ +" +RDEPENDS:${PN}:remove = "python3-autobahn" LABGRID_USE_DEVEL_VERSION[doc] = "Global switch to enable labgrid development (git) version" LABGRID_USE_DEVEL_VERSION ??= "-1"