BSD Ports

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

SystemPortVersion
FreeBSDdevel/py-pycomplete0.4.0
DragonFlydevel/py-pycomplete0.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.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.4.00.4.0-0.4.00.4.0
FreeBSD:14:quarterly0.4.00.4.0n/a0.4.00.4.0
FreeBSD:15:latest0.4.00.4.0n/a0.4.00.4.0
FreeBSD:15:quarterly0.4.00.4.0n/an/an/a
FreeBSD:16:latest0.4.00.4.0n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 1

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
FileSizeSHA256
pycomplete-0.4.0.tar.gz125058ae83fb5883c78da157d208aefdad4a989e0695e289ef738d05c9d14cb9a13b3
Master sites 1
  • PYPI

Commit history 0

No commits in the history this site was built from.