summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYegor Yefremov <yegorslists@googlemail.com>2016-07-07 11:04:39 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-07-07 11:48:52 +0200
commit28eae03f5e68e365a3db319eac2db4f406b16e5c (patch)
tree0b63807a99c8c10c34682663e8d41467488847b5
parent13f364daaf8bf34bd6ecebf5f5f3fa237818ff35 (diff)
downloadbuildroot-28eae03f5e68e365a3db319eac2db4f406b16e5c.tar.gz
buildroot-28eae03f5e68e365a3db319eac2db4f406b16e5c.zip
scanpypi: include LICENCE in the list of supported license files
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rwxr-xr-xsupport/scripts/scanpypi3
1 files changed, 2 insertions, 1 deletions
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]
OpenPOWER on IntegriCloud