aboutsummaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorGravatar Alexey Roslyakov <alexey.roslyakov@gmail.com>2017-07-20 12:26:38 +0700
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-07-20 22:28:00 +0200
commitcaa376001455c8c3ebaaa3e4de2078dc3cce8948 (patch)
treebc39b6256a6919d3057dfdbed0c84cb985fd80c9 /utils
parentc2877a2a8b9ac4ddf4359b5ee7266acd78a87c1d (diff)
downloadbuildroot-caa376001455c8c3ebaaa3e4de2078dc3cce8948.tar.gz
buildroot-caa376001455c8c3ebaaa3e4de2078dc3cce8948.tar.bz2
utils/scanpypi: include LICENSE.RST to supported license files
Signed-off-by: Alexey Roslyakov <alexey.roslyakov@gmail.com> Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'utils')
-rwxr-xr-xutils/scanpypi4
1 files 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]