[meta-arm] arm/python3-cbor: point the LIC_FILES_CHKSUM at the source tree
Submitted by Ross Burton on Nov. 3, 2020, 5:16 p.m.
|
Patch ID: 178086
Details
Commit Message
@@ -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"
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 <ross.burton@arm.com> --- meta-arm/recipes-devtools/python/python3-cbor_1.0.0.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) -- 2.25.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#1326): https://lists.yoctoproject.org/g/meta-arm/message/1326 Mute This Topic: https://lists.yoctoproject.org/mt/78011293/1003190 Group Owner: meta-arm+owner@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/meta-arm/unsub [mhalstead@linuxfoundation.org] -=-=-=-=-=-=-=-=-=-=-=-