From b1e2cc9c07e7399ceca862dce9328c7719fdf3fd Mon Sep 17 00:00:00 2001 From: Alex Kiernan Date: Sat, 16 Feb 2019 13:41:55 +0000 Subject: [PATCH] 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. (From OE-Core rev: 3fbee26af2f3263180f75652b5dd6e50adb1d8fe) Signed-off-by: Alex Kiernan Signed-off-by: Richard Purdie --- .../{bmap-tools_3.4.bb => bmap-tools_3.5.bb} | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) rename meta/recipes-support/bmap-tools/{bmap-tools_3.4.bb => bmap-tools_3.5.bb} (71%) diff --git a/meta/recipes-support/bmap-tools/bmap-tools_3.4.bb b/meta/recipes-support/bmap-tools/bmap-tools_3.5.bb similarity index 71% 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 2aae9a3fe0..a3f77d374f 100644 --- a/meta/recipes-support/bmap-tools/bmap-tools_3.4.bb +++ b/meta/recipes-support/bmap-tools/bmap-tools_3.5.bb @@ -9,14 +9,15 @@ 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" +PV .= "+git${SRCPV}" -UPSTREAM_CHECK_URI = "https://github.com/intel/${BPN}/releases" +UPSTREAM_CHECK_GITTAGREGEX = "v(?P.*)" -RDEPENDS_${PN} = "python3-core python3-compression python3-mmap python3-setuptools python3-fcntl" +RDEPENDS_${PN} = "python3-core python3-compression python3-mmap python3-setuptools python3-fcntl python3-six" inherit python3native inherit setuptools3