From c0f9746d586e78dbaf25c59c477a2f0815435f3d Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Tue, 3 Nov 2020 17:16:41 +0000 Subject: [PATCH] arm/python3-cbor: point the LIC_FILES_CHKSUM at the source tree Upstream doesn't actually distribute the LICENSE file in the PyPi tarball, so use a fragment of setup.py to checksum the license until they do. Change-Id: I903fc82a18c6555ade9f249f31d00e4233e1c974 Signed-off-by: Ross Burton Signed-off-by: Jon Mason --- meta-arm/recipes-devtools/python/python3-cbor_1.0.0.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/meta-arm/recipes-devtools/python/python3-cbor_1.0.0.bb b/meta-arm/recipes-devtools/python/python3-cbor_1.0.0.bb index 7c529f30..1df062bc 100644 --- a/meta-arm/recipes-devtools/python/python3-cbor_1.0.0.bb +++ b/meta-arm/recipes-devtools/python/python3-cbor_1.0.0.bb @@ -2,7 +2,9 @@ DESCRIPTION = "An implementation of RFC 7049 - Concise Binary Object Representat HOMEPAGE = "https://github.com/brianolson/cbor_py" LICENSE = "Apache-2.0" -LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10" +# Use a line from setup.py until LICENSE is distributed +# (https://github.com/brianolson/cbor_py/issues/20) +LIC_FILES_CHKSUM = "file://setup.py;beginline=88;endline=88;md5=267392b618a88b03e5987f69d9b98699" SRC_URI[md5sum] = "22b03b59784fd78cb6c27aa498af0db6" SRC_URI[sha256sum] = "13225a262ddf5615cbd9fd55a76a0d53069d18b07d2e9f19c39e6acb8609bbb6"