Package: cmake-format / 0.6.13-7

Metadata

Package Version Patches format
cmake-format 0.6.13-7 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
0001 Allow test suite to run out of tree.patch | (download)

cmakelang/command_tests/__init__.py | 5 5 + 0 - 0 !
cmakelang/command_tests/misc_tests.py | 3 3 + 0 - 0 !
cmakelang/format/invocation_tests.py | 31 18 + 13 - 0 !
cmakelang/lint/test/expect_tests.py | 3 3 + 0 - 0 !
cmakelang/lint/test/genfiles.py | 6 6 + 0 - 0 !
cmakelang/pypi/setup.py | 3 3 + 0 - 0 !
cmakelang/test/screw_users_test.py | 3 3 + 0 - 0 !
cmakelang/test/version_number_test.py | 3 3 + 0 - 0 !
cmakelang/tests.py | 6 6 + 0 - 0 !
9 files changed, 50 insertions(+), 13 deletions(-)

 allow test suite to run out-of-tree

... such as in .pybuild/python_X.Y/build.

This involves including on extra package in the installation but is mostly
bodging things to substitute `$PYBUILD_TEST_BASE_OVERRIDE` for `$PWD` when
hunting for test resources.

0002 Disable tests which don t make sense for packaging.patch | (download)

cmakelang/tests.py | 12 6 + 6 - 0 !
1 file changed, 6 insertions(+), 6 deletions(-)

 disable tests which don't make sense for packaging

TestContribution and TestContributorAgreements are todo with managing upstream
PRs and the like.

TestCommandDatabase only makes sense at development time as a sanity check when
the version of cmake is fixed.

0003 Do not install ctest to.patch | (download)

cmakelang/pypi/setup.py | 1 0 + 1 - 0 !
1 file changed, 1 deletion(-)

 do not install ctest-to

0004 Compatibility with argparse manpage.patch | (download)

cmakelang/annotate.py | 19 14 + 5 - 0 !
cmakelang/format/__main__.py | 13 10 + 3 - 0 !
cmakelang/genparsers.py | 23 15 + 8 - 0 !
cmakelang/lint/__main__.py | 19 13 + 6 - 0 !
4 files changed, 52 insertions(+), 22 deletions(-)

 compatibility with `argparse-manpage`

* Refactor construction of `argparse.ArgumentParser` into a `get_argparser()`
  function in each binary.
* Set `prog` property (the default uses `sys.arg[0]` which breaks with
  `argparse-manpage`, arguably this is an `argparse-manpage` bug).
* Set the `man_short_description` property based on the first line of the
  description. This is used as a summary in the `NAME` section of the man page.

0005 Correct misspellings in command line option descript.patch | (download)

cmakelang/configuration.py | 4 2 + 2 - 0 !
cmakelang/doc/changelog.rst | 2 1 + 1 - 0 !
cmakelang/doc/configopts.rst | 6 3 + 3 - 0 !
cmakelang/doc/format-algorithm.rst | 6 3 + 3 - 0 !
cmakelang/doc/parse-automatic.rst | 2 1 + 1 - 0 !
cmakelang/lint/lintdb.py | 4 2 + 2 - 0 !
cmakelang/parse/argument_nodes.py | 2 1 + 1 - 0 !
7 files changed, 13 insertions(+), 13 deletions(-)

 correct misspellings in command line option descriptions & docs

0006 Update TestConfigInclude._test_passed to support Pyt.patch | (download)

cmakelang/test/config_include_test.py | 16 7 + 9 - 0 !
1 file changed, 7 insertions(+), 9 deletions(-)

 update testconfiginclude._test_passed to support python 3.11

Update snippet from linked page

0007 patch out usage of six.patch | (download)

cmakelang/BUILD | 9 0 + 9 - 0 !
cmakelang/command_tests/BUILD | 122 0 + 122 - 0 !
cmakelang/command_tests/__init__.py | 4 1 + 3 - 0 !
cmakelang/config_util.py | 4 1 + 3 - 0 !
cmakelang/contrib/BUILD | 26 4 + 22 - 0 !
cmakelang/format/BUILD | 26 0 + 26 - 0 !
cmakelang/lex/BUILD | 8 0 + 8 - 0 !
cmakelang/lint/test/BUILD | 13 0 + 13 - 0 !
cmakelang/parse/BUILD | 12 0 + 12 - 0 !
cmakelang/pypi/setup.py | 1 0 + 1 - 0 !
cmakelang/test/BUILD | 19 0 + 19 - 0 !
11 files changed, 6 insertions(+), 238 deletions(-)

 drop dependency on "six"

(cherry picked from commit 3b14bbd02c24cf9d5bc2ecba41151de8c3424bf8)