notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Remember
I remember
Port details
py-argparse-manpage Build manual page from python's ArgumentParser object
4.6 develnew! on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout Package not present on quarterly.This port was created during this quarter. It will be in the next quarterly branch but not the current one.
Maintainer: sunpoet@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2024-09-05 06:21:58
Last Update: 2024-09-05 06:11:19
Commit Hash: eba20a5
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).
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

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.
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 py311-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 py311-argparse-manpage listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py311-argparse-manpage
Package flavors (<flavor>: <package>)
  • py311: py311-argparse-manpage
distinfo:
TIMESTAMP = 1724084480 SHA256 (argparse-manpage-4.6.tar.gz) = 0b659d70fd142876da41c2918bd6de4d027875720b0e4672d6443b51198dbb62 SIZE (argparse-manpage-4.6.tar.gz) = 58674

Packages (timestamps in pop-ups are UTC):
py311-argparse-manpage
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest4.64.6-4.64.6---
FreeBSD:13:quarterly4.64.6-4.64.6---
FreeBSD:14:latest4.64.6-4.64.6---
FreeBSD:14:quarterly4.64.6-4.64.6---
FreeBSD:15:latest4.64.6n/a4.6n/a---
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py311-packaging>=0 : devel/py-packaging@py311
  2. py311-setuptools>=0 : devel/py-setuptools@py311
  3. py311-wheel>=0 : devel/py-wheel@py311
  4. python3.11 : lang/python311
  5. py311-build>=0 : devel/py-build@py311
  6. py311-installer>=0 : devel/py-installer@py311
Test dependencies:
  1. python3.11 : lang/python311
Runtime dependencies:
  1. python3.11 : lang/python311
There are no ports dependent upon this port

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:
Expand this list (2 items)
Collapse this list.
  1. https://files.pythonhosted.org/packages/source/a/argparse-manpage/
  2. https://pypi.org/packages/source/a/argparse-manpage/
Collapse this list.

Number of commits found: 1

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
4.6
05 Sep 2024 06:11:19
commit hash: eba20a57733da6482627fe49cf86a131fb58b546commit hash: eba20a57733da6482627fe49cf86a131fb58b546commit hash: eba20a57733da6482627fe49cf86a131fb58b546commit hash: eba20a57733da6482627fe49cf86a131fb58b546 files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
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: 1