From: Fabrice Fontaine Date: Sun, 4 Jul 2021 19:38:59 +0000 (+0200) Subject: utils/scanpypi: search LICENSE.MD X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=60aa896904c0d8a07d6fbbf7e90b7f9efd196678;p=buildroot.git utils/scanpypi: search LICENSE.MD Some packages such as python-idna has a LICENSE.md file: https://github.com/kjd/idna/blob/master/LICENSE.md Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN --- diff --git a/utils/scanpypi b/utils/scanpypi index 47c7c00c60..8327fc3fc5 100755 --- a/utils/scanpypi +++ b/utils/scanpypi @@ -495,8 +495,8 @@ class BuildrootPackage(): """ lines = [] - filenames = ['LICENCE', 'LICENSE', 'LICENSE.RST', 'LICENSE.TXT', - 'COPYING', 'COPYING.TXT'] + filenames = ['LICENCE', 'LICENSE', 'LICENSE.MD', 'LICENSE.RST', + 'LICENSE.TXT', 'COPYING', 'COPYING.TXT'] self.license_files = list(find_file_upper_case(filenames, self.tmp_extract)) lines.append(self.__get_license_names(self.license_files))