gnulib-tool.py: Follow gnulib-tool changes, part 29.
authorCollin Funk <collin.funk1@gmail.com>
Tue, 27 Feb 2024 05:22:23 +0000 (21:22 -0800)
committerBruno Haible <bruno@clisp.org>
Tue, 27 Feb 2024 10:32:33 +0000 (11:32 +0100)
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.

ChangeLog
gnulib-tool.py.TODO
pygnulib/GLModuleSystem.py

index d399841e183bbcf1e95f59d69859f83aff6fa483..50ed84269a14c6056397cf9247de988ce338e7b2 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+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.
index c72746941e8e4caa467154ac88c56f6a0916f290..7be0e243e775d948cdeb71c623f875cd42f5695d 100644 (file)
@@ -605,20 +605,6 @@ Date:   Mon Apr 26 23:31:29 2021 -0700
 
 --------------------------------------------------------------------------------
 
-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
index c6f0eb15c7a59b0c00ca3952c1efdc7258e13b22..787614d38c948249e43d939f56b9cd913c0f30fc 100644 (file)
@@ -665,8 +665,8 @@ class GLModule(object):
                         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'