Skip to contentSkip to conversation

bmap-tools: update from 3.4 to 3.5

PATCH Superseded Alex Kiernan 2 participants 2 messages Feb 15, 2019

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 bmap-tools: update from 3.4 to 3.5

bmap-tools 3.5 was released August 2018 but has no release tarball, so switch to using the git fetcher. Also pull in the fix for StopIteration being transformed into RuntimeError for Python 3.7.

---

Changes in v2:
- Drop append of "+git${SRCPV}" to PV

 .../bmap-tools/{bmap-tools_3.4.bb => bmap-tools_3.5.bb}           | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
 rename meta/recipes-support/bmap-tools/{bmap-tools_3.4.bb => bmap-tools_3.5.bb} (74%)
meta/recipes-support/bmap-tools/bmap-tools_3.5.bb renamed from meta/recipes-support/bmap-tools/bmap-tools_3.4.bb +4 -4
similarity index 74%
rename from meta/recipes-support/bmap-tools/bmap-tools_3.4.bb
rename to meta/recipes-support/bmap-tools/bmap-tools_3.5.bb
index 2aae9a3fe0d8..4609a7071c5a 100644
@@ -9,12 +9,12 @@ SECTION = "console/utils"
 LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
 
-SRC_URI = "https://github.com/intel/${BPN}/releases/download/v${PV}/${BP}.tgz"
+SRC_URI = "git://github.com/intel/${BPN}"
 
-SRC_URI[md5sum] = "883420183611aa137cbaf68a91ef0d7e"
-SRC_URI[sha256sum] = "0064891270c180c190f41925b0f6fb9cecac3056f1168d2592dbe90e5f226c0a"
+SRCREV = "db7087b883bf52cbff063ad17a41cc1cbb85104d"
+S = "${WORKDIR}/git"
 
-UPSTREAM_CHECK_URI = "https://github.com/intel/${BPN}/releases"
+UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>.*)"
 
 RDEPENDS_${PN} = "python3-core python3-compression python3-mmap python3-setuptools python3-fcntl"
 
Signature · 1 line
2.7.4
#1 lore raw
Quoted 10 lines · Alex Kiernan

bmap-tools 3.5 was released August 2018 but has no release tarball, so switch to using the git fetcher. Also pull in the fix for StopIteration being transformed into RuntimeError for Python 3.7.

---

Changes in v2:
- Drop append of "+git${SRCPV}" to PV

Please keep the SRCPV as it is not pointing directly to the tag, but for a commit next. So keeping the SRCPV is indeed required for correctness.

Signature · 3 lines
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9 9981-7854          Mobile: +1 (347) 903-9750