Hello community,

here is the log from the commit of package python3-coverage for 
openSUSE:Factory checked in at 2015-11-16 18:51:14
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python3-coverage (Old)
 and      /work/SRC/openSUSE:Factory/.python3-coverage.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python3-coverage"

Changes:
--------
--- /work/SRC/openSUSE:Factory/python3-coverage/python3-coverage.changes        
2014-11-15 12:26:41.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.python3-coverage.new/python3-coverage.changes   
2015-11-16 18:51:15.000000000 +0100
@@ -1,0 +2,65 @@
+Wed Nov  4 16:41:26 UTC 2015 - [email protected]
+
+- update to version 4.0.2:
+  * More work on supporting unusually encoded source. Fixed issue 431.
+  * Files or directories with non-ASCII characters are now handled
+    properly, fixing issue 432.
+  * Setting a trace function with sys.settrace was broken by a change
+    in 4.0.1, as reported in issue 436. This is now fixed.
+  * Officially support PyPy 4.0, which required no changes, just
+    updates to the docs.
+
+-------------------------------------------------------------------
+Fri Oct 23 04:20:46 UTC 2015 - [email protected]
+
+- specfile:
+  * added LICENSE.txt to %doc (see comments in SR 339567)
+
+-------------------------------------------------------------------
+Sun Oct 18 00:16:01 UTC 2015 - [email protected]
+
+- specfile:
+  * CHANGES.txt -> CHANGES.rst
+
+- update to version 4.0.1:
+  * When combining data files, unreadable files will now generate a
+    warning instead of failing the command. This is more in line with
+    the older coverage.py v3.7.1 behavior, which silently ignored
+    unreadable files. Prompted by issue 418.
+  * The –skip-covered option would skip reporting on 100% covered
+    files, but also skipped them when calculating total coverage. This
+    was wrong, it should only remove lines from the report, not change
+    the final answer. This is now fixed, closing issue 423.
+  * In 4.0, the data file recorded a summary of the system on which it
+    was run. Combined data files would keep all of those
+    summaries. This could lead to enormous data files consisting of
+    mostly repetitive useless information. That summary is now gone,
+    fixing issue 415. If you want summary information, get in touch,
+    and we’ll figure out a better way to do it.
+  * Test suites that mocked os.path.exists would experience strange
+    failures, due to coverage.py using their mock inadvertently. This
+    is now fixed, closing issue 416.
+  * Importing a __init__ module explicitly would lead to an error:
+    AttributeError: 'module' object has no attribute '__path__', as
+    reported in issue 410. This is now fixed.
+  * Code that uses sys.settrace(sys.gettrace()) used to incur a more
+    than 2x speed penalty. Now there’s no penalty at all. Fixes issue
+    397.
+  * Pyexpat C code will no longer be recorded as a source file, fixing
+    issue 419.
+  * The source kit now contains all of the files needed to have a
+    complete source tree, re-fixing issue 137 and closing issue 281.
+
+-------------------------------------------------------------------
+Wed Oct  7 05:03:03 UTC 2015 - [email protected]
+
+- specfile:
+  * update copyright year
+  * updated license
+  * updated update-alternatives
+  * README.txt -> README.rst
+
+- update to version 4.0:
+  (long list, see http://coverage.readthedocs.org/en/latest/changes.html)
+
+-------------------------------------------------------------------

Old:
----
  coverage-3.7.1.tar.gz

New:
----
  coverage-4.0.2.tar.gz

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

Other differences:
------------------
++++++ python3-coverage.spec ++++++
--- /var/tmp/diff_new_pack.v2pjgi/_old  2015-11-16 18:51:16.000000000 +0100
+++ /var/tmp/diff_new_pack.v2pjgi/_new  2015-11-16 18:51:16.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python3-coverage
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 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,11 +17,11 @@
 
 
 Name:           python3-coverage
-Version:        3.7.1
+Version:        4.0.2
 Release:        0
 Url:            http://nedbatchelder.com/code/coverage/%{version}
 Summary:        Code coverage measurement for Python
-License:        BSD-3-Clause
+License:        Apache-2.0
 Group:          Development/Languages/Python
 Source:         
http://pypi.python.org/packages/source/c/coverage/coverage-%{version}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
@@ -49,13 +49,14 @@
 
 %install
 python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
-rm %{buildroot}%{_bindir}/coverage
-ln -s %{_bindir}/coverage-%{py3_ver} %{buildroot}/%{_bindir}/coverage
 
-%pre
-# Since /usr/bin/coverage became ghosted to be used with update-alternatives, 
we have
-# to get rid of the old binary resulting from the 
non-update-alternativies-ified package:
-[ -h %{_bindir}/coverage ] | rm -f %{_bindir}/coverage
+mkdir -p %{buildroot}%{_sysconfdir}/alternatives
+for p in coverage ; do
+    mv %{buildroot}%{_bindir}/$p %{buildroot}%{_bindir}/$p-%{py3_ver}
+    ln -s -f %{_sysconfdir}/alternatives/$p %{buildroot}%{_bindir}/$p
+    # create a dummy target for /etc/alternatives/$p
+    touch %{buildroot}%{_sysconfdir}/alternatives/$p
+done
 
 %post
 update-alternatives \
@@ -68,10 +69,11 @@
 
 %files
 %defattr(-,root,root,-)
-%doc AUTHORS.txt CHANGES.txt README.txt
-%ghost %{_bindir}/coverage
+%doc AUTHORS.txt CHANGES.rst README.rst LICENSE.txt
+%{_bindir}/coverage
 %{_bindir}/coverage3
 %{_bindir}/coverage-%{py3_ver}
+%ghost %{_sysconfdir}/alternatives/coverage
 %{python3_sitearch}/coverage
 %{python3_sitearch}/coverage-%{version}-py%{py3_ver}.egg-info
 

++++++ coverage-3.7.1.tar.gz -> coverage-4.0.2.tar.gz ++++++
++++ 44762 lines of diff (skipped)


Reply via email to