#1079623 licensecheck: license patterns: extract metadata from pyproject.toml data

#1079623#5
Date:
2024-08-11 08:01:58 UTC
From:
To:
Dear maintainer,

While reviewing the package 'python-autodocsumm' on Debian Mentors[1], I
found issue below.

lrc reports:

philwyett@ks-tarkin:~/Development/builder/debian/mentoring/python-
autodocsumm-0.2.12$ lrc -t
: Versions: recon 1.14  check 3.3.9-1

Parsing Source Tree  ....
Reading copyright    ....
Running licensecheck ....

d/copyright     | licensecheck

Apache-2.0      | Apache           pyproject.toml

Offending file contains:

license = { text = 'Apache-2.0' }

classifiers = [
    'Development Status :: 5 - Production/Stable',
    'Intended Audience :: Developers',
    'Topic :: Documentation',
    'License :: OSI Approved :: Apache Software License',

[1] https://mentors.debian.net/package/python-autodocsumm/

Regards

Phil

#1079623#16
Date:
2024-08-25 14:30:12 UTC
From:
To:
Hi Phil,

thanks for reporting this problem.

It looks to me that licensecheck is triggering on the line
   'License :: OSI Approved :: Apache Software License',

having ignored the line

license = { text = 'Apache-2.0' }


I'll clone the bug to licensecheck and do a workaraound.


Cheers,
Peter