FreeBSD Ports

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.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.6.00.6.00.5.10.5.20.6.0
FreeBSD:14:quarterly0.6.00.6.0n/a0.5.20.6.0
FreeBSD:15:latest0.6.00.6.0n/a0.5.20.5.2
FreeBSD:15:quarterly0.6.00.6.0n/an/an/a
FreeBSD:16:latest0.6.00.6.0n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 2

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
FileSizeSHA256
autopage-0.6.0.tar.gz2679742d07de90de63e83762828028bfd56d19906a18f7c951ef6eef3e9ad48a3071d
Master sites 1
  • PYPI

Commit history 0

No commits in the history this site was built from.