Hello community,

here is the log from the commit of package python-natsort for openSUSE:Factory 
checked in at 2018-08-31 10:46:31
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-natsort (Old)
 and      /work/SRC/openSUSE:Factory/.python-natsort.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-natsort"

Fri Aug 31 10:46:31 2018 rev:5 rq:632154 version:5.3.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-natsort/python-natsort.changes    
2018-07-18 22:52:57.447156379 +0200
+++ /work/SRC/openSUSE:Factory/.python-natsort.new/python-natsort.changes       
2018-08-31 10:46:32.455354545 +0200
@@ -1,0 +2,5 @@
+Wed Aug 29 12:22:03 UTC 2018 - [email protected]
+
+- Make sure tests pass in python 3.7
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-natsort.spec ++++++
--- /var/tmp/diff_new_pack.UzY5XA/_old  2018-08-31 10:46:32.887355072 +0200
+++ /var/tmp/diff_new_pack.UzY5XA/_new  2018-08-31 10:46:32.887355072 +0200
@@ -17,7 +17,6 @@
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
-%bcond_without  test
 Name:           python-natsort
 Version:        5.3.3
 Release:        0
@@ -26,22 +25,19 @@
 Group:          Development/Languages/Python
 URL:            https://github.com/SethMMorton/natsort
 Source:         
https://files.pythonhosted.org/packages/source/n/natsort/natsort-%{version}.tar.gz
-BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module hypothesis}
+BuildRequires:  %{python_module pytest-cov}
+BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  help2man
+BuildRequires:  python-mock
 BuildRequires:  python-rpm-macros
+BuildRequires:  python2-pathlib
 Requires:       python-setuptools
 Recommends:     python-PyICU >= 1.0.0
 Recommends:     python-fastnumbers >= 2.0.0
 BuildArch:      noarch
-%if %{with test}
-BuildRequires:  %{python_module hypothesis}
-BuildRequires:  %{python_module pytest-cov}
-BuildRequires:  %{python_module pytest}
-BuildRequires:  python-mock
-BuildRequires:  python2-pathlib
-%endif
 %ifpython2
 Requires:       python2-pathlib
 %endif
@@ -66,12 +62,11 @@
 help2man -o natsort.1 -N %{buildroot}%{_bindir}/natsort
 install -Dm0644 natsort.1 %{buildroot}%{_mandir}/man1/natsort.1
 
-%if %{with test}
 %check
+export LANG=en_US.UTF8
 %{python_expand export PYTHONPATH=%{buildroot}%{$python_sitelib}
 pytest-%{$python_bin_suffix}
 }
-%endif
 
 %files %{python_files}
 %license LICENSE


Reply via email to