Hello community,

here is the log from the commit of package python-roman for openSUSE:Factory 
checked in at 2018-06-15 14:37:35
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-roman (Old)
 and      /work/SRC/openSUSE:Factory/.python-roman.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-roman"

Fri Jun 15 14:37:35 2018 rev:9 rq:613693 version:3.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-roman/python-roman.changes        
2013-11-25 16:03:50.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.python-roman.new/python-roman.changes   
2018-06-15 14:37:37.351332519 +0200
@@ -1,0 +2,9 @@
+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.0.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-roman.spec ++++++
--- /var/tmp/diff_new_pack.bnEjQy/_old  2018-06-15 14:37:39.147266827 +0200
+++ /var/tmp/diff_new_pack.bnEjQy/_new  2018-06-15 14:37:39.151266681 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-roman
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 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
@@ -15,42 +15,41 @@
 # Please submit bugfixes or comments via http://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.0
 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


Reply via email to