[OE-core] [PATCH] python3-scons: Fix license file collision

Richard Purdie richard.purdie at linuxfoundation.org
Tue Mar 3 13:28:28 UTC 2020


On Tue, 2020-03-03 at 11:21 +0000, Peter Kjellerstedt wrote:
> >  SUMMARY = "Software Construction tool (make/autotools replacement)"
> >  SECTION = "devel/python"
> >  LICENSE = "MIT"
> > -LIC_FILES_CHKSUM = "file://${WORKDIR}/LICENSE;md5=e14e1b33428df24a40a782ae142785d0"
> > +LIC_FILES_CHKSUM = "file://${WORKDIR}/LICENSE-python3-scons-${PV};md5=e14e1b33428df24a40a782ae142785d0"
> > 
> >  # pypi package does not have a valid license file
> > -SRC_URI += "https://raw.githubusercontent.com/SCons/scons/${PV}/LICENSE;name=license"
> > +SRC_URI += "https://raw.githubusercontent.com/SCons/scons/${PV}/LICENSE;downloadfilename=LICENSE-python3-scons-${PV};name=license"
> 
> Any reason to not use "${BP}" instead of "python3-scons-${PV}" above?
> Or should I send a cleanup patch?

No reason. I tend to find BP a little harder to read I guess but its
just a personal preference.

Cheers,

Richard



More information about the Openembedded-core mailing list