]> Savannah Git Hosting - gnulib.git/commit
gnulib-tool.py: Implement option --avoid.
authorBruno Haible <bruno@clisp.org>
Thu, 4 Aug 2022 10:40:04 +0000 (12:40 +0200)
committerBruno Haible <bruno@clisp.org>
Thu, 4 Aug 2022 10:40:04 +0000 (12:40 +0200)
commit353460b98e53e4244379d5526a2de5f42301e227
treee550022cd6aa25f12e5f5a1bd86faee72abb89b0
parente7101c252c537dd198af9329d861c353241bcb61
gnulib-tool.py: Implement option --avoid.

* pygnulib/GLModuleSystem.py (GLModuleTable.__init__): Compute the
effective avoids list here.
(GLModuleTable.transitive_closure, GLModuleTable.add_dummy): Consider
the avoids list.
* pygnulib/GLImport.py (GLImport.gnulib_cache): Use the avoids list from
GLConfig directly.
(GLImport.prepare): No need any more to set the avoids list in the
GLModuleTable.
ChangeLog
pygnulib/GLImport.py
pygnulib/GLModuleSystem.py