[packages/python3-roman-numerals-py] - pl

qboosh qboosh at pld-linux.org
Sat May 24 17:50:35 CEST 2025


commit b5b6b687dcccdf8ae09a1a15e137dfe453929253
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sat May 24 17:06:44 2025 +0200

    - pl

 python3-roman-numerals-py.spec | 28 +++++++++++++++-------------
 1 file changed, 15 insertions(+), 13 deletions(-)
---
diff --git a/python3-roman-numerals-py.spec b/python3-roman-numerals-py.spec
index afb0865..91c2a63 100644
--- a/python3-roman-numerals-py.spec
+++ b/python3-roman-numerals-py.spec
@@ -1,14 +1,16 @@
+#
 # Conditional build:
 %bcond_without	tests	# unit tests
 
 %define		module	roman-numerals-py
 Summary:	A library for manipulating well-formed Roman numerals
+Summary(pl.UTF-8):	Biblioteka do operowania na dobrze sformułowanych liczbach rzymskich
 Name:		python3-%{module}
 Version:	3.1.0
 Release:	3
 License:	CC0 1.0
 Group:		Libraries/Python
-#Source0Download: https://pypi.org/simple/MODULE/
+#Source0Download: https://pypi.org/simple/roman-numerals-py/
 Source0:	https://files.pythonhosted.org/packages/source/r/roman_numerals_py/roman_numerals_py-%{version}.tar.gz
 # Source0-md5:	818e8252ca189c657bf7f860824eceb9
 URL:		https://pypi.org/project/roman-numerals-py/
@@ -26,20 +28,22 @@ BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-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.
+A library for manipulating well-formed Roman numerals. Integers
+between 1 and 3,999 (inclusive) are supported.
 
 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.
+"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.
+
+%description -l pl.UTF-8
+Biblioteka do operowania do dobrze sformułowanych liczbach rzymskich.
+Obsługiwane są liczby od 1 do 3999 (włącznie).
 
-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.
+System klasyczny liczb rzymskich wymaga, aby ten sam znak nie był
+powtórzony więcej niż trzy razy pod rząd, co oznacza, że największą
+dobrze sformułowaną liczbą jest MMMCMXCIX (3999). Najmniejsza to I
+(1), jako że w liczbach rzymskich nie ma symbolu dla zera.
 
 %prep
 %setup -q -n roman_numerals_py-%{version}
@@ -48,9 +52,7 @@ are rejected with an InvalidRomanNumeralError.
 %py3_build_pyproject
 
 %if %{with tests}
-# use explicit plugins list for reliable builds (delete PYTEST_PLUGINS if empty)
 PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
-PYTEST_PLUGINS= \
 %{__python3} -m pytest tests
 %endif
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python3-roman-numerals-py.git/commitdiff/dd50ff5d724b38a8baca4c8b1eece4bc55dcd2b7



More information about the pld-cvs-commit mailing list