File tree Expand file tree Collapse file tree 1 file changed +2
-9
lines changed Expand file tree Collapse file tree 1 file changed +2
-9
lines changed Original file line number Diff line number Diff line change @@ -185,7 +185,7 @@ def parse(cls, location):
185185 # Deprecated and not a license expression, just a URL
186186 elif 'licenseUrl' in nuspec :
187187 extracted_license_statement = nuspec .get ('licenseUrl' )
188-
188+
189189 yield models .PackageData (
190190 datasource_id = cls .datasource_id ,
191191 type = cls .default_package_type ,
@@ -194,17 +194,10 @@ def parse(cls, location):
194194 description = description or None ,
195195 homepage_url = nuspec .get ('projectUrl' ) or None ,
196196 parties = parties ,
197- extracted_license_statement = extracted_license_statement ,
198197 dependencies = get_dependencies (nuspec ),
199- # FIXME: license has evolved and is now SPDX...
200- declared_license = nuspec .get ('licenseUrl' ) or None ,
198+ extracted_license_statement = extracted_license_statement ,
201199 copyright = nuspec .get ('copyright' ) or None ,
202200 vcs_url = vcs_url ,
203201 ** urls ,
204202 )
205203
206- if not package_data .license_expression and package_data .declared_license :
207- package_data .license_expression = cls .compute_normalized_license (
208- package_data )
209-
210- yield package_data
You can’t perform that action at this time.
0 commit comments