Skip to contentSkip to conversation

bash-completion: fix upstream version check

PATCH In review Alexander Kanavin 2 participants 4 messages Jun 9, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 bash-completion: fix upstream version check

---
 meta/recipes-support/bash-completion/bash-completion_2.1.bb | 1 +
 1 file changed, 1 insertion(+)
meta/recipes-support/bash-completion/bash-completion_2.1.bb +1 -0
index 8b257d2..9877720 100644
@@ -12,6 +12,7 @@ SRC_URI="http://bash-completion.alioth.debian.org/files/${BPN}-${PV}.tar.bz2"
 SRC_URI[md5sum] = "4e2a9f11a4042a38ee79ddcd048e8b9e"
 SRC_URI[sha256sum] = "2b606804a7d5f823380a882e0f7b6c8a37b0e768e72c3d4107c51fbe8a46ae4f"
 UPSTREAM_CHECK_REGEX = "bash-completion-(?P<pver>(?!2008).+)\.tar"
+UPSTREAM_CHECK_URI = "https://github.com/scop/bash-completion/releases"
 
 PARALLEL_MAKE = ""
 
Signature · 1 line
2.8.1
#1 lore raw

PATCH 2/2 python3-pygobject: only check for even upstream versions

---
 meta/recipes-devtools/python/python3-pygobject_3.18.2.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-devtools/python/python3-pygobject_3.18.2.bb +1 -1
index 4ddae81..03c6c76 100644
@@ -3,7 +3,7 @@ SECTION = "devel/python"
 LICENSE = "LGPLv2.1"
 LIC_FILES_CHKSUM = "file://COPYING;md5=a916467b91076e631dd8edb7424769c7"
 
-inherit autotools pkgconfig gnomebase distutils3-base gobject-introspection
+inherit autotools pkgconfig gnomebase distutils3-base gobject-introspection upstream-version-is-even
 
 DEPENDS += "python3 glib-2.0"
 
Signature · 1 line
2.8.1
#2 lore raw
In reply to Alexander Kanavin
Quoted 8 lines · Alexander Kanavin
(quoted diff) +0 -0
@@ -12,6 +12,7 @@ SRC_URI="

http://bash-completion.alioth.debian.org/files/${BPN}-${PV}.tar.bz2"
SRC_URI[md5sum] = "4e2a9f11a4042a38ee79ddcd048e8b9e" SRC_URI[sha256sum] =
"2b606804a7d5f823380a882e0f7b6c8a37b0e768e72c3d4107c51fbe8a46ae4f"
UPSTREAM_CHECK_REGEX = "bash-completion-(?P<pver>(?!2008).+)\.tar"
+UPSTREAM_CHECK_URI = "https://github.com/scop/bash-completion/releases"

If canonical upstream is github, should we change the SRC_URI to download the releases from there too instead of Debian?

Ross

#3 lore raw
Quoted 11 lines · Ross
    @@ -12,6 +12,7 @@
    SRC_URI="http://bash-completion.alioth.debian.org/files/${BPN}-${PV}.tar.bz2"
     SRC_URI[md5sum] = "4e2a9f11a4042a38ee79ddcd048e8b9e"
     SRC_URI[sha256sum] =
    "2b606804a7d5f823380a882e0f7b6c8a37b0e768e72c3d4107c51fbe8a46ae4f"
     UPSTREAM_CHECK_REGEX = "bash-completion-(?P<pver>(?!2008).+)\.tar"
    +UPSTREAM_CHECK_URI = "https://github.com/scop/bash-completion/releases"

If canonical upstream is github, should we change the SRC_URI to download the releases from there too instead of Debian?

Yes; I'll handle that in a separate commit together with a version update. I didn't realize I just assigned myself to maintain this :D

Alex