diff --git a/build/build_parser.py b/build/build_parser.py index 9d614f2..4ee2c91 100644 --- a/build/build_parser.py +++ b/build/build_parser.py @@ -77,7 +77,7 @@ def parse_and_build(arglist: [str]): ) parser.add_argument( '-l', '--license', - help='Insert MIT license into package header', + help='Insert LPPL and GPLv3 license into package header', action='store_true', dest='include_license' ) diff --git a/config/header_parts.py b/config/header_parts.py index 41bf08b..da56541 100644 --- a/config/header_parts.py +++ b/config/header_parts.py @@ -1,22 +1,27 @@ LICENSE = [ 'Copyright © {year} {copyright_holders}', '', - 'Permission is hereby granted, free of charge, to any person obtaining a copy', - '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.', + 'This work may be distributed and/or modified', '', - 'THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR', - 'IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,', - '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,', - 'OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE', - 'SOFTWARE.' + '1. under the LaTeX Project Public License and/or', + '2. under the GNU General Public License' + '', + '', + 'Distribution under conditions of the LaTeX Project Public License,', + 'requires either version 1.3 of this license or (at your option)', + '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 = [