pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/math/py-roman_numerals_py
Module Name: pkgsrc
Committed By: wiz
Date: Sun Feb 23 16:40:45 UTC 2025
Added Files:
pkgsrc/math/py-roman_numerals_py: DESCR Makefile PLIST distinfo
Log Message:
math/py-roman_numerals_py: import py-roman_numerals_py-3.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_py/DESCR \
pkgsrc/math/py-roman_numerals_py/Makefile \
pkgsrc/math/py-roman_numerals_py/PLIST \
pkgsrc/math/py-roman_numerals_py/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_py/DESCR
diff -u /dev/null pkgsrc/math/py-roman_numerals_py/DESCR:1.1
--- /dev/null Sun Feb 23 16:40:45 2025
+++ pkgsrc/math/py-roman_numerals_py/DESCR Sun Feb 23 16:40:45 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_py/Makefile
diff -u /dev/null pkgsrc/math/py-roman_numerals_py/Makefile:1.1
--- /dev/null Sun Feb 23 16:40:45 2025
+++ pkgsrc/math/py-roman_numerals_py/Makefile Sun Feb 23 16:40:45 2025
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1 2025/02/23 16:40:45 wiz Exp $
+
+DISTNAME= roman_numerals_py-3.1.0
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= math python
+MASTER_SITES= ${MASTER_SITE_PYPI:=r/roman_numerals_py/}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://github.com/AA-Turner/roman-numerals/
+COMMENT= Manipulate well-formed Roman numerals
+LICENSE= 0-clause-bsd
+
+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_py/PLIST
diff -u /dev/null pkgsrc/math/py-roman_numerals_py/PLIST:1.1
--- /dev/null Sun Feb 23 16:40:45 2025
+++ pkgsrc/math/py-roman_numerals_py/PLIST Sun Feb 23 16:40:45 2025
@@ -0,0 +1,9 @@
+@comment $NetBSD: PLIST,v 1.1 2025/02/23 16:40:45 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_py/distinfo
diff -u /dev/null pkgsrc/math/py-roman_numerals_py/distinfo:1.1
--- /dev/null Sun Feb 23 16:40:45 2025
+++ pkgsrc/math/py-roman_numerals_py/distinfo Sun Feb 23 16:40:45 2025
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2025/02/23 16:40:45 wiz Exp $
+
+BLAKE2s (roman_numerals_py-3.1.0.tar.gz) = f7b16ed11f9a0afa1ef005946caec6db37422dd5dfa5da841f2b828057b3558e
+SHA512 (roman_numerals_py-3.1.0.tar.gz) = d81d6494b1aabe0fdb9e88056cdef436008fe5edfa4424dd61c67db3d64f22d97b3d65dd9508b2fad82957eb972c62646235157ec0550b0b530c881e3ee7fba5
+Size (roman_numerals_py-3.1.0.tar.gz) = 9017 bytes
Home |
Main Index |
Thread Index |
Old Index