Hello community,

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

Package is "python-pyflakes"

Wed Apr 19 18:05:23 2017 rev:19 rq:483391 version:1.5.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pyflakes/python-pyflakes.changes  
2016-08-22 13:58:56.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python-pyflakes.new/python-pyflakes.changes     
2017-04-19 18:05:28.263288799 +0200
@@ -1,0 +2,52 @@
+Wed Mar 29 13:53:04 UTC 2017 - [email protected]
+
+- uninstall alternatives in %postun
+
+-------------------------------------------------------------------
+Mon Feb 20 14:19:34 UTC 2017 - [email protected]
+
+- update for singlespec
+
+-------------------------------------------------------------------
+Wed Feb 15 08:46:26 UTC 2017 - [email protected]
+
+- update to version 1.5.0:
+  * Enable support for PEP 526 annotated assignments
+    
+- update to version 1.4.0:
+  * Change formatting of ImportStarMessage to be consistent with
+    other errors
+  * Support PEP 498 "f-strings"
+
+- update to version 1.3.0:
+  * Fix PyPy2 Windows IntegrationTests
+  * Check for duplicate dictionary keys
+  * Fix TestMain tests on Windows
+  * Fix "continue" and "break" checks ignoring py3.5's "async for" loop
+
+- update to version 1.2.3:
+  * Fix TypeError when processing relative imports
+  
+- update to version 1.2.2:
+  * Avoid traceback when exception is del-ed in except
+
+- update to version 1.2.1:
+  * Fix false RedefinedWhileUnesed for submodule imports
+
+- update to version 1.2.0:
+  * Warn against reusing exception names after the except: block on
+    Python 3
+  * Improve the error messages for imports
+
+- update to version 1.1.0:
+  * main() can now accept arguments
+  * the matrix-multiplication operator (@) is now supported
+  * imports from __future__ are checked for validity
+  * fixes to doctest scope testing
+  * asserts against a tuple (which are always true) now emits a warning
+  * "import *" not at the module level on python3 emits a warning
+  * many kinds of SyntaxErrors not previously caught now are
+  * PEP 498 f-strings are checked
+  * and a few more sundry bugfixes
+
+-------------------------------------------------------------------

Old:
----
  pyflakes-1.0.0.tar.gz

New:
----
  pyflakes-1.5.0.tar.gz

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

Other differences:
------------------
++++++ python-pyflakes.spec ++++++
--- /var/tmp/diff_new_pack.LYoBt4/_old  2017-04-19 18:05:29.407126998 +0200
+++ /var/tmp/diff_new_pack.LYoBt4/_new  2017-04-19 18:05:29.407126998 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pyflakes
 #
-# Copyright (c) 2016 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,8 +16,9 @@
 #
 
 
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-pyflakes
-Version:        1.0.0
+Version:        1.5.0
 Release:        0
 Url:            https://launchpad.net/pyflakes
 Summary:        Passive checker of Python programs
@@ -25,17 +26,15 @@
 Group:          Development/Languages/Python
 Source:         pyflakes-%{version}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-BuildRequires:  python-devel
-BuildRequires:  python-setuptools
+BuildRequires:  %{python_module setuptools}
+BuildRequires:  python-rpm-macros
 # the pkg_resources module is required at runtime
 Requires:       python-setuptools
 Requires(post): update-alternatives
-Requires(preun): update-alternatives
-%if 0%{?suse_version} <= 1110
-%{!?python_sitelib: %global python_sitelib %(python -c "from 
distutils.sysconfig import get_python_lib; print get_python_lib()")}
-%else
+Requires(postun): update-alternatives
 BuildArch:      noarch
-%endif
+
+%python_subpackages
 
 %description
 Pyflakes is program to analyze Python programs and detect various errors. It
@@ -46,31 +45,22 @@
 %setup -q -n pyflakes-%{version}
 
 %build
-python setup.py build
+%python_build
 
 %install
-python setup.py install --prefix=%{_prefix} --root=%{buildroot}
-
-# Prepare for update-alternatives usage
-mkdir -p %{buildroot}%{_sysconfdir}/alternatives
-mv %{buildroot}%{_bindir}/pyflakes %{buildroot}%{_bindir}/pyflakes-%{py_ver}
-ln -s -f %{_sysconfdir}/alternatives/pyflakes %{buildroot}%{_bindir}/pyflakes
+%python_install
+%python_clone -a %{buildroot}%{_bindir}/pyflakes
 
 %post
-%_sbindir/update-alternatives \
-   --install %{_bindir}/pyflakes pyflakes %{_bindir}/pyflakes-%{py_ver} 30
+%python_install_alternative pyflakes
 
-%preun
-if [ $1 -eq 0 ] ; then
-    %_sbindir/update-alternatives --remove pyflakes 
%{_bindir}/pyflakes-%{py_ver}
-fi
+%postun
+%python_uninstall_alternative pyflakes
 
-%files
+%files %{python_files}
 %defattr(-,root,root,-)
 %doc LICENSE NEWS.txt README.rst AUTHORS
-%{_bindir}/pyflakes
-%{_bindir}/pyflakes-%{py_ver}
-%ghost %{_sysconfdir}/alternatives/pyflakes
+%python_alternative %{_bindir}/pyflakes
 %{python_sitelib}/pyflakes/
 %{python_sitelib}/pyflakes-%{version}-py*.egg-info
 

++++++ pyflakes-1.0.0.tar.gz -> pyflakes-1.5.0.tar.gz ++++++
++++ 3728 lines of diff (skipped)


Reply via email to