python3-sphinx-rtd-theme: correct upstream version check

Message ID 20220321092122.174159-1-alex@linutronix.de
State Accepted, archived
Commit 975be11022f42d5e91ac82bdd253a7570a72b5a7
Headers show
Series python3-sphinx-rtd-theme: correct upstream version check | expand

Commit Message

Alexander Kanavin March 21, 2022, 9:21 a.m. UTC
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
---
 meta/recipes-devtools/python/python3-sphinx-rtd-theme_0.5.0.bb | 1 +
 1 file changed, 1 insertion(+)

Patch

diff --git a/meta/recipes-devtools/python/python3-sphinx-rtd-theme_0.5.0.bb b/meta/recipes-devtools/python/python3-sphinx-rtd-theme_0.5.0.bb
index 4a43b595aa..fa375055a1 100644
--- a/meta/recipes-devtools/python/python3-sphinx-rtd-theme_0.5.0.bb
+++ b/meta/recipes-devtools/python/python3-sphinx-rtd-theme_0.5.0.bb
@@ -11,6 +11,7 @@  DEPENDS = "python3-sphinx"
 PYPI_PACKAGE = "sphinx_rtd_theme"
 
 SRC_URI[sha256sum] = "22c795ba2832a169ca301cd0a083f7a434e09c538c70beb42782c073651b707d"
+UPSTREAM_CHECK_REGEX ?= "/sphinx-rtd-theme/(?P<pver>(\d+[\.\-_]*)+)/"
 
 inherit setuptools3 pypi