From 49d4799f16a5ef7958df8240e8601ceec998189baccf54e8bc6b5363a30cd267 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Tue, 8 Nov 2022 09:42:53 +0000 Subject: [PATCH] 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 --- python-argparse-manpage.changes | 27 +++++++++++++++++++++++++++ python-argparse-manpage.spec | 2 +- v3.tar.gz | 3 --- v4.tar.gz | 3 +++ 4 files changed, 31 insertions(+), 4 deletions(-) delete mode 100644 v3.tar.gz create mode 100644 v4.tar.gz diff --git a/python-argparse-manpage.changes b/python-argparse-manpage.changes index bac06bf..dc8a7d0 100644 --- a/python-argparse-manpage.changes +++ b/python-argparse-manpage.changes @@ -1,3 +1,30 @@ +------------------------------------------------------------------- +Mon Nov 7 20:46:21 UTC 2022 - Yogalakshmi Arunachalam + +- 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. + ------------------------------------------------------------------- Thu Oct 20 09:13:17 UTC 2022 - Daniel Garcia diff --git a/python-argparse-manpage.spec b/python-argparse-manpage.spec index 0e06af3..f5c95bb 100644 --- a/python-argparse-manpage.spec +++ b/python-argparse-manpage.spec @@ -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 diff --git a/v3.tar.gz b/v3.tar.gz deleted file mode 100644 index 9f16743..0000000 --- a/v3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b23bea7fb32b187b65a60f9ce26f4cf491ad60aeea8ab9c8df313ada8dc40280 -size 45091 diff --git a/v4.tar.gz b/v4.tar.gz new file mode 100644 index 0000000..4e521ac --- /dev/null +++ b/v4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9d56f0bde3c68e0fdb3439eab5b26d5b5f44d99ba33f578e36de84d7deb152b6 +size 50506