Port details |
- py-pycomplete Python library to generate static completion scripts for your CLI app
- 0.4.0 devel =2 0.4.0Version of this port present on the latest quarterly branch.
- Maintainer: sunpoet@FreeBSD.org
- Port Added: 2023-02-05 15:54:26
- Last Update: 2023-07-09 10:19:17
- Commit Hash: 67d34b8
- People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py39-PyOpenGL, p5-Sane
- Also Listed In: python
- License: BSD3CLAUSE
- WWW:
- https://github.com/frostming/pycomplete
- 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.
- ¦ ¦ ¦ ¦
- 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}pycomplete>0:devel/py-pycomplete@${PY_FLAVOR}
- To install the port:
- cd /usr/ports/devel/py-pycomplete/ && make install clean
- To add the package, run one of these commands:
- pkg install devel/py-pycomplete
- pkg install py39-pycomplete
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-pycomplete listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py39-pycomplete
- Package flavors (<flavor>: <package>)
- distinfo:
- TIMESTAMP = 1688166252
SHA256 (pycomplete-0.4.0.tar.gz) = 8ae83fb5883c78da157d208aefdad4a989e0695e289ef738d05c9d14cb9a13b3
SIZE (pycomplete-0.4.0.tar.gz) = 12505
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-pdm-backend>=0 : devel/py-pdm-backend@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
- There are no ports dependent upon this port
Configuration Options:
- No options to configure
- Options name:
- devel_py-pycomplete
- 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 |
0.4.0 09 Jul 2023 10:19:17 |
Po-Chuan Hsieh (sunpoet) |
devel/py-pycomplete: Update to 0.4.0
Changes: https://github.com/frostming/pycomplete/releases |
0.3.2_2 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> |
0.3.2_2 04 Apr 2023 18:29:11 |
Antoine Brodin (antoine) |
USE_PYTHON=pep517: bump PORTREVISION |
0.3.2_1 21 Mar 2023 19:20:28 |
Po-Chuan Hsieh (sunpoet) |
devel/py-pycomplete: Convert to USE_PYTHON=pep517
- Bump PORTREVISION for dependency and package change |
0.3.2 05 Feb 2023 15:47:38 |
Po-Chuan Hsieh (sunpoet) |
devel/py-pycomplete: Add py-pycomplete 0.3.2
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. |