[Buildroot] [git commit] scanpypi: include LICENCE in the list of supported license files

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Thu Jul 7 09:48:52 UTC 2016


commit: https://git.buildroot.net/buildroot/commit/?id=28eae03f5e68e365a3db319eac2db4f406b16e5c
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

Signed-off-by: Yegor Yefremov <yegorslists at googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
---
 support/scripts/scanpypi | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/support/scripts/scanpypi b/support/scripts/scanpypi
index 7546cf1..e150ae5 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]


More information about the buildroot mailing list