chiark
/
gitweb
/
~ianmdlvl
/
fdroidserver.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ed55dc
)
Recognise more licenses in Google Code project pages
author
Ciaran Gultnieks
<ciaran@ciarang.com>
Tue, 21 Aug 2012 20:59:49 +0000
(21:59 +0100)
committer
Ciaran Gultnieks
<ciaran@ciarang.com>
Tue, 21 Aug 2012 20:59:49 +0000
(21:59 +0100)
fdroidserver/import.py
patch
|
blob
|
history
diff --git
a/fdroidserver/import.py
b/fdroidserver/import.py
index 783e9c6e606c5ca2122ebda099bc25216a0814d9..6f435aecbc745718bda0f925e3754fda5be76934 100644
(file)
--- a/
fdroidserver/import.py
+++ b/
fdroidserver/import.py
@@
-191,6
+191,12
@@
def main():
license = 'Apache2'
elif ltext == 'MIT License':
license = 'MIT'
+ elif ltext == 'GNU Lesser GPL':
+ license = 'LGPL'
+ elif ltext == 'Mozilla Public License 1.1':
+ license = 'MPL'
+ elif ltext == 'New BSD License':
+ license = 'NewBSD'
else:
print "License " + ltext + " is not recognised"
sys.exit(1)