17
0

23 Commits

Author SHA256 Message Date
712bdab506 - Do not test examples, they are difficult to install in isolated
environments.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-argparse-manpage?expand=0&rev=45
2026-02-05 04:24:26 +00:00
7f9f1c3beb - update to 4.7:
* sys.stdout used instead of /dev/stdout
  * fixed build compatibility with newer setuptools
  * fixed deprecation warnings for datetime and setuptools
  * new compat method for handling SOURCE_DATE_EPOCH

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-argparse-manpage?expand=0&rev=43
2025-09-29 10:28:34 +00:00
459c0585db - Make the libalternatives transition conditional
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-argparse-manpage?expand=0&rev=41
2025-08-11 11:28:55 +00:00
25a0ee6f1b - Convert to libalternatives
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-argparse-manpage?expand=0&rev=39
2025-06-16 13:49:44 +00:00
3e71b23ce0 - Skip a failing test.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-argparse-manpage?expand=0&rev=37
2025-04-01 03:51:42 +00:00
523f838f66 Point pip at the existing wheels directory
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-argparse-manpage?expand=0&rev=35
2025-01-08 04:04:01 +00:00
eb8ce90713 - Drop patch skip-pip-install.patch:
* Create a pip links directory with a wheel of setuptools, since that
    is the only requirement for pip install with the current version of
    setuptools.
- Remove unneeded Requires, limit them appropiately.
- Switch to pyproject macros.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-argparse-manpage?expand=0&rev=34
2025-01-08 03:49:37 +00:00
9ff94ba3c1 - 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
a2f5547765 - 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
a68fead831 - 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
d2cd1cf54d - 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
a6669786ec 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
ef267ef507 - 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
82bd5a6b9e 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
eaf4347b10 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
Tomáš Chvátal
38c0cc9c87 Accepting request 828239 from home:mcalabkova:branches:devel:languages:python
- Resubmit for SLE (jsc#SLE-12826)

OBS-URL: https://build.opensuse.org/request/show/828239
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-argparse-manpage?expand=0&rev=16
2020-08-20 19:20:17 +00:00
e8fdc0744d - 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
7b1f4b5daf 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
2b5147cd61 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
5386a41551 - 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
e4740de3f9 - 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
92cf85aef2 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
4f08cd9d97 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