Skip to contentSkip to conversation

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

PATCH New Bartosz Golaszewski 1 participant 1 message Apr 11, 2023

lore
Share & tools
lore
#0 lore raw

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

From: Bartosz Golaszewski <[email protected]>

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

---
 meta-python/recipes-devtools/python/python3-gpiod_2.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-python/recipes-devtools/python/python3-gpiod_2.0.bb +1 -1
index 18cf8ae8b..93b7b935c 100644
@@ -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
 
Signature · 1 line
2.37.2