Hello community,

here is the log from the commit of package python-dbfread for openSUSE:Factory 
checked in at 2019-08-23 11:07:33
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-dbfread (Old)
 and      /work/SRC/openSUSE:Factory/.python-dbfread.new.7948 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-dbfread"

Fri Aug 23 11:07:33 2019 rev:3 rq:725333 version:2.0.7

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-dbfread/python-dbfread.changes    
2018-12-13 19:47:12.424797113 +0100
+++ /work/SRC/openSUSE:Factory/.python-dbfread.new.7948/python-dbfread.changes  
2019-08-23 11:07:39.442473861 +0200
@@ -1,0 +2,5 @@
+Thu Aug 22 14:02:42 UTC 2019 - Tomáš Chvátal <[email protected]>
+
+- Restrict to pytest3 as newer need major test tweaks
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-dbfread.spec ++++++
--- /var/tmp/diff_new_pack.3zyUPn/_old  2019-08-23 11:07:40.250473762 +0200
+++ /var/tmp/diff_new_pack.3zyUPn/_new  2019-08-23 11:07:40.254473761 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-dbfread
 #
-# Copyright (c) 2018 SUSE LINUX 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
@@ -17,24 +17,19 @@
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
-# Test directories messed up by python_expand
-%bcond_without  test
 Name:           python-dbfread
 Version:        2.0.7
 Release:        0
 Summary:        DBF file reader for Python
 License:        MIT
 Group:          Development/Languages/Python
-Url:            https://github.com/olemb/dbfread
+URL:            https://github.com/olemb/dbfread
 Source:         
https://files.pythonhosted.org/packages/source/d/dbfread/dbfread-%{version}.tar.gz
+BuildRequires:  %{python_module pytest < 4}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-%if %{with test}
-BuildRequires:  %{python_module pytest}
-%endif
 BuildArch:      noarch
-
 %python_subpackages
 
 %description
@@ -53,17 +48,10 @@
 %python_install
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
-%if %{with test}
 %check
-rm -rf build
-rm -rf _build.*
-%{python_expand rm -rf build
-py.test-%{$python_bin_suffix}
-}
-%endif
+%pytest
 
 %files %{python_files}
-%defattr(-,root,root,-)
 %doc README.rst
 %license LICENSE
 %{python_sitelib}/*


Reply via email to