forked from aquasecurity/trivy
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(license): reorder logic of how python package licenses are acquir…
…ed (aquasecurity#6220) Co-authored-by: DmitriyLewen <dmitriy.lewen@smartforce.io>
- Loading branch information
1 parent
d7d7265
commit 56cedc0
Showing
7 changed files
with
208 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
46 changes: 46 additions & 0 deletions
46
pkg/dependency/parser/python/packaging/testdata/asyncssh-2.14.2.METADATA
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
Metadata-Version: 2.1 | ||
Name: asyncssh | ||
Version: 2.14.2 | ||
Summary: AsyncSSH: Asynchronous SSHv2 client and server library | ||
Home-page: http://asyncssh.timeheart.net | ||
Author: Ron Frederick | ||
Author-email: ronf@timeheart.net | ||
License: Eclipse Public License v2.0 | ||
Project-URL: Documentation, https://asyncssh.readthedocs.io | ||
Project-URL: Source, https://github.com/ronf/asyncssh | ||
Project-URL: Tracker, https://github.com/ronf/asyncssh/issues | ||
Platform: Any | ||
Classifier: Development Status :: 5 - Production/Stable | ||
Classifier: Environment :: Console | ||
Classifier: Intended Audience :: Developers | ||
Classifier: License :: OSI Approved | ||
Classifier: Operating System :: MacOS :: MacOS X | ||
Classifier: Operating System :: POSIX | ||
Classifier: Programming Language :: Python :: 3.7 | ||
Classifier: Programming Language :: Python :: 3.8 | ||
Classifier: Programming Language :: Python :: 3.9 | ||
Classifier: Programming Language :: Python :: 3.10 | ||
Classifier: Programming Language :: Python :: 3.11 | ||
Classifier: Programming Language :: Python :: 3.12 | ||
Classifier: Topic :: Internet | ||
Classifier: Topic :: Security :: Cryptography | ||
Classifier: Topic :: Software Development :: Libraries :: Python Modules | ||
Classifier: Topic :: System :: Networking | ||
Requires-Python: >= 3.6 | ||
License-File: LICENSE | ||
Requires-Dist: cryptography (>=39.0) | ||
Requires-Dist: typing-extensions (>=3.6) | ||
Provides-Extra: bcrypt | ||
Requires-Dist: bcrypt (>=3.1.3) ; extra == 'bcrypt' | ||
Provides-Extra: fido2 | ||
Requires-Dist: fido2 (>=0.9.2) ; extra == 'fido2' | ||
Provides-Extra: gssapi | ||
Requires-Dist: gssapi (>=1.2.0) ; extra == 'gssapi' | ||
Provides-Extra: libnacl | ||
Requires-Dist: libnacl (>=1.4.2) ; extra == 'libnacl' | ||
Provides-Extra: pkcs11 | ||
Requires-Dist: python-pkcs11 (>=0.7.0) ; extra == 'pkcs11' | ||
Provides-Extra: pyopenssl | ||
Requires-Dist: pyOpenSSL (>=23.0.0) ; extra == 'pyopenssl' | ||
Provides-Extra: pywin32 | ||
Requires-Dist: pywin32 (>=227) ; extra == 'pywin32' |
38 changes: 38 additions & 0 deletions
38
pkg/dependency/parser/python/packaging/testdata/pyphen-0.14.0.METADATA
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
Metadata-Version: 2.1 | ||
Name: pyphen | ||
Version: 0.14.0 | ||
Summary: Pure Python module to hyphenate text | ||
Keywords: hyphenation | ||
Author-email: Guillaume Ayoub <contact@courtbouillon.org> | ||
Maintainer-email: CourtBouillon <contact@courtbouillon.org> | ||
Requires-Python: >=3.7 | ||
Description-Content-Type: text/x-rst | ||
Classifier: Development Status :: 4 - Beta | ||
Classifier: Intended Audience :: Developers | ||
Classifier: License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+) | ||
Classifier: License :: OSI Approved :: GNU Lesser General Public License v2 or later (LGPLv2+) | ||
Classifier: License :: OSI Approved :: Mozilla Public License 1.1 (MPL 1.1) | ||
Classifier: Programming Language :: Python | ||
Classifier: Programming Language :: Python :: 3 | ||
Classifier: Programming Language :: Python :: 3.7 | ||
Classifier: Programming Language :: Python :: 3.8 | ||
Classifier: Programming Language :: Python :: 3.9 | ||
Classifier: Programming Language :: Python :: 3.10 | ||
Classifier: Programming Language :: Python :: 3.11 | ||
Classifier: Programming Language :: Python :: Implementation :: CPython | ||
Classifier: Programming Language :: Python :: Implementation :: PyPy | ||
Classifier: Topic :: Text Processing | ||
Classifier: Topic :: Text Processing :: Linguistic | ||
Requires-Dist: sphinx ; extra == "doc" | ||
Requires-Dist: sphinx_rtd_theme ; extra == "doc" | ||
Requires-Dist: pytest ; extra == "test" | ||
Requires-Dist: isort ; extra == "test" | ||
Requires-Dist: flake8 ; extra == "test" | ||
Project-URL: Changelog, https://github.com/Kozea/Pyphen/releases | ||
Project-URL: Code, https://github.com/Kozea/Pyphen | ||
Project-URL: Documentation, https://pyphen.org/ | ||
Project-URL: Donation, https://opencollective.com/courtbouillon | ||
Project-URL: Homepage, https://www.courtbouillon.org/pyphen | ||
Project-URL: Issues, https://github.com/Kozea/Pyphen/issues | ||
Provides-Extra: doc | ||
Provides-Extra: test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters