1
0
mirror of https://git.yoctoproject.org/meta-arm synced 2026-05-07 04:58:57 +00:00

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 <ross.burton@arm.com>
Signed-off-by: Jon Mason <jon.mason@arm.com>
This commit is contained in:
Ross Burton
2020-11-03 17:16:41 +00:00
committed by Jon Mason
parent 496763e0cc
commit c0f9746d58
@@ -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"