[1/3] python3-hatch-vcs: fix upstream version check

Message ID 20220627094951.1882744-1-alex@linutronix.de
State Accepted, archived
Commit 58b85b0e82385d902a103685dc263216ed9b4df4
Headers show
Series [1/3] python3-hatch-vcs: fix upstream version check | expand

Commit Message

Alexander Kanavin June 27, 2022, 9:49 a.m. UTC
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
---
 meta/recipes-devtools/python/python3-hatch-vcs_0.2.0.bb | 2 ++
 1 file changed, 2 insertions(+)

Patch

diff --git a/meta/recipes-devtools/python/python3-hatch-vcs_0.2.0.bb b/meta/recipes-devtools/python/python3-hatch-vcs_0.2.0.bb
index 100099c130..cca2c49d2b 100644
--- a/meta/recipes-devtools/python/python3-hatch-vcs_0.2.0.bb
+++ b/meta/recipes-devtools/python/python3-hatch-vcs_0.2.0.bb
@@ -10,3 +10,5 @@  PYPI_PACKAGE = "hatch_vcs"
 SRC_URI[sha256sum] = "9913d733b34eec9bb0345d0626ca32165a4ad2de15d1ce643c36d09ca908abff"
 
 BBCLASSEXTEND = "native nativesdk"
+
+UPSTREAM_CHECK_REGEX = "/hatch-vcs/(?P<pver>(\d+[\.\-_]*)+)/"