python3-*: Update recipes to correctly check the upstream packages

With the upstream check migrated to the simple repo API, a number of the
recipes required updates to:
1. Remove outdated UPSTREAM_CHECK_REGEX checks
2. Add recipe specific UPSTREAM_CHECK_PYPI_PACKAGE definitions for
   packages that use '_', CamelCase, or other deviations from PEP625 in
   the source archive

(From OE-Core rev: efbb98977664cd5392ec00d97d0eaf5374a32573)

Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Derek Straka
2024-12-13 19:48:02 +00:00
committed by Richard Purdie
parent 2ce210011c
commit 7dcc37c329
40 changed files with 29 additions and 31 deletions

View File

@@ -9,6 +9,7 @@ SRC_URI[sha256sum] = "d72faed0376ab039736c2ba12e30695e2788c4aa569c9c3e3d72131de2
inherit pypi setuptools3 update-alternatives
PYPI_PACKAGE = "ndg_httpsclient"
UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}"
DEPENDS += " \
python3-pyopenssl \
@@ -24,8 +25,6 @@ RDEPENDS:${PN} += " \
BBCLASSEXTEND = "native nativesdk"
UPSTREAM_CHECK_REGEX = ""
ALTERNATIVE:${PN} = "ndg_httpclient"
ALTERNATIVE_LINK_NAME[ndg_httpclient] = "${bindir}/ndg_httpclient"
ALTERNATIVE_PRIORITY = "30"