python3-gpiod: don't hardcode the project version in recipe

Use the provided PV variable when referring to project's version.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Bartosz Golaszewski 2023-04-11 15:16:09 +02:00 committed by Khem Raj
parent bb9d3afe9d
commit 61e84230ae

View File

@ -13,7 +13,7 @@ require recipes-support/libgpiod/libgpiod-src.inc
SRC_URI += "file://run-ptest"
SRC_URI[sha256sum] = "f74cbf82038b3cb98ebeb25bce55ee2553be28194002d2a9889b9268cce2dd07"
S = "${WORKDIR}/libgpiod-2.0/bindings/python"
S = "${WORKDIR}/libgpiod-${PV}/bindings/python"
inherit setuptools3 ptest