[Buildroot] [PATCH 2/2] scanpypi: include LICENSE.RST in the list of supported license files

Yegor Yefremov yegorslists at googlemail.com
Thu Jul 20 05:51:39 UTC 2017


On Thu, Jul 20, 2017 at 7:26 AM, Alexey Roslyakov
<alexey.roslyakov at gmail.com> wrote:
> Signed-off-by: Alexey Roslyakov <alexey.roslyakov at gmail.com>

Reviewed-by: Yegor Yefremov <yegorslists at googlemail.com>

> ---
>  utils/scanpypi | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> 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]
> --
> 2.13.0
>



More information about the buildroot mailing list