summaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2022-08-08 00:02:59 +0200
committerBruno Haible <bruno@clisp.org>2022-08-08 00:02:59 +0200
commit276c20ee288873b519be96ffe9b3a98bfe3bb8f1 (patch)
tree1648246619f6c15f657968ae8160acac3eab4634 /ChangeLog
parentd528738ac3449ce1c4897882e6032eb3a3e929e2 (diff)
downloadgnulib-276c20ee288873b519be96ffe9b3a98bfe3bb8f1.tar.gz
gnulib-tool.py: Fix --extract-dependencies result.
* pygnulib/GLModuleSystem.py (GLModule.getDependencies): Return a snippet, not a list. Implement dependency of ${module}-tests on ${module}. (GLModule.getDependenciesWithoutConditions, GLModule.getDependenciesWithConditions): New methods. (GLModuleTable.transitive_closure): Call getDependenciesWithConditions. * pygnulib/GLEmiter.py (GLEmiter.autoconfSnippets): Call getDependenciesWithoutConditions. * gnulib-tool.py (main) [--extract-dependencies]: Update.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog11
1 files changed, 11 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 1278d8e4d9..beb60578d0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,16 @@
2022-08-07 Bruno Haible <bruno@clisp.org>
+ gnulib-tool.py: Fix --extract-dependencies result.
+ * pygnulib/GLModuleSystem.py (GLModule.getDependencies): Return a
+ snippet, not a list. Implement dependency of ${module}-tests on
+ ${module}.
+ (GLModule.getDependenciesWithoutConditions,
+ GLModule.getDependenciesWithConditions): New methods.
+ (GLModuleTable.transitive_closure): Call getDependenciesWithConditions.
+ * pygnulib/GLEmiter.py (GLEmiter.autoconfSnippets): Call
+ getDependenciesWithoutConditions.
+ * gnulib-tool.py (main) [--extract-dependencies]: Update.
+
gnulib-tool.py: Rename a method.
* pygnulib/GLModuleSystem.py (GLModule.getAutoconfEarlySnippet): Renamed
from GLModule.getAutoconfSnippet_Early.