From c13b8323a7c19a0984e9507bc4af977a142cc862a9bffe67647f9ad7d4281650 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Thu, 4 Aug 2022 20:58:04 +0000 Subject: [PATCH] Accepting request 992761 from home:dmach:branches:openSUSE:Factory - Update to 3 * New man page format: single-commands-section * Add CLI and conf options for setting the output format * Add CLI and conf options to explicitly specify %prog value * Skip showing commands with help == SUPPRESS * Avoid rendering docs for command aliases * Print program name in upper case in header and footer * The --author CLI option has changed, and takes arbitrary string (typically 'Author Name '), and newly can be specified multiple times. Therefore, it now replaces the '--author-email' option. The --author-email option is kept, but is just an alias to the --author option. * All CLI options can be specified also in setup.cfg * Don't render AUTHORS and DISTRIBUTION if they would contain undefined values * Remove '... was written by' from AUTHORS * Fixed the testsuite against the setuptools v60+ * Output manual pages should be built reproducibly, no matter the current size of the terminal. * Methods build_manpages, get_build_py_cmd, get_install_cmd are now provided in top-level module. * More portable opening and parsing given by python file name. * Split out options by generic argument groups, not only predefined "positional arguments", "options", and Subparsers. * Drop python3-six requirement. * Properly highligh all option argument METAVARs. - spec changes: * BuildArch set to noarch * Add build dependency on pip module OBS-URL: https://build.opensuse.org/request/show/992761 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-argparse-manpage?expand=0&rev=20 --- python-argparse-manpage.changes | 33 +++++++++++++++++++++++++++++++++ python-argparse-manpage.spec | 6 ++++-- v1.5.tar.gz | 3 --- v3.tar.gz | 3 +++ 4 files changed, 40 insertions(+), 5 deletions(-) delete mode 100644 v1.5.tar.gz create mode 100644 v3.tar.gz diff --git a/python-argparse-manpage.changes b/python-argparse-manpage.changes index a72250f..806ceb6 100644 --- a/python-argparse-manpage.changes +++ b/python-argparse-manpage.changes @@ -1,3 +1,36 @@ +------------------------------------------------------------------- +Thu Aug 4 11:18:38 UTC 2022 - Daniel Mach + +- Update to 3 + * New man page format: single-commands-section + * Add CLI and conf options for setting the output format + * Add CLI and conf options to explicitly specify %prog value + * Skip showing commands with help == SUPPRESS + * Avoid rendering docs for command aliases + * Print program name in upper case in header and footer + * The --author CLI option has changed, and takes arbitrary string + (typically 'Author Name '), and newly can be specified + multiple times. Therefore, it now replaces the '--author-email' option. + The --author-email option is kept, but is just an alias to the --author + option. + * All CLI options can be specified also in setup.cfg + * Don't render AUTHORS and DISTRIBUTION if they would contain undefined values + * Remove '... was written by' from AUTHORS + * Fixed the testsuite against the setuptools v60+ + * Output manual pages should be built reproducibly, no matter the current + size of the terminal. + * Methods build_manpages, get_build_py_cmd, get_install_cmd are now + provided in top-level module. + * More portable opening and parsing given by python file name. + * Split out options by generic argument groups, not only predefined + "positional arguments", "options", and Subparsers. + * Drop python3-six requirement. + * Properly highligh all option argument METAVARs. + +- spec changes: + * BuildArch set to noarch + * Add build dependency on pip module + ------------------------------------------------------------------- Tue Apr 20 12:44:31 UTC 2021 - Markéta Machová diff --git a/python-argparse-manpage.spec b/python-argparse-manpage.spec index 5950fbb..1e16b4a 100644 --- a/python-argparse-manpage.spec +++ b/python-argparse-manpage.spec @@ -1,7 +1,7 @@ # # spec file for package python-argparse-manpage # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,13 +19,15 @@ %define mod_name argparse-manpage %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-argparse-manpage -Version: 1.5 +Version: 3 Release: 0 Summary: Tool for automatic manual page building from a Python ArgumentParser object License: Apache-2.0 Group: Development/Languages/Python URL: https://github.com/praiskup/argparse-manpage Source: https://github.com/praiskup/argparse-manpage/archive/v%{version}.tar.gz +BuildArch: noarch +BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module six} diff --git a/v1.5.tar.gz b/v1.5.tar.gz deleted file mode 100644 index 65eb5d5..0000000 --- a/v1.5.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:00f8a427742473edc8748b91b6b99c04a3f1eee53a0af1a206ead8960dbb06eb -size 34290 diff --git a/v3.tar.gz b/v3.tar.gz new file mode 100644 index 0000000..9f16743 --- /dev/null +++ b/v3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b23bea7fb32b187b65a60f9ce26f4cf491ad60aeea8ab9c8df313ada8dc40280 +size 45091