Skip to content

Commit 6ee52da

Browse files
committed
feat(curations): Improve various Python packages
Align older curations with new way of doing declared license curations. Improvements include: - More elaborate proof for curations - No URLs pointing to main or master branches Signed-off-by: Thomas Steenbergen <[email protected]>
1 parent 3724846 commit 6ee52da

14 files changed

+65
-39
lines changed

curations/PyPI/_/asgiref.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
- id: "PyPI::asgiref:(,4.0.0["
22
curations:
33
comment: |
4-
The library is licensed under BSD-3-Clause, see:
5-
https://github.com/django/asgiref/blob/main/LICENSE
4+
Mapping declared license based on
5+
https://github.com/django/asgiref/blob/3.6.0/LICENSE and
6+
https://github.com/django/asgiref/blob/3.6.0/setup.cfg#L14.
67
declared_license_mapping:
78
"BSD License": "BSD-3-Clause"

curations/PyPI/_/astroid.yml

100644100755
Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
1-
- id: "PyPI::astroid:(,3.0.0["
1+
- id: "PyPI::astroid:"
22
curations:
33
comment: |
4-
The library is licensed under LGPL-2.1-or-later, see:
5-
https://github.com/PyCQA/astroid/blob/main/LICENSE
4+
Mapping declared license based on
5+
https://github.com/pylint-dev/astroid/blob/v2.8.1/LICENSE,
6+
https://github.com/pylint-dev/astroid/blob/v2.8.1/setup.cfg#L10 and
7+
https://github.com/pylint-dev/astroid/blob/v2.8.1/setup.cfg#L16.
68
declared_license_mapping:
79
"GNU Lesser General Public License v2 (LGPLv2)": "LGPL-2.1-or-later"

curations/PyPI/_/click.yml

100644100755
Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1-
- id: "PyPI::click:(,9.0.0["
1+
- id: "PyPI::click:"
22
curations:
33
comment: |
4-
The library is licensed under BSD-3-Clause, see:
5-
https://github.com/pallets/click/blob/main/LICENSE.rst
4+
Mapping declared license based on
5+
https://github.com/pallets/click/blob/6.4/LICENSE and
6+
https://github.com/pallets/click/blob/6.4/setup.py#L24.
67
declared_license_mapping:
78
"BSD License": "BSD-3-Clause"

curations/PyPI/_/fakeredis.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
- id: "PyPI::fakeredis:(,2.0.0["
22
curations:
33
comment: |
4-
The library is licensed under BSD-3-Clause, see:
5-
https://github.com/jamesls/fakeredis/blob/master/COPYING
4+
Mapping declared license based on
5+
https://github.com/jamesls/fakeredis/blob/v0.4.1/COPYING,
6+
https://github.com/jamesls/fakeredis/blob/v0.4.1/setup.py#L12 and
7+
https://github.com/jamesls/fakeredis/blob/v0.4.1/setup.py#L21.
68
declared_license_mapping:
9+
"BSD": "BSD-3-Clause"
710
"BSD License": "BSD-3-Clause"

curations/PyPI/_/idna.yml

100644100755
Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
1-
- id: "PyPI::idna:(,4.0["
1+
- id: "PyPI::idna:"
22
curations:
33
comment: |
4-
The library is licensed under BSD-3-Clause, see:
5-
https://github.com/kjd/idna/blob/master/LICENSE.md
4+
Mapping declared license based on
5+
https://github.com/kjd/idna/blob/v3.2/LICENSE.md,
6+
https://github.com/kjd/idna/blob/v3.2/setup.py#L32 and
7+
https://github.com/kjd/idna/blob/v3.2/setup.py#L38.
68
declared_license_mapping:
79
"BSD License": "BSD-3-Clause"

curations/PyPI/_/j1939.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
- id: "PyPI::j1939:"
22
curations:
3-
comment: The correct VCS URL was found via https://pypi.org/project/j1939/.
3+
comment: |
4+
Code repository location missing in package metadata.
45
vcs:
56
url: "https://github.com/benkfra/j1939.git"
67
- id: "PyPI::j1939:0.1.0.dev1"
78
curations:
8-
comment: Due to a change in delimiters the revision cannot be guessed.
9+
comment: Due to a change in version delimiters the revision cannot be guessed.
910
vcs:
1011
revision: "v0.1.0-dev1"

curations/PyPI/_/lazy-object-proxy.yml

100644100755
Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
1-
- id: "PyPI::lazy-object-proxy:(,2.0.0["
1+
- id: "PyPI::lazy-object-proxy:"
22
curations:
33
comment: |
4-
The library is licensed under BSD-2-Clause, see:
5-
https://github.com/ionelmc/python-lazy-object-proxy/blob/master/LICENSE
4+
Mapping declared license based on
5+
https://github.com/ionelmc/python-lazy-object-proxy/blob/v1.9.0/LICENSE,
6+
https://github.com/ionelmc/python-lazy-object-proxy/blob/v1.9.0/setup.py#L79 and
7+
https://github.com/ionelmc/python-lazy-object-proxy/blob/v1.9.0/setup.py#L97
68
declared_license_mapping:
79
"BSD License": "BSD-2-Clause"

curations/PyPI/_/ndg-httpsclient.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
- id: "PyPi::ndg-httpsclient:"
1+
- id: "PyPI::ndg-httpsclient:"
22
curations:
33
comment: |
44
Mapping declared license based on
55
https://github.com/cedadev/ndg_httpsclient/blob/v0.4.0/LICENSE,
66
https://github.com/cedadev/ndg_httpsclient/blob/v0.4.0/setup.py#L112 and
77
https://github.com/cedadev/ndg_httpsclient/blob/v0.4.0/setup.py#L134.
88
declared_license_mapping:
9-
"BSD": "BSD - See LICENCE file for details"
9+
"BSD - See LICENCE file for details": "BSD-3-Clause"
1010
"BSD License": "BSD-3-Clause"

curations/PyPI/_/packaging.yml

100644100755
Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
1-
- id: "PyPI::packaging:(,22.0["
1+
- id: "PyPI::packaging:"
22
curations:
33
comment: |
4-
The library is licensed under BSD-2-Clause, see:
5-
https://github.com/pypa/packaging/blob/main/LICENSE.BSD
4+
Mapping declared license based on
5+
https://github.com/pypa/packaging/blob/20.9/LICENSE,
6+
https://github.com/pypa/packaging/blob/20.9/LICENSE.BSD,
7+
https://github.com/pypa/packaging/blob/20.9/LICENSE.APACHE and
8+
https://github.com/pypa/packaging/blob/20.9/setup.py#L56-L57.
69
declared_license_mapping:
7-
"BSD License": "BSD-2-Clause"
10+
Apache Software License: "Apache-2.0 OR BSD-2-Clause"
11+
BSD License: "Apache-2.0 OR BSD-2-Clause"

curations/PyPI/_/pycparser.yml

100644100755
Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
1-
- id: "PyPI::pycparser:(,3.0["
1+
- id: "PyPI::pycparser:"
22
curations:
33
comment: |
4-
The library is licensed under BSD-3-Clause, see:
5-
https://github.com/eliben/pycparser/blob/master/LICENSE
4+
Mapping declared license based on
5+
https://github.com/eliben/pycparser/blob/release_v2.21/LICENSE,
6+
https://github.com/eliben/pycparser/blob/release_v2.21/setup.py#L45 and
7+
https://github.com/eliben/pycparser/blob/release_v2.21/setup.py#L54.
68
declared_license_mapping:
9+
"BSD": "BSD-3-Clause"
710
"BSD License": "BSD-3-Clause"

0 commit comments

Comments
 (0)