mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-03-09 22:00:00 +00:00
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:
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user