projects
/
buildroot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c2877a2
)
utils/scanpypi: include LICENSE.RST to supported license files
author
Alexey Roslyakov
<alexey.roslyakov@gmail.com>
Thu, 20 Jul 2017 05:26:38 +0000
(12:26 +0700)
committer
Thomas Petazzoni
<thomas.petazzoni@free-electrons.com>
Thu, 20 Jul 2017 20:28:00 +0000
(22:28 +0200)
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>
utils/scanpypi
patch
|
blob
|
history
diff --git
a/utils/scanpypi
b/utils/scanpypi
index 9abf3c4139c04d9f6869bd91c1bd5096ad38f32c..02384f2569693751d964189e3b0ea9a5d82d70f2 100755
(executable)
--- 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]