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

Zope pulic license is now zpl21 instead of zpt21 #151

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/pypi2nix/stage2.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ def extract_deps(metadata):
'License :: OSI Approved :: W3C License': 'licenses.w3c',
'License :: OSI Approved :: X.Net License': None,
'License :: OSI Approved :: zlib/libpng License': 'licenses.zlib',
'License :: OSI Approved :: Zope Public License': 'licenses.zpt21',
'License :: OSI Approved :: Zope Public License': 'licenses.zpl21',
'License :: Other/Proprietary License': None,
'License :: Public Domain': 'licenses.publicDomain',
'License :: Repoze Public License': None,
Expand Down Expand Up @@ -148,7 +148,7 @@ def find_license(item):
license = item.get('license', '')

if license in ['LGPL with exceptions or ZPL', 'ZPL 2.1']:
license = "licenses.zpt21"
license = "licenses.zpl21"
elif license in ['MIT', 'MIT License',
'MIT or Apache License, Version 2.0']:
license = "licenses.mit"
Expand Down