aboutcode-org / aboutcode-org/scancode-toolkit

freebsd package can't find expected ruby license

未关闭
#1,470 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
bug license scan package scan package-formats
主要语言
Python
星标
2.6k
派生
791
平均合并
1 天 12 小时
30 天内合并 PR
5

描述

### Description

When freebsd package parser to parse the following content:
`{"name":"rubygem-ttfunk","origin":"print/rubygem-ttfunk","version":"1.5.1","comment":"Font Metrics Parser for Prawn","maintainer":"ruby@FreeBSD.org","www":"https://github.com/prawnpdf/ttfunk","abi":"FreeBSD:10:*","arch":"freebsd:10:*","prefix":"/usr/local","flatsize":1656569,"licenselogic":"or","licenses":["GPLv3","RUBY","GPLv2"],"desc":"Font Metrics Parser for Prawn\n\nWWW: https://github.com/prawnpdf/ttfunk","deps":{"ruby":{"origin":"lang/ruby24","version":"2.4.4,1"},"ruby24-gems":{"origin":"devel/ruby-gems","version":"2.7.6"}},"categories":["print","rubygems"]}`

And it returns the package info with:
```

"license_expression": "gpl-2.0 AND unknown",
"declared_license": "RUBY OR GPLv2",

```

Ruby license should be detected instead of "unknown" here in license_expression.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。