From d18bbb38f1fa347c5822c678318599add8cbc5c9 Mon Sep 17 00:00:00 2001 From: Sebastian Jordan Date: Sat, 16 Sep 2017 13:14:27 +0200 Subject: [PATCH] Zope pulic license is now zpl21 instead of zpt21 --- src/pypi2nix/stage2.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pypi2nix/stage2.py b/src/pypi2nix/stage2.py index 63b6e46..8666bd8 100644 --- a/src/pypi2nix/stage2.py +++ b/src/pypi2nix/stage2.py @@ -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, @@ -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"