From afd2c01f7124249fc2c2ab020e7313e5cb7aaa2f Mon Sep 17 00:00:00 2001 From: Derek Straka Date: Wed, 27 Sep 2023 03:34:33 +0000 Subject: python3-pyhamcrest: Fix upstream check by specifying the UPSTREAM_CHECK_URI and UPSTREAM_CHECK_REGEX Signed-off-by: Derek Straka Signed-off-by: Khem Raj (cherry picked from commit 0c6c1350170ebb6d302b9c242ebded7d015bd9b1) Signed-off-by: Armin Kuster --- meta-python/recipes-devtools/python/python3-pyhamcrest_2.0.4.bb | 3 +++ 1 file changed, 3 insertions(+) (limited to 'meta-python/recipes-devtools') diff --git a/meta-python/recipes-devtools/python/python3-pyhamcrest_2.0.4.bb b/meta-python/recipes-devtools/python/python3-pyhamcrest_2.0.4.bb index 888278af80..4ee84531e1 100644 --- a/meta-python/recipes-devtools/python/python3-pyhamcrest_2.0.4.bb +++ b/meta-python/recipes-devtools/python/python3-pyhamcrest_2.0.4.bb @@ -9,6 +9,9 @@ inherit pypi python_setuptools_build_meta DEPENDS += "${PYTHON_PN}-hatch-vcs-native" +UPSTREAM_CHECK_URI = "https://pypi.python.org/pypi/PyHamcrest/" +UPSTREAM_CHECK_REGEX = "/PyHamcrest/(?P(\d+[\.\-_]*)+)" + RDEPENDS:${PN} += " \ ${PYTHON_PN}-six \ ${PYTHON_PN}-numbers \ -- cgit v1.2.3-54-g00ecf