From aa00bb9ddad6b03c8d366444d72bd9f7cae37e50e245533c1d3d4da15175b8f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Tue, 12 Mar 2019 15:22:22 +0000 Subject: [PATCH] - Update to 0.18.1: * Fix case-sensitive related I100 errors for the pycharm style * Fix noqa regexp - Run fdupes - Enable tests OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flake8-import-order?expand=0&rev=13 --- flake8-import-order-0.18.1.tar.gz | 3 +++ flake8-import-order-0.18.tar.gz | 3 --- python-flake8-import-order.changes | 9 +++++++++ python-flake8-import-order.spec | 11 +++++++++-- 4 files changed, 21 insertions(+), 5 deletions(-) create mode 100644 flake8-import-order-0.18.1.tar.gz delete mode 100644 flake8-import-order-0.18.tar.gz diff --git a/flake8-import-order-0.18.1.tar.gz b/flake8-import-order-0.18.1.tar.gz new file mode 100644 index 0000000..8156b17 --- /dev/null +++ b/flake8-import-order-0.18.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a28dc39545ea4606c1ac3c24e9d05c849c6e5444a50fb7e9cdd430fc94de6e92 +size 21180 diff --git a/flake8-import-order-0.18.tar.gz b/flake8-import-order-0.18.tar.gz deleted file mode 100644 index 6c7f1ee..0000000 --- a/flake8-import-order-0.18.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9be5ca10d791d458eaa833dd6890ab2db37be80384707b0f76286ddd13c16cbf -size 18507 diff --git a/python-flake8-import-order.changes b/python-flake8-import-order.changes index c348221..13df1a9 100644 --- a/python-flake8-import-order.changes +++ b/python-flake8-import-order.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Tue Mar 12 15:18:04 UTC 2019 - Tomáš Chvátal + +- Update to 0.18.1: + * Fix case-sensitive related I100 errors for the pycharm style + * Fix noqa regexp +- Run fdupes +- Enable tests + ------------------------------------------------------------------- Tue Dec 4 12:48:05 UTC 2018 - Matej Cepl diff --git a/python-flake8-import-order.spec b/python-flake8-import-order.spec index 62fb364..c454722 100644 --- a/python-flake8-import-order.spec +++ b/python-flake8-import-order.spec @@ -1,7 +1,7 @@ # # spec file for package python-flake8-import-order # -# 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 @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-flake8-import-order -Version: 0.18 +Version: 0.18.1 Release: 0 Summary: Flake8 plugin that checks the ordering of import statements License: LGPL-3.0-only @@ -27,7 +27,10 @@ URL: https://github.com/public/flake8-import-order Source: https://files.pythonhosted.org/packages/source/f/flake8-import-order/flake8-import-order-%{version}.tar.gz BuildRequires: %{python_module flake8} BuildRequires: %{python_module pycodestyle} +BuildRequires: %{python_module pylama} +BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} +BuildRequires: fdupes BuildRequires: python-rpm-macros BuildRequires: python2-enum34 Requires: python-flake8 @@ -49,6 +52,10 @@ Flake8 and pylama plugin that checks the ordering of import statements. %install %python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%check +%pytest %files %{python_files} %license COPYING