Commit Graph

16 Commits

Author SHA256 Message Date
574582d944 - update to 4.6:
* Fix build against Python 3.13

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-argparse-manpage?expand=0&rev=32
2024-06-12 09:23:03 +00:00
5404bfb799 - update to 4.5:
* We newly provide build_manpages.build_py and build_manpages.install
    command classes that are re-usable from pyproject.toml.
    No need to provide setup.py because of argparse-manpage.
  * The prog= specifier (in setup.py/setup.cfg/pyproject.toml) is
    now better handled so it doesn't conflict with
    ArgumentParser(prog=..).
- Update to v4

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-argparse-manpage?expand=0&rev=30
2023-10-02 09:24:49 +00:00
Steve Kowalik
4fdae1f2e3 - Update to 4.3:
* The pyproject.toml parsing feature now depends on tomli
  * Support for pyproject.toml specification of manpages added.
  * Support for pre-written man pages (the --manfile option)
  * Incorrect dict access for --include support fixed.
- Add patch skip-pip-install.patch:
  * Skip pip install tests for now.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-argparse-manpage?expand=0&rev=28
2023-06-15 09:43:05 +00:00
e710866176 - update to 4.1:
* A new `--include` feature, inspired by `help2man --include`.
  * Allow overriding build date with SOURCE_DATE_EPOCH
    environment variable in order to make builds reproducible.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-argparse-manpage?expand=0&rev=26
2023-04-16 17:02:24 +00:00
Markéta Machová
49d4799f16 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
2022-11-08 09:42:53 +00:00
c2ef86ec66 - Remove not needed dep python-six
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-argparse-manpage?expand=0&rev=22
2022-10-20 09:14:05 +00:00
c13b8323a7 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
2022-08-04 20:58:04 +00:00
8fdb586988 Accepting request 886994 from home:mcalabkova:branches:devel:languages:python
- Update to 1.5
  * fixed testsuite for Python 3.9
  * The "epilog" from argparse object is dumped to "COMMENTS" sections.

OBS-URL: https://build.opensuse.org/request/show/886994
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-argparse-manpage?expand=0&rev=18
2021-04-21 22:32:02 +00:00
b043857af0 Correct removing slave alternatives
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-argparse-manpage?expand=0&rev=14
2020-04-14 17:12:44 +00:00
c3e499ae32 - Don't use %python3_only command, but properly use alternatives.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-argparse-manpage?expand=0&rev=13
2020-04-14 16:04:07 +00:00
a3490f13f0 Accepting request 769102 from home:dimstar:Factory
- Require python-setuotools: /usr/bin/argparse-manpage does
  from pkg_resources import load_entry_point.

OBS-URL: https://build.opensuse.org/request/show/769102
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-argparse-manpage?expand=0&rev=11
2020-01-31 23:05:32 +00:00
Tomáš Chvátal
da409188a1 Accepting request 765246 from home:mcalabkova:branches:devel:languages:python
- update to 1.3
  * drop additional .br tag from paragraphs so the multiline text is nicer
  * provide argparse-manpage via entry_point

OBS-URL: https://build.opensuse.org/request/show/765246
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-argparse-manpage?expand=0&rev=9
2020-01-17 12:50:43 +00:00
Tomáš Chvátal
442b60d7f3 - Update to 1.2.2:
* More complete release tarball, including tests.
  * Fixed shebang in /bin/argparse-manpage script so it works on
    Debian/Ubuntu as well as on Fedora.
  * LICENSE file included in release tarball.
  * Command-line executable now takes an optional '--output' argument.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-argparse-manpage?expand=0&rev=7
2019-09-13 12:44:37 +00:00
Tomáš Chvátal
aeeaf42d5b - Switch to github tarball
- Enable tests
  - Get license file
- Run fdupes
- Add support for older distros than Tumbleweed

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-argparse-manpage?expand=0&rev=2
2019-05-07 07:00:13 +00:00
Tomáš Chvátal
f32d46242e Accepting request 647084 from security:idm
Initial submit to devel:languages:python prior to Factory submission

OBS-URL: https://build.opensuse.org/request/show/647084
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-argparse-manpage?expand=0&rev=1
2019-05-07 06:46:59 +00:00
William Brown
5e16b34bae Accepting request 641645 from security:idm
you will need this for lib389

OBS-URL: https://build.opensuse.org/request/show/641645
OBS-URL: https://build.opensuse.org/package/show/network:ldap/python-argparse-manpage?expand=0&rev=1
2018-12-20 10:15:55 +00:00