From: Alexey Roslyakov Date: Thu, 20 Jul 2017 05:26:38 +0000 (+0700) Subject: utils/scanpypi: include LICENSE.RST to supported license files X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=caa376001455c8c3ebaaa3e4de2078dc3cce8948;p=buildroot.git utils/scanpypi: include LICENSE.RST to supported license files Signed-off-by: Alexey Roslyakov Reviewed-by: Yegor Yefremov Signed-off-by: Thomas Petazzoni --- diff --git a/utils/scanpypi b/utils/scanpypi index 9abf3c4139..02384f2569 100755 --- a/utils/scanpypi +++ b/utils/scanpypi @@ -416,8 +416,8 @@ class BuildrootPackage(): license=', '.join(licenses)) lines.append(license_line) - filenames = ['LICENCE', 'LICENSE', 'LICENSE.TXT', 'COPYING', - 'COPYING.TXT'] + filenames = ['LICENCE', 'LICENSE', 'LICENSE.RST', '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]