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>
This commit is contained in:
Derek Straka 2023-09-27 03:34:33 +00:00 committed by Khem Raj
parent 4570e4aa47
commit 0c6c135017

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 \