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

Signed-off-by: Derek Straka <derek@asterius.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Derek Straka
2024-12-16 15:55:14 +00:00
committed by Khem Raj
parent dd241e2406
commit c089690f57
106 changed files with 112 additions and 43 deletions

View File

@@ -11,9 +11,8 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=528175c84163bb800d23ad835c7fa0fc"
SRC_URI[sha256sum] = "4f13a7df8bf36a51e81dd9f3605fede45a4878fe02f9236349fd82a3f0612f96"
PYPI_PACKAGE = "PyMySQL"
UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}"
inherit pypi python_setuptools_build_meta
UPSTREAM_CHECK_URI = "https://pypi.python.org/pypi/pymysql/"
UPSTREAM_CHECK_REGEX = "/pymysql/(?P<pver>(\d+[\.\-_]*)+)"
RDEPENDS:${PN} += "python3-cryptography"