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 \