devel/py-autopage 0.6.0
Provide automatic paging for console output
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- APACHE20
- Categories
- devel, python
- Package size
- 65.6 KiB, 417.4 KiB installed
Description
Autopage is a Python library to automatically display terminal output from a program in a pager (like less) whenever you need it, and never when you don't. And it only takes one line of code.
You know how some CLI programs like git (and a handful of others, including man and systemctl) automatically pipe their output to less? Except not if there's less than one screen's worth of data. And if you redirect the output to a file or a pipe, it does the right thing instead. Colours are preserved. Don't you wish all programs worked like that? Now at least all of your Python programs can.
Install
As a binary package — by origin, or by package name:
pkg install devel/py-autopage
pkg install py312-autopage
From the ports tree:
cd /usr/ports/devel/py-autopage/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-autopage>0:devel/py-autopage
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.6.0 | 0.6.0 | 0.5.1 | 0.5.2 | 0.6.0 |
| FreeBSD:14:quarterly | 0.6.0 | 0.6.0 | n/a | 0.5.2 | 0.6.0 |
| FreeBSD:15:latest | 0.6.0 | 0.6.0 | n/a | 0.5.2 | 0.5.2 |
| FreeBSD:15:quarterly | 0.6.0 | 0.6.0 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.6.0 | 0.6.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 2
${PYTHON_PKGNAMEPREFIX}setuptools>=43: devel/py-setuptools${PYTHON_PKGNAMEPREFIX}wheel>=0: devel/py-wheel
The full lists below include those, and their dependencies in turn.
All build dependencies 16
All run dependencies 7
Configuration
No options to configure.
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| autopage-0.6.0.tar.gz | 26797 | 42d07de90de63e83762828028bfd56d19906a18f7c951ef6eef3e9ad48a3071d |
Master sites 1
- PYPI
Commit history 0
No commits in the history this site was built from.