Sync from SUSE:SLFO:Main python-roman revision d1a82fba9597880e7b306457ba142491
This commit is contained in:
@@ -1,3 +1,16 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri May 9 05:17:15 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
- Update to 5.0:
|
||||||
|
* Drop support for Python 3.7, 3.8.
|
||||||
|
* Add support for lower case roman numerals.
|
||||||
|
* Remove overlooked mentions of the Python 2.1.1 license
|
||||||
|
* Add support for Python 3.12 and 3.13.
|
||||||
|
* Change license to the Zope Public License (ZPL) version 2.1
|
||||||
|
* Add support for Python 3.10, 3.11.
|
||||||
|
* Drop support for Python 2.7, 3.5, 3.6.
|
||||||
|
- Switch to pyproject macros.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Apr 21 12:33:24 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
Fri Apr 21 12:33:24 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-roman
|
# spec file for package python-roman
|
||||||
#
|
#
|
||||||
# Copyright (c) 2023 SUSE LLC
|
# Copyright (c) 2025 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -17,19 +17,22 @@
|
|||||||
|
|
||||||
|
|
||||||
%define packagename roman
|
%define packagename roman
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-roman
|
Name: python-roman
|
||||||
Version: 3.3
|
Version: 5.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Integer to Roman numerals converter
|
Summary: Integer to Roman numerals converter
|
||||||
License: Python-2.0
|
License: ZPL-2.1
|
||||||
Group: Development/Languages/Python
|
|
||||||
URL: https://github.com/zopefoundation/roman
|
URL: https://github.com/zopefoundation/roman
|
||||||
Source: https://files.pythonhosted.org/packages/source/r/roman/%{packagename}-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/r/roman/%{packagename}-%{version}.tar.gz
|
||||||
|
BuildRequires: %{python_module base >= 3.9}
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
|
Requires(post): update-alternatives
|
||||||
|
Requires(postun): update-alternatives
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
@@ -41,10 +44,10 @@ This module converts from and to Roman numerals. It can convert numbers from
|
|||||||
%setup -q -n %{packagename}-%{version}
|
%setup -q -n %{packagename}-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_clone -a %{buildroot}%{_bindir}/%{packagename}
|
%python_clone -a %{buildroot}%{_bindir}/%{packagename}
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
%prepare_alternative %{packagename}
|
%prepare_alternative %{packagename}
|
||||||
@@ -59,9 +62,10 @@ This module converts from and to Roman numerals. It can convert numbers from
|
|||||||
%pyunittest discover -v src
|
%pyunittest discover -v src
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc CHANGES.txt
|
%doc README.rst CHANGES.rst
|
||||||
%pycache_only %{python_sitelib}/__pycache__/%{packagename}*
|
%license LICENSE.txt
|
||||||
%{python_sitelib}/*egg-info/
|
%pycache_only %{python_sitelib}/__pycache__/%{packagename}*pyc
|
||||||
|
%{python_sitelib}/%{packagename}-%{version}.dist-info
|
||||||
%{python_sitelib}/%{packagename}.py
|
%{python_sitelib}/%{packagename}.py
|
||||||
%python_alternative %{_bindir}/roman
|
%python_alternative %{_bindir}/roman
|
||||||
|
|
||||||
|
BIN
roman-3.3.tar.gz
(Stored with Git LFS)
BIN
roman-3.3.tar.gz
(Stored with Git LFS)
Binary file not shown.
BIN
roman-5.0.tar.gz
(Stored with Git LFS)
Normal file
BIN
roman-5.0.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
Reference in New Issue
Block a user