Skip to contentSkip to conversation

mingw-libgnurx: add UPSTREAM_CHECK_URI

PATCH New Yi Zhao 1 participant 1 message Nov 28, 2025

lore
Share & tools
lore

Yi Zhao

author
#0 lore raw

PATCH 1/1 mingw-libgnurx: add UPSTREAM_CHECK_URI

Add UPSTREAM_CHECK_URI and UPSTREAM_CHECK_REGEX to check the correct latest stable verison.

Before the patch:

$ devtool latest-version mingw-libgnurx
INFO: Current version: 2.5.1
INFO: Latest version:

After the patch:

$ devtool latest-version mingw-libgnurx
INFO: Current version: 2.5.1
INFO: Latest version: 2.5.1
---
 recipes-support/mingw-libgnurx/mingw-libgnurx_2.5.1.bb | 3 +++
 1 file changed, 3 insertions(+)
recipes-support/mingw-libgnurx/mingw-libgnurx_2.5.1.bb +3 -0
index 4547298..5318ca4 100644
@@ -9,6 +9,9 @@ SRC_URI = "http://download.sourceforge.net/mingw/Other/UserContributed/regex/min
            "
 SRC_URI[sha256sum] = "7147b7f806ec3d007843b38e19f42a5b7c65894a57ffc297a76b0dcd5f675d76"
 
+UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/mingw/files/Other/UserContributed/regex/"
+UPSTREAM_CHECK_REGEX = "mingw-regex-(?P<pver>\d+(\.\d+)+)"
+
 inherit autotools
 
 # Specify any options you want to pass to the configure script using EXTRA_OECONF:
Signature · 1 line
2.34.1