+2024-02-27 Collin Funk <collin.funk1@gmail.com>
+
+ gnulib-tool.py: Follow gnulib-tool changes, part 29.
+ Follow gnulib-tool change
+ 2021-03-06 Paul Eggert <eggert@cs.ucla.edu>
+ parse-datetime2: fix licensing
+ * pygnulib/GLModuleSystem.py (GLModule.getLicense): Handle the special
+ licensing case for parse-datetime2 or any other module starting with
+ "parse-datetime". Update comment.
+
2024-02-26 Bruno Haible <bruno@clisp.org>
gnulib-tool.py: Add more comments.
--------------------------------------------------------------------------------
-commit 487b9551b63ef936a6be6df38d1c9484cd97810c
-Author: Paul Eggert <eggert@cs.ucla.edu>
-Date: Sat Mar 6 08:23:48 2021 -0800
-
- parse-datetime2: fix licensing
-
- Problem reported by Bruno Haible in:
- https://lists.gnu.org/r/bug-gnulib/2021-03/msg00017.html
- * gnulib-tool (func_get_license): Treat parse-datetime2
- (actually, anything starting with "parse-datetime")
- like parse-datetime, as far as licenses go.
-
---------------------------------------------------------------------------------
-
commit 0be855ee827bf7e9043eeb626c4fd847704be2e6
Author: Bruno Haible <bruno@clisp.org>
Date: Tue Dec 29 02:48:31 2020 +0100
raise GLError(18, str(self))
else: # if not self.config['errors']
sys.stderr.write('gnulib-tool: warning: module %s lacks a License\n' % str(self))
- if str(self) == 'parse-datetime':
- # This module is under a weaker license only for the purpose of some
+ if str(self).startswith('parse-datetime'):
+ # These modules are under a weaker license only for the purpose of some
# users who hand-edit it and don't use gnulib-tool. For the regular
# gnulib users they are under a stricter license.
result = 'GPL'