Hello community,

here is the log from the commit of package python-funcparserlib for 
openSUSE:Factory checked in at 2020-08-25 12:37:48
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-funcparserlib (Old)
 and      /work/SRC/openSUSE:Factory/.python-funcparserlib.new.3399 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-funcparserlib"

Tue Aug 25 12:37:48 2020 rev:5 rq:827220 version:0.3.6

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-funcparserlib/python-funcparserlib.changes    
    2018-12-19 13:53:17.894962507 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-funcparserlib.new.3399/python-funcparserlib.changes
      2020-08-25 12:37:51.533404196 +0200
@@ -1,0 +2,7 @@
+Sun Aug 16 13:34:27 UTC 2020 - John Vandenberg <[email protected]>
+
+- Use modernize to fix Python 2 only syntax in runtime code
+- Re-activate test suite by switching from nose to pytest
+- Tidy spec
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-funcparserlib.spec ++++++
--- /var/tmp/diff_new_pack.SnAGhM/_old  2020-08-25 12:37:52.309404341 +0200
+++ /var/tmp/diff_new_pack.SnAGhM/_new  2020-08-25 12:37:52.313404343 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-funcparserlib
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 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,23 +17,20 @@
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
-%bcond_without tests
 Name:           python-funcparserlib
 Version:        0.3.6
 Release:        0
 Summary:        Recursive descent parsing library based on functional 
combinators
 License:        MIT
 Group:          Development/Languages/Python
-URL:            http://code.google.com/p/funcparserlib/
+URL:            https://code.google.com/p/funcparserlib/
 Source:         
https://files.pythonhosted.org/packages/source/f/funcparserlib/funcparserlib-%{version}.tar.gz
+BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-BuildRequires:  python3-2to3
+BuildRequires:  python3-modernize
 BuildArch:      noarch
-%if %{with tests}
-BuildRequires:  %{python_module nose}
-%endif
 %python_subpackages
 
 %description
@@ -57,6 +54,8 @@
 
 %prep
 %setup -q -n funcparserlib-%{version}
+python-modernize -nw funcparserlib/
+sed -i "s/ur'/r'/" funcparserlib/tests/*.py
 
 %build
 %python_build
@@ -65,14 +64,8 @@
 %python_install
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
-%if %{with tests}
 %check
-pushd doc
-%{python_expand export PYHONPATH=%{buildroot}%{$python_sitelib}
-nosetests-%{$python_bin_suffix} -m funcparserlib
-}
-popd
-%endif
+%pytest
 
 %files %{python_files}
 %license LICENSE


Reply via email to