Skip to contentSkip to conversation

python3-pymysql: Fix upstream check by specifying the UPSTREAM_CHECK_URI and UPSTREAM_CHECK_REGEX

PATCH New Derek Straka 1 participant 2 messages Sep 27, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 python3-pymysql: Fix upstream check by specifying the UPSTREAM_CHECK_URI and UPSTREAM_CHECK_REGEX

---
 meta-python/recipes-devtools/python/python3-pymysql_1.0.2.bb | 3 +++
 1 file changed, 3 insertions(+)
meta-python/recipes-devtools/python/python3-pymysql_1.0.2.bb +3 -0
index 1f6fbd3bb..062d7e7ea 100644
@@ -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"
Signature · 1 line
2.34.1
#1 lore raw

PATCH 2/2 python3-pymysql: update verion 1.0.2 -> 1.1.0

---
 .../{python3-pymysql_1.0.2.bb => python3-pymysql_1.1.0.bb}    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-pymysql_1.0.2.bb => python3-pymysql_1.1.0.bb} (81%)
meta-python/recipes-devtools/python/python3-pymysql_1.1.0.bb renamed from meta-python/recipes-devtools/python/python3-pymysql_1.0.2.bb +2 -2
similarity index 81%
rename from meta-python/recipes-devtools/python/python3-pymysql_1.0.2.bb
rename to meta-python/recipes-devtools/python/python3-pymysql_1.1.0.bb
index 062d7e7ea..f797674e8 100644
@@ -8,10 +8,10 @@ HOMEPAGE = "https://pymysql.readthedocs.io"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=528175c84163bb800d23ad835c7fa0fc"
 
-SRC_URI[sha256sum] = "816927a350f38d56072aeca5dfb10221fe1dc653745853d30a216637f5d7ad36"
+SRC_URI[sha256sum] = "4f13a7df8bf36a51e81dd9f3605fede45a4878fe02f9236349fd82a3f0612f96"
 
 PYPI_PACKAGE = "PyMySQL"
-inherit pypi setuptools3
+inherit pypi python_setuptools_build_meta
 
 UPSTREAM_CHECK_URI = "https://pypi.python.org/pypi/pymysql/"
 UPSTREAM_CHECK_REGEX = "/pymysql/(?P<pver>(\d+[\.\-_]*)+)"
Signature · 1 line
2.34.1