Port details |
- py-shtab Automagic shell tab completion for Python CLI applications
- 1.7.1 devel
=2 1.7.1Version of this port present on the latest quarterly branch. - Maintainer: sunpoet@FreeBSD.org
 - Port Added: 2022-12-30 09:11:26
- Last Update: 2024-03-23 14:49:26
- Commit Hash: 2abdc80
- People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py311-PyOpenGL, p5-Sane
- Also Listed In: python
- License: APACHE20
- WWW:
- https://docs.iterative.ai/shtab/
- https://github.com/iterative/shtab
- Description:
- What: Automatically generate shell tab completion scripts for Python CLI apps
Why: Speed & correctness. Alternatives like argcomplete and pyzshcomplete are
slow and have side-effects
How: shtab processes an argparse.ArgumentParser object to generate a tab
completion script for your shell
Features:
- Outputs tab completion scripts for
- bash
- zsh
- tcsh
- Supports
- argparse
- docopt (via argopt)
- Supports arguments, options and subparsers
- Supports choices (e.g. --say={hello,goodbye})
- Supports file and directory path completion
- Supports custom path completion (e.g. --file={*.txt})
 ¦ ¦ ¦ ¦ 
- 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}shtab>0:devel/py-shtab@${PY_FLAVOR}
- To install the port:
- cd /usr/ports/devel/py-shtab/ && make install clean
- To add the package, run one of these commands:
- pkg install devel/py-shtab
- pkg install py39-shtab
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 py39-shtab listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py39-shtab
- Package flavors (<flavor>: <package>)
- distinfo:
- TIMESTAMP = 1710712492
SHA256 (shtab-1.7.1.tar.gz) = 4e4bcb02eeb82ec45920a5d0add92eac9c9b63b2804c9196c1f1fdc2d039243c
SIZE (shtab-1.7.1.tar.gz) = 45410
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:
-
- py39-setuptools>=42 : devel/py-setuptools@py39
- py39-setuptools-scm>=3.4 : devel/py-setuptools-scm@py39
- py39-wheel>=0 : devel/py-wheel@py39
- python3.9 : lang/python39
- py39-build>=0 : devel/py-build@py39
- py39-installer>=0 : devel/py-installer@py39
- Test dependencies:
-
- python3.9 : lang/python39
- Runtime dependencies:
-
- python3.9 : lang/python39
- This port is required by:
- for Build
-
- deskutils/py-trash-cli
- for Run
-
- security/py-greenbone-feed-sync
- sysutils/py-tldr
Configuration Options:
- No options to configure
- Options name:
- devel_py-shtab
- USES:
- python
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
1.7.1 23 Mar 2024 14:49:26
    |
Po-Chuan Hsieh (sunpoet)  |
devel/py-shtab: Update to 1.7.1
Changes: https://github.com/iterative/shtab/releases |
1.7.0 09 Mar 2024 14:06:06
    |
Po-Chuan Hsieh (sunpoet)  |
devel/py-shtab: Update to 1.7.0
Changes: https://github.com/iterative/shtab/releases |
1.6.5 29 Feb 2024 07:18:32
    |
Charlie Li (vishwin)  |
devel/py-setuptools-scm: update to 8.0.4
Directory and PORTNAME changed to match normalised name in release
tarball; consumers updated to match.
Although setuptools itself is specified as a run dependency in the
Python package metadata, it is currently left out here to prevent
environment pollution until at least PR 270510 is committed.
Additionally, this version of setuptools-scm requires setuptools>=61,
which means this version is only meant for USE_PYTHON=pep517 ports
as all USE_PYTHON=distutils ports will switch to devel/py-setuptools58
also after PR 270510. science/py-emmet-core is switched to
devel/py-setuptools_scm7 accordingly, as it specifies setuptools-scm<8.
devel/py-{flit-scm,hatch-vcs} have ${PY_SETUPTOOLS} added to
RUN_DEPENDS to compensate.
Further details: https://wiki.freebsd.org/Python/setuptools
Reported by: yuri
Co-authored by: matthew
Exp-run by: antoine (earlier iteration)
Approved by: yuri (science/py-emmet-core, previous iteration)
PR: 272134
Differential Revision: https://reviews.freebsd.org/D39288 |
1.6.5 14 Dec 2023 05:48:29
    |
Po-Chuan Hsieh (sunpoet)  |
devel/py-shtab: Update to 1.6.5
- Add GitHub to MASTER_SITES
Changes: https://github.com/iterative/shtab/releases |
1.6.4 16 Aug 2023 18:25:35
    |
Po-Chuan Hsieh (sunpoet)  |
devel/py-shtab: Update to 1.6.4
- Update WWW
Changes: https://github.com/iterative/shtab/releases
https://github.com/iterative/shtab/commits/main |
1.6.2 18 Jul 2023 00:53:09
    |
Charlie Li (vishwin)  |
devel/py-setuptools: convert individual consumers to ${PY_SETUPTOOLS}
Currently a no-op, but in the future outputs the correct setuptools
port depending on whether USES_PYTHON=distutils is specified.
With hat: python
PR: 270510, 270358 |
1.6.2 09 Jul 2023 10:19:26
    |
Po-Chuan Hsieh (sunpoet)  |
devel/py-shtab: Update to 1.6.2
Changes: https://github.com/iterative/shtab/releases |
1.6.1 27 Jun 2023 19:34:34
    |
Rene Ladan (rene)  |
all: remove explicit versions in USES=python for "3.x+"
The logic in USES=python will automatically convert this to 3.8+ by
itself.
Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.
finance/quickfix: mark BROKEN with PYTHON
libtool: compile: c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++
-DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable
-Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong
-fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi
-Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings
-Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x
-MT _quickfix_la-QuickfixPython.lo -MD -MP -MF
.deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp -fPIC -DPIC -o
.libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
^~~~~~~~~~
1 warning and 1 error generated.
Reviewed by: portmgr, vishwin, yuri
Differential Revision: <https://reviews.freebsd.org/D40568> |
1.6.1 09 Apr 2023 13:36:53
    |
Po-Chuan Hsieh (sunpoet)  |
devel/py-shtab: Update to 1.6.1
- Convert to USE_PYTHON=pep517
Changes: https://github.com/iterative/shtab/releases |
1.5.8 11 Jan 2023 15:58:34
    |
Dmitry Marakasov (amdmi3)  |
*/*: rename CHEESESHOP to PYPI in MASTER_SITES
PR: 267994
Differential revision: D37518
Approved by: bapt |
1.5.8 30 Dec 2022 09:04:00
    |
Po-Chuan Hsieh (sunpoet)  |
devel/py-shtab: Add py-shtab 1.5.8
What: Automatically generate shell tab completion scripts for Python CLI apps
Why: Speed & correctness. Alternatives like argcomplete and pyzshcomplete are
slow and have side-effects
How: shtab processes an argparse.ArgumentParser object to generate a tab
completion script for your shell
Features:
- Outputs tab completion scripts for
- bash
- zsh
- tcsh
- Supports
- argparse
- docopt (via argopt)
- Supports arguments, options and subparsers
- Supports choices (e.g. --say={hello,goodbye})
- Supports file and directory path completion
- Supports custom path completion (e.g. --file={*.txt}) |