BSD Ports

textproc/py-roman-numerals-py 4.1.0 FreeBSD

Manipulate well-formed Roman numerals

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
BSD0CLAUSE, CC0-1.0
Categories
textproc, python
Package size
5.7 KiB, 9.3 KiB installed

Description

roman-numerals is a library for manipulating well-formed Roman numerals.

Integers between 1 and 3,999 (inclusive) are supported. Numbers beyond this range will return an OutOfRangeError.

The classical system of roman numerals requires that the same character may not appear more than thrice consecutively, meaning that 'MMMCMXCIX' (3,999) is the largest well-formed Roman numeral. The smallest is 'I' (1), as there is no symbol for zero in Roman numerals.

Both upper- and lower-case formatting of roman numerals are supported, and likewise for parsing strings, although the entire string must be of the same case. Numerals that do not adhere to the classical form are rejected with an InvalidRomanNumeralError.

In the other systems

SystemPortVersion
FreeBSDtextproc/py-roman-numerals-py4.1.0
DragonFlytextproc/py-roman-numerals-py3.0.0
HardenedBSDtextproc/py-roman-numerals-py4.1.0
GhostBSDtextproc/py-roman-numerals-py4.1.0

Install

Binary package:

pkg install py312-roman-numerals-py

From the ports tree:

cd /usr/ports/textproc/py-roman-numerals-py/ && make install clean

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

RUN_DEPENDS=	py312-roman-numerals-py>0:textproc/py-roman-numerals-py

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:latest4.1.04.1.0-3.1.04.1.0
FreeBSD:14:quarterly4.1.04.1.0n/a3.1.04.1.0
FreeBSD:15:latest4.1.04.1.0n/a3.1.03.1.0
FreeBSD:15:quarterly4.1.04.1.0n/an/an/a
FreeBSD:16:latest4.1.04.1.0n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 2

Runtime 1

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

Build dependencies 16
Run dependencies 8

No port depends on this one.

Configuration

No options to configure.

USES
python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
roman_numerals_py-4.1.0.tar.gz4274f5d7b2b4ca52dd855ef7ab8eb3590f428c0b1ea480736ce32b01fef2a5f8daf9
Master sites 1
  • PYPI

Commit history 0

No commits in the history this site was built from.