Hello community, here is the log from the commit of package python-roman for openSUSE:Leap:15.2 checked in at 2020-03-02 13:22:20 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Leap:15.2/python-roman (Old) and /work/SRC/openSUSE:Leap:15.2/.python-roman.new.26092 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-roman" Mon Mar 2 13:22:20 2020 rev:11 rq:777099 version:3.2 Changes: -------- --- /work/SRC/openSUSE:Leap:15.2/python-roman/python-roman.changes 2020-01-15 15:52:42.579572671 +0100 +++ /work/SRC/openSUSE:Leap:15.2/.python-roman.new.26092/python-roman.changes 2020-03-02 13:22:21.506279194 +0100 @@ -1,0 +2,24 @@ +Wed Apr 17 07:44:28 UTC 2019 - [email protected] + +- version update to 3.2 + - expanded test coverage + - Added support for 0 -> N + (see https://en.wikipedia.org/wiki/Roman_numerals#Zero) + - Added support for Python 3.8 + +------------------------------------------------------------------- +Sat Dec 22 05:20:48 UTC 2018 - Todd R <[email protected]> + +- Update to 3.1 + * Added support for Python 3.7. + +------------------------------------------------------------------- +Fri Jun 1 19:13:58 UTC 2018 - [email protected] + +- Update to version 3.0 + + Added support for Python 3.5, 3.6 and PyPy3. + + Dropped support for Python 2.6 and 3.3. +- Convert package to single spec +- Remove workaround to build on SLES (suse_version <= 1110) + +------------------------------------------------------------------- Old: ---- roman-2.0.0.zip New: ---- roman-3.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-roman.spec ++++++ --- /var/tmp/diff_new_pack.TKToNR/_old 2020-03-02 13:22:22.302280777 +0100 +++ /var/tmp/diff_new_pack.TKToNR/_new 2020-03-02 13:22:22.302280777 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-roman # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,45 +12,44 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # -%define modname roman -Name: python-%{modname} -Version: 2.0.0 + +%{?!python_module:%define python_module() python-%{**} python3-%{**}} +Name: python-roman +Version: 3.2 Release: 0 Summary: Integer to Roman numerals converter License: Python-2.0 -Group: Development/Libraries/Python -Url: http://pypi.python.org/pypi/roman -Source0: http://pypi.python.org/packages/source/r/%{modname}/%{modname}-%{version}.zip -BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: python-devel -BuildRequires: python-setuptools -BuildRequires: unzip -%if 0%{?suse_version} <= 1110 -%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} -%else +Group: Development/Languages/Python +URL: https://github.com/zopefoundation/roman +Source: https://files.pythonhosted.org/packages/source/r/roman/roman-%{version}.tar.gz +BuildRequires: %{python_module setuptools} +BuildRequires: fdupes +BuildRequires: python-rpm-macros BuildArch: noarch -%endif +%python_subpackages %description This module converts from and to Roman numerals. It can convert numbers from 1 to 4999 and understands the common shortcuts (IX == 9), but not illegal ones (MIM == 1999). %prep -%setup -n %{modname}-%{version} +%setup -q -n roman-%{version} %build -python setup.py build +%python_build %install -python setup.py install --prefix=%{_prefix} --root=%{buildroot} +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%check +%python_exec setup.py test -%files -%defattr(-,root,root) +%files %{python_files} %doc CHANGES.txt -%{python_sitelib}/%{modname}.py* -%{python_sitelib}/%{modname}-%{version}-py%{py_ver}.egg-info +%{python_sitelib}/* %changelog
