Skip to contentSkip to conversation

python3-cachecontrol: Fix upstream check by specifying the UPSTREAM_CHECK_URI and UPSTREAM_CHECK_REGEX

PATCH New Derek Straka 1 participant 1 message Sep 27, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 python3-cachecontrol: Fix upstream check by specifying the UPSTREAM_CHECK_URI and UPSTREAM_CHECK_REGEX

---
 .../recipes-devtools/python/python3-cachecontrol_0.13.1.bb     | 3 +++
 1 file changed, 3 insertions(+)
meta-python/recipes-devtools/python/python3-cachecontrol_0.13.1.bb +3 -0
index 535bac0e3..b4c90bcff 100644
@@ -7,6 +7,9 @@ SRC_URI[sha256sum] = "f012366b79d2243a6118309ce73151bf52a38d4a5dac8ea57f09bd2908
 
 inherit pypi python_poetry_core
 
+UPSTREAM_CHECK_URI = "https://pypi.python.org/pypi/CacheControl/"
+UPSTREAM_CHECK_REGEX = "/CacheControl/(?P<pver>(\d+[\.\-_]*)+)"
+
 RDEPENDS:${PN} += "\
     python3-crypt \
     python3-datetime \
Signature · 1 line
2.34.1