Hello community,

here is the log from the commit of package python-decorator for 
openSUSE:Factory checked in at 2017-04-28 09:12:19
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-decorator (Old)
 and      /work/SRC/openSUSE:Factory/.python-decorator.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-decorator"

Fri Apr 28 09:12:19 2017 rev:14 rq:485855 version:4.0.11

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-decorator/python-decorator.changes        
2015-05-05 00:55:59.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python-decorator.new/python-decorator.changes   
2017-04-28 09:12:27.309258688 +0200
@@ -1,0 +2,49 @@
+Wed Apr  5 15:13:12 UTC 2017 - [email protected]
+
+- fix source url
+
+-------------------------------------------------------------------
+Sat Apr  1 21:20:43 UTC 2017 - [email protected]
+
+- Update to 4.0.11
+  * Small improvements to the documentation and tested with Python 3.6
+- Update to 4.0.10
+  * Improved the documentation thanks to Tony Goodchild (zearin) who also
+    provided a much better CSS than the one I was using.
+- Update to 4.0.9
+  * Same as 4.0.7 and 4.0.8, re-uploaded due to issues on PyPI.
+- Update to 4.0.7
+  * Switched to a new changelog format (the one in http://keepachangelog.com/)
+    since it was contributed by Alexander Artemenko. Re-added a newline to 
support
+    old version of Python, as requested by [azjps](https://github.com/azjps).
+- Update to 4.0.6
+  * Removed a file x.py accidentally entered in the tarball.
+- Update to 4.0.5
+  * Documented a quirk signaled by David Goldstein when writing decorators
+    for functions with keyword arguments. Avoided copying the globals,
+    as signaled by Benjamin Peterson.
+- Update to 4.0.4
+  * Included a patch from Zev Benjamin: now decorated functions play well
+    with cProfile.
+- Update to 4.0.3
+  * Added a warning about the memoize example, as requested by Robert
+    Buchholz.
+- Update to 4.0.2
+  * docs/README.rst was not included in MANIFEST.in by accident,
+    thus breaking the source installation.
+- Update to 4.0.1
+  * Added docs directory and upload_docs command. Fixed bug with
+    `__qualname__`, reported by Lucian Petrut.
+- Update to 4.0.0
+  * Removed the need for 2to3 by dropping the support for Python 2.5.
+  * Added a MANIFEST.in file and produced a proper wheel. Improved
+    the integration with setuptools so that `python setup.py test` works.
+  * Reworked the documentation and introduced `decorator.decorated`.
+  * Removed any dependence from `inspect.getargspec`, which is deprecated
+    in Python 3.5, as signaled by Ralf Gommers.
+  * Fixed `contextmanager` to work with Python 3.5.
+  * Copied the `__qualname__` attribute, as requested by Frazer McLean.
+  * Added a `dispatch_on` facility to implement generic functions.
+- Implement single-spec version.
+
+-------------------------------------------------------------------

Old:
----
  decorator-3.4.2.tar.gz

New:
----
  decorator-4.0.11.tar.gz

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

Other differences:
------------------
++++++ python-decorator.spec ++++++
--- /var/tmp/diff_new_pack.6A0JIg/_old  2017-04-28 09:12:28.121144202 +0200
+++ /var/tmp/diff_new_pack.6A0JIg/_new  2017-04-28 09:12:28.121144202 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-decorator
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 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
@@ -16,24 +16,22 @@
 #
 
 
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-decorator
-Version:        3.4.2
+Version:        4.0.11
 Release:        0
 Url:            http://pypi.python.org/pypi/decorator
 Summary:        Better living through Python with decorators
 License:        BSD-2-Clause
 Group:          Development/Languages/Python
-Source:         
http://pypi.python.org/packages/source/d/decorator/decorator-%{version}.tar.gz
+Source:         
https://files.pythonhosted.org/packages/source/d/decorator/decorator-%{version}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-BuildRequires:  python-devel
-BuildRequires:  python-setuptools
-%if 0%{?suse_version}
-%py_requires
-%if 0%{?suse_version} > 1110
+BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module setuptools}
+BuildRequires:  python-rpm-macros
 BuildArch:      noarch
-%endif
-%endif
-%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from 
distutils.sysconfig import get_python_lib; print get_python_lib()")}
+
+%python_subpackages
 
 %description
 As of now, writing custom decorators correctly requires some experience and it
@@ -49,19 +47,19 @@
 
 %prep
 %setup -q -n decorator-%{version}
-sed -i 's/\r//' README.rst # Fix EOL encoding
+sed -i 's/\r//' docs/README.rst # Fix EOL encoding
 
 %build
-python setup.py build
+%python_build
 
 %install
-python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+%python_install
 
-%files
+%files %{python_files}
 %defattr(-,root,root,-)
-%doc README.rst
-%{python_sitelib}/decorator.py
-%{python_sitelib}/decorator.pyc
-%{python_sitelib}/decorator-%{version}-py%{py_ver}.egg-info
+%doc CHANGES.md LICENSE.txt documentation.pdf docs/README.rst
+%{python_sitelib}/decorator.py*
+%pycache_only %{python_sitelib}/__pycache__/decorator.*.py*
+%{python_sitelib}/decorator-%{version}-py*.egg-info
 
 %changelog

++++++ decorator-3.4.2.tar.gz -> decorator-4.0.11.tar.gz ++++++
++++ 13062 lines of diff (skipped)


Reply via email to