15
0

Accepting request 1034370 from home:yarunachalam:branches:devel:languages:python

- Update to v4 
  News in v4
  The manual page generator logic is now separated from the 'build_manpages'
  module (which provides setup.py integration helpers). Therefore the
  argparse-manpage doesn't necessarily have to depend on setuptools.
  Projects that want to integrate using 'setup.py' should though place a new
  "extra" named 'argparse-manpage[setuptools]' into their set of build
  requirements in project.toml file.
  The old 'build_manpage' command (!= 'build_manpages') is now more
  isolated from the rest of the code, likely never loaded.
  the Manpage class API was changed in v3 so it required an additional
  constructor 'data' argument. This change was reverted, and the only
  argument is again the ArgumentParser object.
  The 'version' and 'description' options were fixed.
  New options 'manual_section' and 'manual_title' were added.
  The manual page now automatically generates a current date in headers.
  Several groff escaping issues were fixed.

OBS-URL: https://build.opensuse.org/request/show/1034370
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-argparse-manpage?expand=0&rev=24
This commit is contained in:
2022-11-08 09:42:53 +00:00
committed by Git OBS Bridge
parent c2ef86ec66
commit 49d4799f16
4 changed files with 31 additions and 4 deletions

View File

@@ -19,7 +19,7 @@
%define mod_name argparse-manpage
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-argparse-manpage
Version: 3
Version: 4
Release: 0
Summary: Tool for automatic manual page building from a Python ArgumentParser object
License: Apache-2.0