Hello community,
here is the log from the commit of package python-contextlib2 for
openSUSE:Factory checked in at 2017-05-27 13:18:53
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-contextlib2 (Old)
and /work/SRC/openSUSE:Factory/.python-contextlib2.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-contextlib2"
Sat May 27 13:18:53 2017 rev:2 rq:498285 version:0.5.5
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-contextlib2/python-contextlib2.changes
2015-08-27 08:55:23.000000000 +0200
+++
/work/SRC/openSUSE:Factory/.python-contextlib2.new/python-contextlib2.changes
2017-05-27 13:19:33.953318805 +0200
@@ -1,0 +2,50 @@
+Thu May 25 10:47:29 UTC 2017 - [email protected]
+
+- Fix source URL.
+- Provide python2- package for compatibility with singlespec macros.
+- Run unit tests
+- Update to version 0.5.5
+ * Issue `#13 <https://github.com/jazzband/contextlib2/issues/13>`__:
+ ``setup.py`` now falls back to plain ``distutils`` if ``setuptools`` is not
+ available (patch by Allan Harwood)
+ * Updates to the default compatibility testing matrix:
+ * Added: PyPy3, CPython 3.6 (maintenance), CPython 3.7 (development)
+ * Dropped: CPython 3.3
+- Update to version 0.5.4
+ * Thanks to the welcome efforts of Jannis Leidel, contextlib2 is now a
+ [Jazzband](https://jazzband.co/) project! This means that I (Nick Coghlan)
+ am no longer a single point of failure for backports of future contextlib
+ updates to earlier Python versions.
+ * Issue `#7 <https://github.com/jazzband/contextlib2/issues/7>`__: Backported
+ fix for CPython issue `#27122 <http://bugs.python.org/issue27122>`__,
+ preventing a potential infinite loop on Python 3.5 when handling
+ ``RuntimeError`` (CPython updates by Gregory P. Smith & Serhiy Storchaka)
+- Update to version 0.5.3
+ * ``ExitStack`` now correctly handles context managers implemented as
old-style
+ classes in Python 2.x (such as ``codecs.StreamReader`` and
+ ``codecs.StreamWriter``)
+ * ``setup.py`` has been migrated to setuptools and configured to emit a
+ universal wheel file by default
+- Update to version 0.5.2
+ * development migrated from BitBucket to GitHub
+ * ``redirect_stream``, ``redirect_stdout``, ``redirect_stderr`` and
``suppress``
+ now explicitly inherit from ``object``, ensuring compatibility with
+ ``ExitStack`` when run under Python 2.x (patch contributed by Devin
+ Jeanpierre).
+ * ``MANIFEST.in`` is now included in the published sdist, ensuring the
archive
+ can be precisely recreated even without access to the original source repo
+ (patch contributed by Guy Rozendorn)
+- Update to version 0.5.1
+ * Python 2.6 compatilibity restored (patch contributed by Armin Ronacher)
+ * README converted back to reStructured Text formatting
+- Update to version 0.5.0
+ * Updated to include all features from the Python 3.4 and 3.5 releases of
+ contextlib (also includes some ``ExitStack`` enhancements made following
+ the integration into the standard library for Python 3.3)
+ * The legacy ``ContextStack`` and ``ContextDecorator.refresh_cm`` APIs are
+ no longer documented and emit ``DeprecationWarning`` when used
+ * Python 2.6, 3.2 and 3.3 have been dropped from compatibility testing
+ * tox is now supported for local version compatibility testing (patch by
+ Marc Abramowitz)
+
+-------------------------------------------------------------------
Old:
----
contextlib2-0.4.0.tar.gz
New:
----
contextlib2-0.5.5.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-contextlib2.spec ++++++
--- /var/tmp/diff_new_pack.ILaAfy/_old 2017-05-27 13:19:34.733208549 +0200
+++ /var/tmp/diff_new_pack.ILaAfy/_new 2017-05-27 13:19:34.733208549 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-contextlib2
#
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2014 LISA GmbH, Bingen, Germany.
#
# All modifications and additions to the file contributed by third parties
@@ -16,22 +16,24 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
+%bcond_without test
+
Name: python-contextlib2
-Version: 0.4.0
+Version: 0.5.5
Release: 0
License: Python-2.0
Summary: Backports and enhancements for the contextlib module
Url: http://contextlib2.readthedocs.org
Group: Development/Languages/Python
-Source:
https://pypi.python.org/packages/source/c/contextlib2/contextlib2-%{version}.tar.gz
+Source:
https://files.pythonhosted.org/packages/source/c/contextlib2/contextlib2-%{version}.tar.gz
BuildRequires: python-devel
BuildRequires: python-setuptools
+%if %{with test}
+BuildRequires: python-unittest2
+%endif
+Provides: python2-contextlib2 = %{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-%if 0%{?suse_version} && 0%{?suse_version} <= 1110
-%{!?python_sitelib: %global python_sitelib %(python -c "from
distutils.sysconfig import get_python_lib; print get_python_lib()")}
-%else
BuildArch: noarch
-%endif
%description
contextlib2 is a backport of the standard library's contextlib module to
@@ -49,9 +51,14 @@
%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+%if %{with test}
+%check
+python2 test_contextlib2.py
+%endif
+
%files
%defattr(-,root,root,-)
-%doc README.txt NEWS.rst LICENSE.txt
+%doc README.rst NEWS.rst LICENSE.txt
%{python_sitelib}/*
%changelog
++++++ contextlib2-0.4.0.tar.gz -> contextlib2-0.5.5.tar.gz ++++++
++++ 2167 lines of diff (skipped)