diff mbox series

[v2,2/5] update meta/recipes-devtools/python/python3-brotli_1.0.9.bb

Message ID 20221105082535.554-2-cp0613@linux.alibaba.com
State New
Headers show
Series [v2,1/5] add python3-brotli_1.0.9 in meta/recipes-devtools/python | expand

Commit Message

cp0613 Nov. 5, 2022, 8:25 a.m. UTC
From: cp0613 <cp0613@linux.alibaba.com>

---
 meta/recipes-devtools/python/python3-brotli_1.0.9.bb | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
diff mbox series

Patch

diff --git a/meta/recipes-devtools/python/python3-brotli_1.0.9.bb b/meta/recipes-devtools/python/python3-brotli_1.0.9.bb
index 590ef8ac2f..db2b217aef 100644
--- a/meta/recipes-devtools/python/python3-brotli_1.0.9.bb
+++ b/meta/recipes-devtools/python/python3-brotli_1.0.9.bb
@@ -1,20 +1,20 @@ 
 SUMMARY = "Brotli compression format"
 SECTION = "devel/python"
 LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://${WORKDIR}/brotli-${PV}/LICENSE;md5=941ee9cd1609382f946352712a319b4b"
+LIC_FILES_CHKSUM = "file://${S}/LICENSE;md5=941ee9cd1609382f946352712a319b4b"
 
-# pypi package does not have a valid license file
+# there is no valid file in pypi, so download from github
 SRC_URI = "http://codeload.github.com/google/brotli/tar.gz/v${PV};downloadfilename=brotli-${PV}.tar.gz"
 
-SRC_URI[md5sum] = "c2274f0c7af8470ad514637c35bcee7d"
 SRC_URI[sha256sum] = "f9e8d81d0405ba66d181529af42a3354f838c939095ff99930da6aa9cdf6fe46"
 
 S = "${WORKDIR}/brotli-${PV}"
 
 inherit setuptools3
 
-RDEPENDS_${PN} = "\
+RDEPENDS:${PN} = "\
   ${PYTHON_PN}-cffi \
 "
 
 BBCLASSEXTEND = "native nativesdk"
+