| Port details |
- py-argparse-manpage Build manual page from python's ArgumentParser object
- 4.7 devel
=0 4.6Version of this port present on the latest quarterly branch. - Maintainer: sunpoet@FreeBSD.org
 - Port Added: 2024-09-05 06:21:58
- Last Update: 2026-08-19 12:55:29
- Commit Hash: 8465b79
- Also Listed In: python
- License: APACHE20
- WWW:
- https://github.com/praiskup/argparse-manpage
- 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.
There are two supported ways to generate the manual, either script it using the
installed command argparse-manpage, or via setup.py build automation (with a
slight bonus of automatic manual page installation with setup.py install).
¦ ¦ ¦ ¦ 
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - There is no configure plist information for this port.
- USE_RC_SUBR (Service Scripts)
- no SUBR information found for this port
- Dependency lines:
-
- ${PYTHON_PKGNAMEPREFIX}argparse-manpage>0:devel/py-argparse-manpage@${PY_FLAVOR}
- To install the port:
- cd /usr/ports/devel/py-argparse-manpage/ && make install clean
- To add the package, run one of these commands:
- pkg install devel/py-argparse-manpage
- pkg install py312-argparse-manpage
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above. NOTE: This is a Python port. Instead of py312-argparse-manpage listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py312-argparse-manpage
- Package flavors (<flavor>: <package>)
- py312: py312-argparse-manpage
- distinfo:
- TIMESTAMP = 1784005088
SHA256 (argparse_manpage-4.7.tar.gz) = 1deab76b212ac8753cbb67b9d2d2bc0949bbc338bb1cc3547f0890cb34108b32
SIZE (argparse_manpage-4.7.tar.gz) = 58871
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- py312-packaging>=0 : devel/py-packaging@py312
- py312-setuptools>=0 : devel/py-setuptools@py312
- py312-wheel>=0 : devel/py-wheel@py312
- python3.12 : lang/python312
- py312-build>=0 : devel/py-build@py312
- py312-installer>=0 : devel/py-installer@py312
- Test dependencies:
-
- python3.12 : lang/python312
- Runtime dependencies:
-
- python3.12 : lang/python312
- This port is required by:
- for Build
-
- net/py-lib389
Configuration Options:
- No options to configure
- Options name:
- devel_py-argparse-manpage
- USES:
- python
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Number of commits found: 2
| Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
| Commit | Credits | Log message |
4.7 19 Aug 2026 12:55:29
    |
Po-Chuan Hsieh (sunpoet)  |
devel/py-argparse-manpage: Update to 4.7
- Add GitHub to MASTER_SITES
Changes: https://github.com/praiskup/argparse-manpage/releases |
4.6 05 Sep 2024 06:11:19
    |
Po-Chuan Hsieh (sunpoet)  |
devel/py-argparse-manpage: Add py-argparse-manpage 4.6
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.
There are two supported ways to generate the manual, either script it using the
installed command argparse-manpage, or via setup.py build automation (with a
slight bonus of automatic manual page installation with setup.py install). |
Number of commits found: 2
|