BSD Ports

devel/rubygem-prettyprint 0.2.0 FreeBSD

Pretty printing algorithm for readable structure

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
BSD2CLAUSE, RUBY
Categories
devel, rubygems
Package size
10.1 KiB, 26.9 KiB installed

Description

PrettyPrint implements a pretty printing algorithm. It finds line breaks and nice indentations for grouped structure.

By default, the class assumes that primitive elements are strings and each byte in the strings have single column in width. But it can be used for other situations by giving suitable arguments for some methods:

  • newline object and space generation block for PrettyPrint.new
  • optional width argument for PrettyPrint#text
  • PrettyPrint#breakable

There are several candidate uses:

  • text formatting using proportional fonts
  • multibyte characters which has columns different to number of bytes

In the other systems

SystemPortVersion
FreeBSDdevel/rubygem-prettyprint0.2.0
DragonFlydevel/rubygem-prettyprint0.2.0
MidnightBSDdevel/rubygem-prettyprint0.2.0

Install

Binary package:

pkg install rubygem-prettyprint

From the ports tree:

cd /usr/ports/devel/rubygem-prettyprint/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	rubygem-prettyprint>0:devel/rubygem-prettyprint

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.2.00.2.00.1.10.2.00.2.0
FreeBSD:14:quarterly0.2.00.2.0n/a0.2.00.2.0
FreeBSD:15:latest0.2.00.2.0n/a0.2.00.2.0
FreeBSD:15:quarterly0.2.00.2.0n/an/an/a
FreeBSD:16:latest0.2.00.2.0n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

Build dependencies 6
Run dependencies 6
Required by 131

The first 100 are listed.

Configuration

No options to configure.

USES
gem
Service scripts
none

Files

distinfo 1
FileSizeSHA256
rubygem/prettyprint-0.2.0.gem122882bc9e15581a94742064a3cc8b0fb9d45aae3d03a1baa6ef80922627a0766f193
Master sites 1
  • RG

Commit history 0

No commits in the history this site was built from.