mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-30 06:36:34 +00:00
utils/scanpypi: include LICENSE.RST to supported license files
Signed-off-by: Alexey Roslyakov <alexey.roslyakov@gmail.com> Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
c2877a2a8b
commit
caa3760014
@ -416,8 +416,8 @@ class BuildrootPackage():
|
|||||||
license=', '.join(licenses))
|
license=', '.join(licenses))
|
||||||
lines.append(license_line)
|
lines.append(license_line)
|
||||||
|
|
||||||
filenames = ['LICENCE', 'LICENSE', 'LICENSE.TXT', 'COPYING',
|
filenames = ['LICENCE', 'LICENSE', 'LICENSE.RST', 'LICENSE.TXT',
|
||||||
'COPYING.TXT']
|
'COPYING', 'COPYING.TXT']
|
||||||
license_files = list(find_file_upper_case(filenames, self.tmp_extract))
|
license_files = list(find_file_upper_case(filenames, self.tmp_extract))
|
||||||
license_files = [license.replace(self.tmp_extract, '')[1:]
|
license_files = [license.replace(self.tmp_extract, '')[1:]
|
||||||
for license in license_files]
|
for license in license_files]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user