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

Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 0c6c135017)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
Derek Straka
2023-09-27 03:34:33 +00:00
committed by Armin Kuster
parent 103c054b70
commit afd2c01f71

View File

@@ -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<pver>(\d+[\.\-_]*)+)"
RDEPENDS:${PN} += " \
${PYTHON_PN}-six \
${PYTHON_PN}-numbers \