python3-pymysql: 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 a6e462e3b1)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
Derek Straka 2023-09-27 04:02:22 +00:00 committed by Armin Kuster
parent 4d9d20b9e2
commit 439947e5a0

View File

@ -13,4 +13,7 @@ SRC_URI[sha256sum] = "816927a350f38d56072aeca5dfb10221fe1dc653745853d30a216637f5
PYPI_PACKAGE = "PyMySQL"
inherit pypi setuptools3
UPSTREAM_CHECK_URI = "https://pypi.python.org/pypi/pymysql/"
UPSTREAM_CHECK_REGEX = "/pymysql/(?P<pver>(\d+[\.\-_]*)+)"
RDEPENDS:${PN} += "${PYTHON_PN}-cryptography"