Hello community,

here is the log from the commit of package python-nose2 for openSUSE:Factory 
checked in at 2018-08-24 17:04:34
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-nose2 (Old)
 and      /work/SRC/openSUSE:Factory/.python-nose2.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-nose2"

Fri Aug 24 17:04:34 2018 rev:2 rq:629542 version:0.8.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-nose2/python-nose2.changes        
2017-07-08 12:33:40.192628260 +0200
+++ /work/SRC/openSUSE:Factory/.python-nose2.new/python-nose2.changes   
2018-08-24 17:04:36.770107619 +0200
@@ -1,0 +2,15 @@
+Thu Aug 16 10:22:15 UTC 2018 - [email protected]
+
+- Avoid name repetition in summary (rpmlint).
+
+-------------------------------------------------------------------
+Mon Aug 13 12:13:57 UTC 2018 - [email protected]
+
+- Remove dependency on unittest2
+  Add remove_unittest2.patch to faciliate that
+- Upgrade to 0.8.0:
+    List of changes is too long to show here, see
+    https://github.com/nose-devs/nose2/blob/master/docs/changelog.rst
+    changes between 0.6.5 and 0.8.0
+
+-------------------------------------------------------------------

Old:
----
  nose2-0.6.5.tar.gz

New:
----
  nose2-0.8.0.tar.gz
  remove_unittest2.patch

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

Other differences:
------------------
++++++ python-nose2.spec ++++++
--- /var/tmp/diff_new_pack.ww94wI/_old  2018-08-24 17:04:37.550108545 +0200
+++ /var/tmp/diff_new_pack.ww94wI/_new  2018-08-24 17:04:37.554108550 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-nose2
 #
-# Copyright (c) 2017 SUSE LINUX 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
@@ -18,26 +18,25 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-nose2
-Version:        0.6.5
+Version:        0.8.0
 Release:        0
-Summary:        Nose2 is the next generation of nicer testing for Python
-License:        BSD-2-Clause and Python-2.0
+Summary:        Second generation of the "nose" Python testing framework
+License:        BSD-2-Clause AND Python-2.0
 Group:          Development/Languages/Python
-Url:            https://github.com/nose-devs/nose2
+URL:            https://github.com/nose-devs/nose2
 Source:         
https://files.pythonhosted.org/packages/source/n/nose2/nose2-%{version}.tar.gz
+Patch0:         remove_unittest2.patch
 BuildRequires:  %{python_module cov-core >= 1.12}
-BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module mock}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module six >= 1.1}
-BuildRequires:  %{python_module unittest2}
+BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 Requires:       python-six >= 1.1
 Requires(post): update-alternatives
 Requires(postun): update-alternatives
 Suggests:       python-cov-core >= 1.12
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildArch:      noarch
-
 %python_subpackages
 
 %description
@@ -51,17 +50,20 @@
 
 %prep
 %setup -q -n nose2-%{version}
+%autopatch -p1
 
 %build
 %python_build
 
 %install
 %python_install
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %python_clone -a %{buildroot}%{_bindir}/nose2
 
 %check
-#LC_CTYPE=C.UTF8 python setup.py test
+export LC_CTYPE=C.UTF8 
+%python_exec setup.py test
 
 %post
 %python_install_alternative nose2
@@ -70,8 +72,8 @@
 %python_uninstall_alternative nose2
 
 %files %{python_files}
-%defattr(-,root,root,-)
-%doc AUTHORS README.rst license.txt
+%license license.txt
+%doc AUTHORS README.rst
 %python_alternative %{_bindir}/nose2
 %{python_sitelib}/*
 

++++++ nose2-0.6.5.tar.gz -> nose2-0.8.0.tar.gz ++++++
++++ 5881 lines of diff (skipped)

++++++ remove_unittest2.patch ++++++
--- a/setup.py
+++ b/setup.py
@@ -93,7 +93,7 @@ else:
         ],
     }
     params['install_requires'] = parse_requirements('requirements.txt')
-    params['test_suite'] = 'unittest.collector'
+    params['test_suite'] = 'nose2.tests'
     params['extras_require']['doc'] = 
parse_requirements('requirements-docs.txt')
     params['extras_require'].update(add_per_version_requirements())
 

Reply via email to