From: Yegor Yefremov Date: Thu, 7 Jul 2016 09:04:39 +0000 (+0200) Subject: scanpypi: include LICENCE in the list of supported license files X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=28eae03f5e68e365a3db319eac2db4f406b16e5c;p=buildroot.git scanpypi: include LICENCE in the list of supported license files Signed-off-by: Yegor Yefremov Signed-off-by: Thomas Petazzoni --- diff --git a/support/scripts/scanpypi b/support/scripts/scanpypi index 7546cf1641..e150ae588d 100755 --- a/support/scripts/scanpypi +++ b/support/scripts/scanpypi @@ -416,7 +416,8 @@ class BuildrootPackage(): license=', '.join(licenses)) lines.append(license_line) - filenames = ['LICENSE', 'LICENSE.TXT', 'COPYING', 'COPYING.TXT'] + filenames = ['LICENCE', 'LICENSE', 'LICENSE.TXT', 'COPYING', + 'COPYING.TXT'] license_files = list(find_file_upper_case(filenames, self.tmp_extract)) license_files = [license.replace(self.tmp_extract, '')[1:] for license in license_files]