Simon Josefsson wrote:
> Also it seems to "forget" gl_LGPL([2]) in gnulib-cache.m4.

This patch fixes it. It was an omission in my commit on 2022-08-03
"gnulib-tool.py: Follow gnulib-tool changes, part 23."


2024-03-16  Bruno Haible  <br...@clisp.org>

        gnulib-tool.py: Don't lose the gl_LGPL value from gnulib-cache.m4.
        Reported by Simon Josefsson in
        <https://lists.gnu.org/archive/html/bug-gnulib/2024-03/msg00152.html>.
        * pygnulib/GLConfig.py (GLConfig.default): For the 'lgpl' property,
        return None, not False.

diff --git a/pygnulib/GLConfig.py b/pygnulib/GLConfig.py
index ce34de8aec..049fe35a2c 100644
--- a/pygnulib/GLConfig.py
+++ b/pygnulib/GLConfig.py
@@ -285,10 +285,10 @@ class GLConfig(object):
             elif key in ['localpath', 'modules', 'avoids', 'tests',
                          'incl_test_categories', 'excl_test_categories']:
                 return list()
-            elif key in ['libtool', 'lgpl', 'gnu_make', 'automake_subdir', 
'conddeps', 'symbolic',
+            elif key in ['libtool', 'gnu_make', 'automake_subdir', 'conddeps', 
'symbolic',
                          'lsymbolic', 'libtests', 'dryrun']:
                 return False
-            elif key == 'vc_files':
+            elif key in ['lgpl', 'vc_files']:
                 return None
             elif key == 'errors':
                 return True




Reply via email to