Hello community,

here is the log from the commit of package python3-flake8 for openSUSE:Factory 
checked in at 2016-01-21 23:42:17
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python3-flake8 (Old)
 and      /work/SRC/openSUSE:Factory/.python3-flake8.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python3-flake8"

Changes:
--------
--- /work/SRC/openSUSE:Factory/python3-flake8/python3-flake8.changes    
2015-01-10 23:05:33.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.python3-flake8.new/python3-flake8.changes       
2016-01-22 01:06:56.000000000 +0100
@@ -1,0 +2,38 @@
+Wed Jan 13 09:23:20 UTC 2016 - [email protected]
+
+- Update to 2.5.1
+  * Bug Properly look for .flake8 in current working directory
+  * Bug Monkey-patch pep8.stdin_get_value to cache the actual value
+    in stdin. This helps plugins relying on the function when run
+    with multiprocessing.
+- Update to 2.5.0
+  * Improvement Raise cap on PyFlakes for Python 3.5 support
+  * Improvement Avoid deprecation warnings when loading extensions
+  * Improvement Separate logic to enable “off-by-default” extensions
+  * Bug Properly parse options to setuptools Flake8 command
+  * Bug Fix exceptions when output on stdout is truncated before 
+    Flake8 finishes writing the output
+  * Bug Fix error on OS X where Flake8 can no longer acquire or
+    create new semaphores
+- Update to 2.4.1
+  * Bug Do not raise a SystemError unless there were errors in the
+    setuptools command.
+  * Bug Do not verify dependencies of extensions loaded via 
+    entry-points.
+  * Improvement Blacklist versions of pep8 we know are broken
+- Update to 2.4.0
+  * Bug Print filenames when using multiprocessing and -q option.
+  * Bug Put upper cap on dependencies. The caps for 2.4.0 are:
+    > pep8 < 1.6 (Related to GitLab#35)
+    > mccabe < 0.4
+    > pyflakes < 0.9
+  * See also GitLab#32
+  * Bug Files excluded in a config file were not being excluded 
+    when flake8 was run from a git hook.
+  * Improvement Print warnings for users who are providing
+    mutually exclusive options to flake8.
+  * Feature Allow git hook configuration to live in .git/config.
+    See the updated VCS hooks docs for more details.
+- Implement update-alternatives
+
+-------------------------------------------------------------------

Old:
----
  flake8-2.3.0.tar.gz

New:
----
  flake8-2.5.1.tar.gz

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

Other differences:
------------------
++++++ python3-flake8.spec ++++++
--- /var/tmp/diff_new_pack.APNnbi/_old  2016-01-22 01:06:57.000000000 +0100
+++ /var/tmp/diff_new_pack.APNnbi/_new  2016-01-22 01:06:57.000000000 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           python3-flake8
-Version:        2.3.0
+Version:        2.5.1
 Release:        0
 Summary:        Modular source code checker: pep8, pyflakes and co
 License:        MIT
@@ -26,15 +26,17 @@
 Source:         
http://pypi.python.org/packages/source/f/flake8/flake8-%{version}.tar.gz
 BuildRequires:  python3-devel
 BuildRequires:  python3-distribute
-# Test requirements:
 BuildRequires:  python3-mccabe >= 0.2
-BuildRequires:  python3-mock
-BuildRequires:  python3-nose
 BuildRequires:  python3-pep8 >= 1.4.3
 BuildRequires:  python3-pyflakes >= 0.6.1
+# Test requirements:
+BuildRequires:  python3-mock
+BuildRequires:  python3-nose
 Requires:       python3-mccabe >= 0.2
 Requires:       python3-pep8 >= 1.4.3
 Requires:       python3-pyflakes >= 0.6.1
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildArch:      noarch
 
@@ -55,8 +57,22 @@
 
 %install
 python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
-# Avoid file conflict with Python-2.x version:
-mv %{buildroot}%{_bindir}/flake8{,-%{py3_ver}}
+
+# Prepare for update-alternatives usage
+mkdir -p %{buildroot}%{_sysconfdir}/alternatives
+mv %{buildroot}%{_bindir}/flake8 %{buildroot}%{_bindir}/flake8-%{py3_ver}
+ln -s -f %{_sysconfdir}/alternatives/flake8 %{buildroot}%{_bindir}/flake8
+# create a dummy target for /etc/alternatives/flake8
+touch %{buildroot}%{_sysconfdir}/alternatives/flake8
+
+%post
+"%_sbindir/update-alternatives" \
+   --install %{_bindir}/flake8 flake8 %{_bindir}/flake8-%{py3_ver} 30
+
+%postun
+if [ $1 -eq 0 ] ; then
+    "%_sbindir/update-alternatives" --remove flake8 
%{_bindir}/flake8-%{py3_ver}
+fi
 
 %check
 python3 setup.py test
@@ -64,7 +80,9 @@
 %files
 %defattr(-,root,root,-)
 %doc LICENSE README.rst
+%{_bindir}/flake8
 %{_bindir}/flake8-%{py3_ver}
+%ghost %{_sysconfdir}/alternatives/flake8
 %{python3_sitelib}/*
 
 %changelog

++++++ flake8-2.3.0.tar.gz -> flake8-2.5.1.tar.gz ++++++
++++ 1811 lines of diff (skipped)


Reply via email to