fosslight-source 2.1.12__py3-none-any.whl → 2.1.14__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -193,7 +193,7 @@ def parsing_scancode_32_earlier(scancode_file_list: list, has_error: bool = Fals
193
193
  result_item.licenses = license_detected
194
194
 
195
195
  if is_manifest_file(file_path):
196
- result_item.is_license_text = True
196
+ result_item.is_manifest_file = True
197
197
 
198
198
  # Remove copyright info for license text file of GPL family
199
199
  if should_remove_copyright_for_gpl_license_text(license_detected, result_item.is_license_text):
@@ -308,7 +308,7 @@ def parsing_scancode_32_later(
308
308
  result_item.is_license_text = file.get("percentage_of_license_text", 0) > 90 or is_notice_file(file_path)
309
309
 
310
310
  if is_manifest_file(file_path) and len(license_detected) > 0:
311
- result_item.is_license_text = True
311
+ result_item.is_manifest_file = True
312
312
 
313
313
  # Remove copyright info for license text file of GPL family
314
314
  if should_remove_copyright_for_gpl_license_text(license_detected, result_item.is_license_text):
@@ -34,6 +34,7 @@ class SourceItem(FileItem):
34
34
  super().__init__("")
35
35
  self.source_name_or_path = value
36
36
  self.is_license_text = False
37
+ self.is_manifest_file = False
37
38
  self.license_reference = ""
38
39
  self.scanoss_reference = {}
39
40
  self.matched_lines = "" # Only for SCANOSS results
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: fosslight-source
3
- Version: 2.1.12
3
+ Version: 2.1.14
4
4
  Summary: FOSSLight Source Scanner
5
5
  Home-page: https://github.com/fosslight/fosslight_source_scanner
6
6
  Download-URL: https://github.com/fosslight/fosslight_source_scanner
@@ -25,6 +25,7 @@ Requires-Dist: fosslight-binary>=5.0.0
25
25
  Requires-Dist: scancode-toolkit>=32.0.2
26
26
  Requires-Dist: fingerprints==1.2.3
27
27
  Requires-Dist: normality==2.6.1
28
+ Requires-Dist: click==8.2.1
28
29
 
29
30
  <!--
30
31
  Copyright (c) 2021 LG Electronics
@@ -1,16 +1,16 @@
1
1
  fosslight_source/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
2
  fosslight_source/_help.py,sha256=q3eKABhBrz8hvWSvmLVszStNpL18TCYLnUuefaU4V-M,2013
3
3
  fosslight_source/_license_matched.py,sha256=-3H881XQjFDafRttBsuboS3VbCPYEvPH1pwWXptknE4,2164
4
- fosslight_source/_parsing_scancode_file_item.py,sha256=iPsl1khHhuYHio2JChELDPzQ2jyRO2JMhx16Skqu71U,16087
4
+ fosslight_source/_parsing_scancode_file_item.py,sha256=Nok9bZRH2oBCORb4LTx0skGLxpw_u4fNmvaVL5YheQw,16089
5
5
  fosslight_source/_parsing_scanoss_file.py,sha256=0f5JzjnFU-kcPZRX7OKnextyvANjKwwNZeyCJVC7eME,4624
6
- fosslight_source/_scan_item.py,sha256=naSJ3sUx_Rqqu3r6lWEvReoaSDFpt5lq6YVxu-sBnNM,6399
6
+ fosslight_source/_scan_item.py,sha256=6cMAvE0Q2nnW2XwUt4xezXp_NmXzZsmjUqe78zoSTlU,6437
7
7
  fosslight_source/cli.py,sha256=2TuHZvDKUp8R12DM9gesTF23RT7OBw968AdzNLtVanU,16650
8
8
  fosslight_source/run_scancode.py,sha256=YSzLoS4p-Kge91uQpI4483ZfiapF-3umgJHggxKtiuU,7220
9
9
  fosslight_source/run_scanoss.py,sha256=8wu3sa-YBqjfb5x2dbDJuAdw3rrExueOW23WdzqDCaU,5721
10
10
  fosslight_source/run_spdx_extractor.py,sha256=Hr9sTv06cJaVITy8amwexIW2FV8_rUcFw6hKmR9ZYws,1990
11
- fosslight_source-2.1.12.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
12
- fosslight_source-2.1.12.dist-info/METADATA,sha256=29WKIwBbteYUMJgbclH_OMZfK3dr5kdhaL9qNcnvBlM,3294
13
- fosslight_source-2.1.12.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
14
- fosslight_source-2.1.12.dist-info/entry_points.txt,sha256=G4bBRWqSrJ68g-2M-JtNDrSZsdym_M7_KohQ2qR1vG8,113
15
- fosslight_source-2.1.12.dist-info/top_level.txt,sha256=C2vw-0OIent84Vq-UEk1gt_kK1EL8dIItzBzp3WNyA4,17
16
- fosslight_source-2.1.12.dist-info/RECORD,,
11
+ fosslight_source-2.1.14.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
12
+ fosslight_source-2.1.14.dist-info/METADATA,sha256=MYuoJrNT94A3i6M_pAvQkIrb3dUI8Ztx1ebAgcIKliU,3322
13
+ fosslight_source-2.1.14.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
14
+ fosslight_source-2.1.14.dist-info/entry_points.txt,sha256=G4bBRWqSrJ68g-2M-JtNDrSZsdym_M7_KohQ2qR1vG8,113
15
+ fosslight_source-2.1.14.dist-info/top_level.txt,sha256=C2vw-0OIent84Vq-UEk1gt_kK1EL8dIItzBzp3WNyA4,17
16
+ fosslight_source-2.1.14.dist-info/RECORD,,