devel/py-pycomplete 0.4.0 FreeBSD
Python library to generate static completion scripts for your CLI app
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- BSD3CLAUSE
- Categories
- devel, python
- Package size
- 24.7 KiB, 96.9 KiB installed
Description
With pycomplete, one can generate a completion script for CLI application that is compatible with a given shell. The script outputs the result onto stdout, allowing one to re-direct the output to the file of their choosing.
pycomplete accepts different types of objects depending on which CLI framework you are using. For argparse, argparse.ArgumentParser is expected while for click, either click.Command or click.Context is OK. pycomplete knows what to do smartly.
Where you place the file will depend on which shell, and which operating system you are using. Your particular configuration may also determine where these scripts need to be placed.
Note that pycomplete needs to be installed in the same environment as the target CLI app to work properly.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/py-pycomplete | 0.4.0 |
| DragonFly | devel/py-pycomplete | 0.4.0 |
Install
Binary package:
pkg install py312-pycomplete
From the ports tree:
cd /usr/ports/devel/py-pycomplete/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-pycomplete>0:devel/py-pycomplete
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 0.4.0 | 0.4.0 | - | 0.4.0 | 0.4.0 |
| FreeBSD:14:quarterly | 0.4.0 | 0.4.0 | n/a | 0.4.0 | 0.4.0 |
| FreeBSD:15:latest | 0.4.0 | 0.4.0 | n/a | 0.4.0 | 0.4.0 |
| FreeBSD:15:quarterly | 0.4.0 | 0.4.0 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.4.0 | 0.4.0 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 1
${PYTHON_PKGNAMEPREFIX}pdm-backend>=0: devel/py-pdm-backend
The full lists below include those, and their dependencies in turn.
Build dependencies 15
Run dependencies 7
No port depends on this one.
Configuration
No options to configure.
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| pycomplete-0.4.0.tar.gz | 12505 | 8ae83fb5883c78da157d208aefdad4a989e0695e289ef738d05c9d14cb9a13b3 |
Master sites 1
- PYPI
Commit history 0
No commits in the history this site was built from.