arm/python3-cbor: point the LIC_FILES_CHKSUM at the source tree
PATCH 1/1 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 <[email protected]>
--- meta-arm/recipes-devtools/python/python3-cbor_1.0.0.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
meta-arm/recipes-devtools/python/python3-cbor_1.0.0.bb +3 -1
@@ -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"
Signature · 1 line
2.25.1