Skip to contentSkip to conversation

python3-pyproject-hooks: fix upstream version check

PATCH New Alexander Kanavin 1 participant 2 messages May 3, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 python3-pyproject-hooks: fix upstream version check

From: Alexander Kanavin <[email protected]>

---
 meta/recipes-devtools/python/python3-pyproject-hooks_1.0.0.bb | 2 --
 1 file changed, 2 deletions(-)
meta/recipes-devtools/python/python3-pyproject-hooks_1.0.0.bb +0 -2
index 9d08e7acc41..c3f1fb75ed1 100644
@@ -22,5 +22,3 @@ RDEPENDS:${PN} += " \
 do_compile:class-native () {
     python_flit_core_do_manual_build
 }
-
-UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}"
Signature · 1 line
2.39.2
#1 lore raw

PATCH 2/2 wayland: fix upstream version check

From: Alexander Kanavin <[email protected]>

---
 meta/recipes-graphics/wayland/wayland-protocols_1.35.bb | 1 +
 meta/recipes-graphics/wayland/wayland-utils_1.2.0.bb    | 1 +
 meta/recipes-graphics/wayland/wayland_1.22.0.bb         | 2 +-
 meta/recipes-graphics/wayland/weston_13.0.0.bb          | 2 +-
 4 files changed, 4 insertions(+), 2 deletions(-)
meta/recipes-graphics/wayland/wayland-protocols_1.35.bb +1 -0
index 7e70de346cc..69378c02566 100644
@@ -13,6 +13,7 @@ SRC_URI = "https://gitlab.freedesktop.org/wayland/wayland-protocols/-/releases/$
 SRC_URI[sha256sum] = "37a2716a28133dc819341c568a29d21e8cb72130e5c126a1fcfc9f42c23d95ab"
 
 UPSTREAM_CHECK_URI = "https://gitlab.freedesktop.org/wayland/wayland-protocols/-/tags"
+UPSTREAM_CHECK_REGEX = "releases/(?P<pver>.+)"
 
 inherit meson pkgconfig allarch
 
meta/recipes-graphics/wayland/wayland-utils_1.2.0.bb +1 -0
index 878c7a267e6..59d414a0a67 100644
@@ -13,6 +13,7 @@ SRC_URI = "https://gitlab.freedesktop.org/wayland/wayland-utils/-/releases/${PV}
 SRC_URI[sha256sum] = "d9278c22554586881802540751bcc42569262bf80cd9ac9b0fd12ff4bd09a9e4"
 
 UPSTREAM_CHECK_URI = "https://gitlab.freedesktop.org/wayland/wayland-utils/-/tags"
+UPSTREAM_CHECK_REGEX = "releases/(?P<pver>.+)"
 
 inherit meson pkgconfig
 
meta/recipes-graphics/wayland/wayland_1.22.0.bb +1 -1
index 6aa76063ea2..e7babc9ec64 100644
@@ -20,7 +20,7 @@ SRC_URI = "https://gitlab.freedesktop.org/wayland/wayland/-/releases/${PV}/downl
 SRC_URI[sha256sum] = "1540af1ea698a471c2d8e9d288332c7e0fd360c8f1d12936ebb7e7cbc2425842"
 
 UPSTREAM_CHECK_URI = "https://gitlab.freedesktop.org/wayland/wayland/-/tags"
-UPSTREAM_CHECK_REGEX = "wayland-(?P<pver>\d+\.\d+\.(?!9\d+)\d+)"
+UPSTREAM_CHECK_REGEX = "releases/(?P<pver>\d+\.\d+\.(?!9\d+)\d+)"
 
 inherit meson pkgconfig ptest
 
meta/recipes-graphics/wayland/weston_13.0.0.bb +1 -1
index 798cf6f19ce..cb0024c5ca3 100644
@@ -17,7 +17,7 @@ SRC_URI = "https://gitlab.freedesktop.org/wayland/weston/-/releases/${PV}/downlo
 SRC_URI[sha256sum] = "52ff1d4aa2394a2e416c85a338b627ce97fa71d43eb762fd4aaf145d36fc795a"
 
 UPSTREAM_CHECK_URI = "https://gitlab.freedesktop.org/wayland/weston/-/tags"
-UPSTREAM_CHECK_REGEX = "weston-(?P<pver>\d+\.\d+\.(?!9\d+)\d+)"
+UPSTREAM_CHECK_REGEX = "releases/(?P<pver>\d+\.\d+\.(?!9\d+)\d+)"
 
 inherit meson pkgconfig useradd
 
Signature · 1 line
2.39.2