Skip to content
This repository was archived by the owner on Oct 7, 2022. It is now read-only.

Commit ae53e5d

Browse files
committed
Zope pulic license is now zpl21 instead of zpt21
1 parent 14493c5 commit ae53e5d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/pypi2nix/stage2.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ def extract_deps(metadata):
120120
'License :: OSI Approved :: W3C License': 'licenses.w3c',
121121
'License :: OSI Approved :: X.Net License': None,
122122
'License :: OSI Approved :: zlib/libpng License': 'licenses.zlib',
123-
'License :: OSI Approved :: Zope Public License': 'licenses.zpt21',
123+
'License :: OSI Approved :: Zope Public License': 'licenses.zpl21',
124124
'License :: Other/Proprietary License': None,
125125
'License :: Public Domain': 'licenses.publicDomain',
126126
'License :: Repoze Public License': None,
@@ -148,7 +148,7 @@ def find_license(item):
148148
license = item.get('license', '')
149149

150150
if license in ['LGPL with exceptions or ZPL', 'ZPL 2.1']:
151-
license = "licenses.zpt21"
151+
license = "licenses.zpl21"
152152
elif license in ['MIT', 'MIT License',
153153
'MIT or Apache License, Version 2.0']:
154154
license = "licenses.mit"

0 commit comments

Comments
 (0)