change generated license to dual gplv3 / lppl1.3

This commit is contained in:
Maximilian Keßler 2022-01-15 15:16:59 +01:00
parent 60488127e5
commit 6277050e22
2 changed files with 21 additions and 16 deletions

View file

@ -77,7 +77,7 @@ def parse_and_build(arglist: [str]):
) )
parser.add_argument( parser.add_argument(
'-l', '--license', '-l', '--license',
help='Insert MIT license into package header', help='Insert LPPL and GPLv3 license into package header',
action='store_true', action='store_true',
dest='include_license' dest='include_license'
) )

View file

@ -1,22 +1,27 @@
LICENSE = [ LICENSE = [
'Copyright © {year} {copyright_holders}', 'Copyright © {year} {copyright_holders}',
'', '',
'Permission is hereby granted, free of charge, to any person obtaining a copy', 'This work may be distributed and/or modified',
'of this software and associated documentation files (the “Software”), to deal',
'in the Software without restriction, including without limitation the rights',
'to use, copy, modify, merge, publish, distribute, sublicense, and/or sell',
'copies of the Software, and to permit persons to whom the Software is',
'furnished to do so, subject to the following conditions:',
'The above copyright notice and this permission notice shall be included in all',
'copies or substantial portions of the Software.',
'', '',
'THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR', '1. under the LaTeX Project Public License and/or',
'IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,', '2. under the GNU General Public License'
'FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE', '',
'AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER', '',
'LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,', 'Distribution under conditions of the LaTeX Project Public License,',
'OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE', 'requires either version 1.3 of this license or (at your option)',
'SOFTWARE.' 'any later version.',
'The latest version of this license is in',
' http://www.latex-project.org/lppl.txt',
'and version 1.3 or later is part of all distributions of LaTeX',
'version 2005/12/01 or later.',
'',
'This work has the LPPL maintenance status \`maintained\'.',
'',
'The Current Maintainer of this work is {copyright_holders}.',
'',
'',
'Distribution under the GNU General Public License requires either',
'version 3 or (at your opinion) any later version.'
] ]
PYTEX_INFO_TEXT = [ PYTEX_INFO_TEXT = [