On Fri, 4 Nov 2022 at 17:20, Ross Burton <[email protected]> wrote: > +LIC_FILES_CHKSUM = "file://${S}/LICENSE;md5=941ee9cd1609382f946352712a319b4b” > > Relative paths are relative to S, so this can be just file://LICENSE. > > +# 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[sha256sum] = > "f9e8d81d0405ba66d181529af42a3354f838c939095ff99930da6aa9cdf6fe46" > > That looks like a dynamically generated git archive, which means the checksum > will change over time. > > If there is no static tarball, use the git: fetcher.
There is: https://pypi.org/project/Brotli/#files You just need to set the filename suffix correctly (pypi class has a facility for it) so it doesn't try to fetch with the default suffix. Alex
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#172723): https://lists.openembedded.org/g/openembedded-core/message/172723 Mute This Topic: https://lists.openembedded.org/mt/94798159/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
