Hello community,

here is the log from the commit of package python-kmatch for openSUSE:Factory 
checked in at 2020-08-19 18:57:09
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-kmatch (Old)
 and      /work/SRC/openSUSE:Factory/.python-kmatch.new.3399 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-kmatch"

Wed Aug 19 18:57:09 2020 rev:5 rq:827760 version:0.3.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-kmatch/python-kmatch.changes      
2019-07-24 20:36:10.434569881 +0200
+++ /work/SRC/openSUSE:Factory/.python-kmatch.new.3399/python-kmatch.changes    
2020-08-19 18:58:37.639904688 +0200
@@ -1,0 +2,8 @@
+Sun Aug 16 14:10:25 UTC 2020 - John Vandenberg <[email protected]>
+
+- Re-activate test suite replacing nose with pytest
+- Remove tests from runtime package
+- dos2unix several files
+- Tidy spec
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-kmatch.spec ++++++
--- /var/tmp/diff_new_pack.jQ6ccP/_old  2020-08-19 18:58:39.323905583 +0200
+++ /var/tmp/diff_new_pack.jQ6ccP/_new  2020-08-19 18:58:39.327905585 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-kmatch
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -23,18 +23,17 @@
 Summary:        A language for matching/validating/filtering Python 
dictionaries
 License:        MIT
 Group:          Development/Languages/Python
-Url:            https://github.com/ambitioninc/kmatch
+URL:            https://github.com/ambitioninc/kmatch
 Source:         
https://files.pythonhosted.org/packages/source/k/kmatch/kmatch-%{version}.tar.gz
 BuildRequires:  %{python_module setuptools}
+BuildRequires:  dos2unix
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
+BuildArch:      noarch
 # SECTION test requirements
-BuildRequires:  %{python_module coverage >= 3.7.1}
 BuildRequires:  %{python_module mock >= 1.0.1}
-BuildRequires:  %{python_module nose >= 1.3.0}
+BuildRequires:  %{python_module pytest}
 # /SECTION
-BuildArch:      noarch
-
 %python_subpackages
 
 %description
@@ -44,6 +43,11 @@
 
 %prep
 %setup -q -n kmatch-%{version}
+sed -i '/nose/d' setup.py
+dos2unix README.rst LICENSE
+chmod a-x README.rst LICENSE
+rm -r *.egg-info
+mv kmatch/tests/ .tests
 
 %build
 %python_build
@@ -53,7 +57,8 @@
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
-%python_exec setup.py test
+mv .tests tests
+%pytest tests/*_tests.py
 
 %files %{python_files}
 %doc README.rst


Reply via email to