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 <the@example.com>'), 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
This commit is contained in:
Dirk Mueller 2022-08-04 20:58:04 +00:00 committed by Git OBS Bridge
parent 8fdb586988
commit c13b8323a7
4 changed files with 40 additions and 5 deletions

View File

@ -1,3 +1,36 @@
-------------------------------------------------------------------
Thu Aug 4 11:18:38 UTC 2022 - Daniel Mach <daniel.mach@suse.com>
- 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 <the@example.com>'), 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á <mmachova@suse.com>

View File

@ -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}

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:00f8a427742473edc8748b91b6b99c04a3f1eee53a0af1a206ead8960dbb06eb
size 34290

3
v3.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b23bea7fb32b187b65a60f9ce26f4cf491ad60aeea8ab9c8df313ada8dc40280
size 45091