Bug#948890: licensecheck: does not parse correctly "License: BSD 3 clause"

Jonas Smedegaard jonas at jones.dk
Thu Jan 16 13:48:35 GMT 2020


Control: tags -1 confirmed

Hi Dominique,

Quoting Dominique Dumont (2020-01-14 10:57:51)
> Running licensecheck on scikit-learn package:
> 
> $ licensecheck --copyright sklearn/manifold/_t_sne.py
> sklearn/manifold/_t_sne.py: BSD (unspecified)
>   [Copyright: 2014]
> 
> Even though this file is BDS-3-clause:
> 
> $ grep -C 3 BSD sklearn/manifold/_t_sne.py
> # Author: Alexander Fabisch  -- <afabisch at informatik.uni-bremen.de>
> # Author: Christopher Moody <chrisemoody at gmail.com>
> # Author: Nick Travers <nickt at squareup.com>
> # License: BSD 3 clause (C) 2014

Thanks, this is a bug indeed.

Licensecheck is known to be weak at detecting declarative-style license 
statements (i.e. not a sentence but only "license" + colon+orequals + 
"license-name".

Good to have a concrete example of how that style is used in practice.

Should be simple to fix (as soon as I am at my regular workspace in a 
few days).

 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private



More information about the pkg-perl-maintainers mailing list