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
Ukraine
Port details
py-shtab Automagic shell tab completion for Python CLI applications
1.7.1 devel on this many watch lists=2 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 1.7.1Version of this port present on the latest quarterly branch.
Maintainer: sunpoet@FreeBSD.org search for ports maintained by this maintainer
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})
HomepageHomepage    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}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>)
  • py39: py39-shtab
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):
py39-shtab
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest--------
FreeBSD:13:quarterly--1.6.1--1.6.51.6.51.6.5
FreeBSD:14:latest--1.5.8--1.6.1-1.6.1
FreeBSD:14:quarterly-----1.6.51.6.51.6.5
FreeBSD:15:latest--n/a-n/a1.6.51.6.51.6.5
 

py311-shtab
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest1.7.11.7.1-1.7.11.7.1---
FreeBSD:13:quarterly1.7.11.7.1-1.7.11.7.1---
FreeBSD:14:latest1.7.11.7.1-1.7.11.7.1---
FreeBSD:14:quarterly1.7.11.7.1-1.7.11.7.1---
FreeBSD:15:latest1.7.11.7.1n/a1.7.1n/a---
 

Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py39-setuptools>=42 : devel/py-setuptools@py39
  2. py39-setuptools-scm>=3.4 : devel/py-setuptools-scm@py39
  3. py39-wheel>=0 : devel/py-wheel@py39
  4. python3.9 : lang/python39
  5. py39-build>=0 : devel/py-build@py39
  6. py39-installer>=0 : devel/py-installer@py39
Test dependencies:
  1. python3.9 : lang/python39
Runtime dependencies:
  1. python3.9 : lang/python39
This port is required by:
for Build
  1. deskutils/py-trash-cli
for Run
  1. security/py-greenbone-feed-sync
  2. 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:
Expand this list (3 items)
Collapse this list.
  1. https://files.pythonhosted.org/packages/source/s/shtab/
  2. https://github.com/iterative/shtab/releases/download/v1.7.1/
  3. https://pypi.org/packages/source/s/shtab/
Collapse this list.

Number of commits found: 11

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
1.7.1
23 Mar 2024 14:49:26
commit hash: 2abdc803a5174a47e354743bc77b832fb0b98915commit hash: 2abdc803a5174a47e354743bc77b832fb0b98915commit hash: 2abdc803a5174a47e354743bc77b832fb0b98915commit hash: 2abdc803a5174a47e354743bc77b832fb0b98915 files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
devel/py-shtab: Update to 1.7.1

Changes:	https://github.com/iterative/shtab/releases
1.7.0
09 Mar 2024 14:06:06
commit hash: c8724967d7d69645afa9c1cd5685a75b032dacf0commit hash: c8724967d7d69645afa9c1cd5685a75b032dacf0commit hash: c8724967d7d69645afa9c1cd5685a75b032dacf0commit hash: c8724967d7d69645afa9c1cd5685a75b032dacf0 files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
devel/py-shtab: Update to 1.7.0

Changes:	https://github.com/iterative/shtab/releases
1.6.5
29 Feb 2024 07:18:32
commit hash: 5d4139f8bdb67bd6e8328422f9762661bd0d6454commit hash: 5d4139f8bdb67bd6e8328422f9762661bd0d6454commit hash: 5d4139f8bdb67bd6e8328422f9762661bd0d6454commit hash: 5d4139f8bdb67bd6e8328422f9762661bd0d6454 files touched by this commit
Charlie Li (vishwin) search for other commits by this committer
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
commit hash: 97a30c8410e2fc70c34ca1cb3fdb10ea6d8dd8e9commit hash: 97a30c8410e2fc70c34ca1cb3fdb10ea6d8dd8e9commit hash: 97a30c8410e2fc70c34ca1cb3fdb10ea6d8dd8e9commit hash: 97a30c8410e2fc70c34ca1cb3fdb10ea6d8dd8e9 files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
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
commit hash: 256e1690b11d8ef9c8594a00d1f64139ca27999dcommit hash: 256e1690b11d8ef9c8594a00d1f64139ca27999dcommit hash: 256e1690b11d8ef9c8594a00d1f64139ca27999dcommit hash: 256e1690b11d8ef9c8594a00d1f64139ca27999d files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
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
commit hash: 9a80a6ee5e8ebf5c279b3d7a9e7e8b7dbabbaf0acommit hash: 9a80a6ee5e8ebf5c279b3d7a9e7e8b7dbabbaf0acommit hash: 9a80a6ee5e8ebf5c279b3d7a9e7e8b7dbabbaf0acommit hash: 9a80a6ee5e8ebf5c279b3d7a9e7e8b7dbabbaf0a files touched by this commit
Charlie Li (vishwin) search for other commits by this committer
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
commit hash: 8c97f33c952b4943aed0957f34b415eb68d2030acommit hash: 8c97f33c952b4943aed0957f34b415eb68d2030acommit hash: 8c97f33c952b4943aed0957f34b415eb68d2030acommit hash: 8c97f33c952b4943aed0957f34b415eb68d2030a files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
devel/py-shtab: Update to 1.6.2

Changes:	https://github.com/iterative/shtab/releases
1.6.1
27 Jun 2023 19:34:34
commit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacbcommit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacbcommit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacbcommit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacb files touched by this commit
Rene Ladan (rene) search for other commits by this committer
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
commit hash: 5ed4399eeb8b4a5b73c372a236a5be698f167a3fcommit hash: 5ed4399eeb8b4a5b73c372a236a5be698f167a3fcommit hash: 5ed4399eeb8b4a5b73c372a236a5be698f167a3fcommit hash: 5ed4399eeb8b4a5b73c372a236a5be698f167a3f files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
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
commit hash: 77d68471aded6907dbbcb5ef50d557e4c69db656commit hash: 77d68471aded6907dbbcb5ef50d557e4c69db656commit hash: 77d68471aded6907dbbcb5ef50d557e4c69db656commit hash: 77d68471aded6907dbbcb5ef50d557e4c69db656 files touched by this commit
Dmitry Marakasov (amdmi3) search for other commits by this committer
*/*: rename CHEESESHOP to PYPI in MASTER_SITES

PR:			267994
Differential revision:	D37518
Approved by:		bapt
1.5.8
30 Dec 2022 09:04:00
commit hash: d69de92defd8933830dbe0498c3c49b59fa6ea65commit hash: d69de92defd8933830dbe0498c3c49b59fa6ea65commit hash: d69de92defd8933830dbe0498c3c49b59fa6ea65commit hash: d69de92defd8933830dbe0498c3c49b59fa6ea65 files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
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})

Number of commits found: 11