pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/math/py-roman_numerals
Module Name: pkgsrc
Committed By: wiz
Date: Sun Dec 21 17:21:54 UTC 2025
Added Files:
pkgsrc/math/py-roman_numerals: DESCR Makefile PLIST distinfo
Log Message:
math/py-roman_numerals: import py-roman_numerals-4.1.0
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.
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/math/py-roman_numerals/DESCR \
pkgsrc/math/py-roman_numerals/Makefile \
pkgsrc/math/py-roman_numerals/PLIST \
pkgsrc/math/py-roman_numerals/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Added files:
Index: pkgsrc/math/py-roman_numerals/DESCR
diff -u /dev/null pkgsrc/math/py-roman_numerals/DESCR:1.1
--- /dev/null Sun Dec 21 17:21:54 2025
+++ pkgsrc/math/py-roman_numerals/DESCR Sun Dec 21 17:21:54 2025
@@ -0,0 +1,15 @@
+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.
Index: pkgsrc/math/py-roman_numerals/Makefile
diff -u /dev/null pkgsrc/math/py-roman_numerals/Makefile:1.1
--- /dev/null Sun Dec 21 17:21:54 2025
+++ pkgsrc/math/py-roman_numerals/Makefile Sun Dec 21 17:21:54 2025
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1 2025/12/21 17:21:54 wiz Exp $
+
+DISTNAME= roman_numerals-4.1.0
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= math python
+MASTER_SITES= ${MASTER_SITE_PYPI:=r/roman_numerals/}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://github.com/AA-Turner/roman-numerals/
+COMMENT= Manipulate well-formed Roman numerals
+LICENSE= 0-clause-bsd OR cc0-1.0-universal
+
+TOOL_DEPENDS+= ${PYPKGPREFIX}-flit_core-[0-9]*:../../devel/py-flit_core
+
+USE_LANGUAGES= # none
+
+.include "../../lang/python/wheel.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/math/py-roman_numerals/PLIST
diff -u /dev/null pkgsrc/math/py-roman_numerals/PLIST:1.1
--- /dev/null Sun Dec 21 17:21:54 2025
+++ pkgsrc/math/py-roman_numerals/PLIST Sun Dec 21 17:21:54 2025
@@ -0,0 +1,9 @@
+@comment $NetBSD: PLIST,v 1.1 2025/12/21 17:21:54 wiz Exp $
+${PYSITELIB}/roman_numerals/__init__.py
+${PYSITELIB}/roman_numerals/__init__.pyc
+${PYSITELIB}/roman_numerals/__init__.pyo
+${PYSITELIB}/roman_numerals/py.typed
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/licenses/LICENCE.rst
Index: pkgsrc/math/py-roman_numerals/distinfo
diff -u /dev/null pkgsrc/math/py-roman_numerals/distinfo:1.1
--- /dev/null Sun Dec 21 17:21:54 2025
+++ pkgsrc/math/py-roman_numerals/distinfo Sun Dec 21 17:21:54 2025
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2025/12/21 17:21:54 wiz Exp $
+
+BLAKE2s (roman_numerals-4.1.0.tar.gz) = fd25efadb99f1ac547f7e5e9bed4fe308e44d6a06334356cea8d49f44438fdc6
+SHA512 (roman_numerals-4.1.0.tar.gz) = 18541ec1a66e2b72d61baed44a90ef13b74e76ed29fecaeeff57cf48309c09daf6c052cc3e973ee33e69c1138dd284cd9d425b34b731280e6b679e43d8e2c945
+Size (roman_numerals-4.1.0.tar.gz) = 9077 bytes
Home |
Main Index |
Thread Index |
Old Index