commit python-flake8 for openSUSE:Factory
Hello community, here is the log from the commit of package python-flake8 for openSUSE:Factory checked in at 2016-01-20 09:53:24 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-flake8 (Old) and /work/SRC/openSUSE:Factory/.python-flake8.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-flake8" Changes: -------- --- /work/SRC/openSUSE:Factory/python-flake8/python-flake8.changes 2015-08-21 07:38:27.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.python-flake8.new/python-flake8.changes 2016-01-20 09:53:30.000000000 +0100 @@ -1,0 +2,39 @@ +Wed Jan 13 09:25:06 UTC 2016 - toddrme2178@gmail.com + +- 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. +- Remove upstream-included flake8-fix-tests-using-new-mock.patch +- Implement update-alternatives + +------------------------------------------------------------------- Old: ---- flake8-2.3.0.tar.gz flake8-fix-tests-using-new-mock.patch New: ---- flake8-2.5.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-flake8.spec ++++++ --- /var/tmp/diff_new_pack.3JyDHo/_old 2016-01-20 09:53:32.000000000 +0100 +++ /var/tmp/diff_new_pack.3JyDHo/_new 2016-01-20 09:53:32.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-flake8 # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 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,15 +17,13 @@ Name: python-flake8 -Version: 2.3.0 +Version: 2.5.1 Release: 0 Summary: Modular source code checker: pep8, pyflakes and co License: MIT Group: Development/Languages/Python -Url: http://bitbucket.org/tarek/flake8 +Url: https://gitlab.com/pycqa/flake8 Source: http://pypi.python.org/packages/source/f/flake8/flake8-%{version}.tar.gz -# PATCH-FIX-UPSTREAM flake8-fix-tests-using-new-mock.patch -- mlin@suse.com -Patch1: flake8-fix-tests-using-new-mock.patch BuildRequires: python-devel BuildRequires: python-setuptools # Test requirements: @@ -37,6 +35,8 @@ Requires: python-mccabe >= 0.2.1 Requires: python-pep8 >= 1.5.7 Requires: python-pyflakes >= 0.8.1 +Requires(post): update-alternatives +Requires(postun): update-alternatives 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()")} @@ -55,7 +55,6 @@ %prep %setup -q -n flake8-%{version} -%patch1 -p1 %build python setup.py build @@ -63,6 +62,22 @@ %install python setup.py install --prefix=%{_prefix} --root=%{buildroot} +# Prepare for update-alternatives usage +mkdir -p %{buildroot}%{_sysconfdir}/alternatives +mv %{buildroot}%{_bindir}/flake8 %{buildroot}%{_bindir}/flake8-%{py_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-%{py_ver} 30 + +%postun +if [ $1 -eq 0 ] ; then + "%_sbindir/update-alternatives" --remove flake8 %{_bindir}/flake8-%{py_ver} +fi + %check python setup.py test @@ -70,6 +85,8 @@ %defattr(-,root,root,-) %doc LICENSE README.rst %{_bindir}/flake8 +%{_bindir}/flake8-%{py_ver} +%ghost %{_sysconfdir}/alternatives/flake8 %{python_sitelib}/* %changelog ++++++ flake8-2.3.0.tar.gz -> flake8-2.5.1.tar.gz ++++++ ++++ 1811 lines of diff (skipped)
participants (1)
-
root@hilbert.suse.de