BSD Ports

devel/py-argparse-manpage 4.7 NetBSD

Build manual page from python's ArgumentParser object

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Last update
Commit
25dc2c42e8
License
apache-2.0
Categories
devel, python
Package size
44.8 KiB, 191.7 KiB installed

Description

Avoid documenting your Python script arguments on two places! This is typically done in an argparse.ArgumentParser help configuration (help=, description=, etc.), and also in a manually crafted manual page.

The good thing about an ArgumentParser objects is that it actually provides a traversable "tree-like" structure, with all the necessary info needed to automatically generate documentation, for example in a groff typesetting system (manual pages). And this is where this project can help.

In the other systems

SystemPortVersion
NetBSDdevel/py-argparse-manpage4.7
FreeBSDdevel/py-argparse-manpage4.7
DragonFlydevel/py-argparse-manpage4.6
HardenedBSDdevel/py-argparse-manpage4.7
GhostBSDdevel/py-argparse-manpage4.7

Install

Binary package:

pkgin install py311-argparse-manpage

From pkgsrc:

cd /usr/pkgsrc/devel/py-argparse-manpage && make install clean

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

RepositoryVersion
NetBSD 10.1 x86_644.7
NetBSD 10.1 aarch644.7
SmartOS / illumos x86_644.8
macOS 15 arm644.8

Dependencies

Run dependencies 1

No port depends on this one.

Configuration

No options to configure.

Service scripts
none
Flavors
py312-argparse-manpage-4.7, py313-argparse-manpage-4.7, py314-argparse-manpage-4.7

Commit history 3

DateCommitCreditsLog message
25dc2c42e8 adam py-argparse-manpage: updated to 4.8
News in v4.8 * escape sequences are no longer propagated into the generated man pages * fixed a traceback when an action has no help text (action.help == None) * double-quoted values are newly supported in the manpages spec parsing
4c9806ff72 adam py-argparse-manpage: forget Python 3.10
4c26bef472 wiz py-argparse-manpage: fix build with Python 3.15
Bump PKGREVISION.