# # spec file for package python-roman-numerals # # Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: python-roman-numerals Version: 3.1.0 Release: 1.1 Summary: Manipulate well-formed Roman numerals License: 0BSD URL: https://github.com/AA-Turner/roman-numerals/ Source: https://files.pythonhosted.org/packages/source/r/roman-numerals/roman_numerals-%{version}.tar.gz BuildRequires: %{python_module flit-core >= 3.7} BuildRequires: %{python_module pip} BuildRequires: python-rpm-macros # SECTION test requirements BuildRequires: %{python_module pytest >= 8} # /SECTION BuildRequires: fdupes Suggests: python-mypy == 1.15.0 Suggests: python-ruff == 0.9.7 Suggests: python-pyright == 1.1.394 BuildArch: noarch %python_subpackages %description A library for manipulating well-formed Roman numerals. %prep %autosetup -p1 -n roman_numerals-%{version} %build %pyproject_wheel %install %pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check %pytest %files %{python_files} %license LICENCE.rst %{python_sitelib}/roman_numerals %{python_sitelib}/roman_numerals-%{version}.dist-info %changelog * Wed Mar 12 2025 Dirk Müller - use pytest macro rather than calling pytest directly * Wed Mar 12 2025 Daniel Garcia - Initial version