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
| System | Port | Version |
|---|---|---|
| FreeBSD | textproc/py-roman-numerals-py | 4.1.0 |
| DragonFly | textproc/py-roman-numerals-py | 3.0.0 |
| HardenedBSD | textproc/py-roman-numerals-py | 4.1.0 |
| GhostBSD | textproc/py-roman-numerals-py | 4.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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 4.1.0 | 4.1.0 | - | 3.1.0 | 4.1.0 |
| FreeBSD:14:quarterly | 4.1.0 | 4.1.0 | n/a | 3.1.0 | 4.1.0 |
| FreeBSD:15:latest | 4.1.0 | 4.1.0 | n/a | 3.1.0 | 3.1.0 |
| FreeBSD:15:quarterly | 4.1.0 | 4.1.0 | n/a | n/a | n/a |
| FreeBSD:16:latest | 4.1.0 | 4.1.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>=61: devel/py-setuptools${PYTHON_PKGNAMEPREFIX}wheel>=0: devel/py-wheel
Runtime 1
${PYTHON_PKGNAMEPREFIX}roman-numerals>=4.1.0<4.1.0_99: textproc/py-roman-numerals
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
| File | Size | SHA256 |
|---|---|---|
| roman_numerals_py-4.1.0.tar.gz | 4274 | f5d7b2b4ca52dd855ef7ab8eb3590f428c0b1ea480736ce32b01fef2a5f8daf9 |
Master sites 1
- PYPI
Commit history 0
No commits in the history this site was built from.