commit python-flake8-future-import for openSUSE:Factory
Hello community, here is the log from the commit of package python-flake8-future-import for openSUSE:Factory checked in at 2019-09-13 15:01:10 Comparing /work/SRC/openSUSE:Factory/python-flake8-future-import (Old) and /work/SRC/openSUSE:Factory/.python-flake8-future-import.new.7948 (New) Package is "python-flake8-future-import" Fri Sep 13 15:01:10 2019 rev:4 rq:730400 version:0.4.6 Changes: --- /work/SRC/openSUSE:Factory/python-flake8-future-import/python-flake8-future-import.changes 2019-02-01 11:48:28.896365410 +0100 +++ /work/SRC/openSUSE:Factory/.python-flake8-future-import.new.7948/python-flake8-future-import.changes 2019-09-13 15:03:21.161281809 +0200 @@ -1,0 +2,7 @@ +Thu Sep 12 12:35:38 UTC 2019 - Tomáš Chvátal + +- Update to 0.4.6: + * fixes for new python releases +- Remove patch python37.patch + +--- Old: flake8-future-import-0.4.5.tar.gz python37.patch New: flake8-future-import-0.4.6.tar.gz Other differences: -- ++ python-flake8-future-import.spec ++ --- /var/tmp/diff_new_pack.4qRbcV/_old 2019-09-13 15:03:22.033281623 +0200 +++ /var/tmp/diff_new_pack.4qRbcV/_new 2019-09-13 15:03:22.033281623 +0200 @@ -18,14 +18,13 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-flake8-future-import -Version:0.4.5 +Version:0.4.6 Release:0 Summary:__future__ import checker, plugin for flake8 License:MIT Group: Development/Languages/Python URL:https://github.com/xZise/flake8-future-import Source: https://files.pythonhosted.org/packages/source/f/flake8-future-import/flake8-future-import-%{version}.tar.gz -Patch0: python37.patch BuildRequires: %{python_module flake8} BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} @@ -49,7 +48,6 @@ %prep %setup -q -n flake8-future-import-%{version} -%patch0 -p1 mv test_flake8_future_import.py test_flake8_future_import.py.in %build ++ flake8-future-import-0.4.5.tar.gz -> flake8-future-import-0.4.6.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/flake8-future-import-0.4.5/PKG-INFO new/flake8-future-import-0.4.6/PKG-INFO --- old/flake8-future-import-0.4.5/PKG-INFO 2018-04-15 14:55:13.0 +0200 +++ new/flake8-future-import-0.4.6/PKG-INFO 2019-08-04 15:08:39.0 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: flake8-future-import -Version: 0.4.5 +Version: 0.4.6 Summary: __future__ import checker, plugin for flake8 Home-page: https://github.com/xZise/flake8-future-import Author: Fabian Neundorf @@ -10,7 +10,7 @@ Description: __future__ import checker = -.. image:: https://secure.travis-ci.org/xZise/flake8-future-import.png?branch=0.4.5 +.. image:: https://secure.travis-ci.org/xZise/flake8-future-import.png?branch=0.4.6 :alt: Build Status :target: https://travis-ci.org/xZise/flake8-future-import @@ -52,7 +52,7 @@ is available in ``flake8``:: $ flake8 --version - 2.0 (pep8: 1.4.2, flake8-future-imports: 0.4.3, pyflakes: 0.6.1) + 3.5.0 (flake8-future-imports: 0.4.6, mccabe: 0.6.1, pycodestyle: 2.3.1, pyflakes: 1.6.0) By default the plugin will check for all the future imports but with ``--ignore`` it's possible to define which imports from ``__future__`` are @@ -101,6 +101,8 @@ +--+--+ | FI17 | ``__future__`` import "generators" missing | +--+--+ +| FI12 | ``__future__`` import "annotations" missing | ++--+--+ +--+--+ | FI50 | ``__future__`` import "division" present | +--+--+ @@ -118,6 +120,8 @@ +--+--+ | FI57 | ``__future__`` import "generators" present | +--+--+ +| FI58 | ``__future__`` import "annotations" present | ++--+--+ +--+--+ | FI90 | ``__future__`` import does not exist | +--+--+ @@ -140,19 +14
commit python-flake8-future-import for openSUSE:Factory
Hello community, here is the log from the commit of package python-flake8-future-import for openSUSE:Factory checked in at 2019-02-01 11:47:59 Comparing /work/SRC/openSUSE:Factory/python-flake8-future-import (Old) and /work/SRC/openSUSE:Factory/.python-flake8-future-import.new.28833 (New) Package is "python-flake8-future-import" Fri Feb 1 11:47:59 2019 rev:3 rq:670304 version:0.4.5 Changes: --- /work/SRC/openSUSE:Factory/python-flake8-future-import/python-flake8-future-import.changes 2018-12-13 19:44:32.249005333 +0100 +++ /work/SRC/openSUSE:Factory/.python-flake8-future-import.new.28833/python-flake8-future-import.changes 2019-02-01 11:48:28.896365410 +0100 @@ -1,0 +2,6 @@ +Thu Jan 31 10:20:38 UTC 2019 - Tomáš Chvátal + +- Add patch to build with python 3.7: + * python37.patch + +--- New: python37.patch Other differences: -- ++ python-flake8-future-import.spec ++ --- /var/tmp/diff_new_pack.3Ruc8v/_old 2019-02-01 11:48:29.732364552 +0100 +++ /var/tmp/diff_new_pack.3Ruc8v/_new 2019-02-01 11:48:29.736364547 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-flake8-future-import # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 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 @@ -25,14 +25,15 @@ Group: Development/Languages/Python URL:https://github.com/xZise/flake8-future-import Source: https://files.pythonhosted.org/packages/source/f/flake8-future-import/flake8-future-import-%{version}.tar.gz +Patch0: python37.patch BuildRequires: %{python_module flake8} BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module six} +BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-flake8 BuildArch: noarch - %python_subpackages %description @@ -48,6 +49,7 @@ %prep %setup -q -n flake8-future-import-%{version} +%patch0 -p1 mv test_flake8_future_import.py test_flake8_future_import.py.in %build @@ -55,7 +57,7 @@ %check %{python_expand # Deal with generated Python code -sed -e "s|#!/usr/bin/pythonn|#!%{_bindir}/$pythonn|g" \ +sed -e "s|#!%{_bindir}/pythonn|#!%{_bindir}/$pythonn|g" \ -e "s|command = \\['flake8'|command = \\['flake8-%{$python_bin_suffix}'|g" \ test_flake8_future_import.py.in > test_flake8_future_import.py $python setup.py test @@ -63,6 +65,7 @@ %install %python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} %files %{python_files} %license LICENSE ++ python37.patch ++ >From cace194a44d3b95c9c1ed96640bae49183acca04 Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Wed, 5 Dec 2018 19:15:58 -0500 Subject: [PATCH] Add "annotation" feature Python 3.7 introduced "annotations" feature. See https://docs.python.org/3/whatsnew/3.7.html#pep-563-postponed-evaluation-of-annotations --- flake8_future_import.py | 3 ++- test_flake8_future_import.py | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/flake8_future_import.py b/flake8_future_import.py index 7bd1bbe..2c4b918 100755 --- a/flake8_future_import.py +++ b/flake8_future_import.py @@ -76,11 +76,12 @@ def add_arguments(cls, parser): GENERATOR_STOP = Feature(5, 'generator_stop', (3, 5, 0), (3, 7, 0)) NESTED_SCOPES = Feature(6, 'nested_scopes', (2, 1, 0), (2, 2, 0)) GENERATORS = Feature(7, 'generators', (2, 2, 0), (2, 3, 0)) +ANNOTATIONS = Feature(8, 'annotations', (3, 7, 0), (4, 0, 0)) # Order important as it defines the error code ALL_FEATURES = (DIVISION, ABSOLUTE_IMPORT, WITH_STATEMENT, PRINT_FUNCTION, -UNICODE_LITERALS, GENERATOR_STOP, NESTED_SCOPES, GENERATORS) +UNICODE_LITERALS, GENERATOR_STOP, NESTED_SCOPES, GENERATORS, ANNOTATIONS) FEATURES = dict((feature.name, feature) for feature in ALL_FEATURES) FEATURE_NAMES = frozenset(feature.name for feature in ALL_FEATURES) # Make sure the features aren't messed up diff --git a/test_flake8_future_import.py b/test_flake8_future_import.py index 1083ea4..84fde59 100644 --- a/test_flake8_future_import.py +++ b/test_flake8_future_import.py @@ -135,14 +135,14 @@ def test_mandatory_and_unavailable(self): """Do not care about already mandatory or not yet available features.""" self.run_checker( (2, 6, 0), -set(['nested_scopes', 'generators', 'with_statement', 'generator_stop']), +set(['nested_scopes', 'generators', 'with_statement', 'generator_stop', 'annotations']),
commit python-flake8-future-import for openSUSE:Factory
Hello community, here is the log from the commit of package python-flake8-future-import for openSUSE:Factory checked in at 2018-12-13 19:44:30 Comparing /work/SRC/openSUSE:Factory/python-flake8-future-import (Old) and /work/SRC/openSUSE:Factory/.python-flake8-future-import.new.28833 (New) Package is "python-flake8-future-import" Thu Dec 13 19:44:30 2018 rev:2 rq:654055 version:0.4.5 Changes: --- /work/SRC/openSUSE:Factory/python-flake8-future-import/python-flake8-future-import.changes 2018-04-24 15:32:05.212485314 +0200 +++ /work/SRC/openSUSE:Factory/.python-flake8-future-import.new.28833/python-flake8-future-import.changes 2018-12-13 19:44:32.249005333 +0100 @@ -1,0 +2,5 @@ +Tue Dec 4 12:48:04 UTC 2018 - Matej Cepl + +- Remove superfluous devel dependency for noarch package + +--- Other differences: -- ++ python-flake8-future-import.spec ++ --- /var/tmp/diff_new_pack.MaNEfT/_old 2018-12-13 19:44:33.241004041 +0100 +++ /var/tmp/diff_new_pack.MaNEfT/_new 2018-12-13 19:44:33.245004036 +0100 @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -25,7 +25,6 @@ Group: Development/Languages/Python URL:https://github.com/xZise/flake8-future-import Source: https://files.pythonhosted.org/packages/source/f/flake8-future-import/flake8-future-import-%{version}.tar.gz -BuildRequires: %{python_module devel} BuildRequires: %{python_module flake8} BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools}