From 08d1e85c6e2df13d1ec5b52d1d7d0853703b0b859227d68559e00876519dee4b Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Sat, 8 Dec 2018 21:25:15 +0000 Subject: [PATCH] - Use tarball from the master as of 2018-12-08 to test #16 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flake8-pyi?expand=0&rev=3 --- flake8-pyi-18.3.1.tar.gz | 4 ++-- python-flake8-pyi.changes | 5 +++++ python-flake8-pyi.spec | 12 ++++++------ 3 files changed, 13 insertions(+), 8 deletions(-) diff --git a/flake8-pyi-18.3.1.tar.gz b/flake8-pyi-18.3.1.tar.gz index 849ae59..2860442 100644 --- a/flake8-pyi-18.3.1.tar.gz +++ b/flake8-pyi-18.3.1.tar.gz @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:3e67e2441118a3b889bcec1a6bce5f0594de2abe1f502ec18201c777bd7d9a54 -size 10501 +oid sha256:6a13c305a1b53171add92189e9c55a0ccf9c6295ee25c118a99d29f636564ced +size 11108 diff --git a/python-flake8-pyi.changes b/python-flake8-pyi.changes index 57226c2..2cdec29 100644 --- a/python-flake8-pyi.changes +++ b/python-flake8-pyi.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat Dec 8 21:23:56 UTC 2018 - Matej Cepl + +- Use tarball from the master as of 2018-12-08 to test #16 + ------------------------------------------------------------------- Tue Oct 23 09:47:05 UTC 2018 - Matej Cepl diff --git a/python-flake8-pyi.spec b/python-flake8-pyi.spec index 4a7d7cb..4cc8a58 100644 --- a/python-flake8-pyi.spec +++ b/python-flake8-pyi.spec @@ -12,20 +12,22 @@ # 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/ +# + %define skip_python2 1 %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-flake8-pyi Version: 18.3.1 Release: 0 -License: MIT Summary: A plugin for flake8 to enable linting .pyi files -Url: https://github.com/ambv/flake8-pyi +License: MIT Group: Development/Languages/Python +Url: https://github.com/ambv/flake8-pyi Source: https://files.pythonhosted.org/packages/source/f/flake8-pyi/flake8-pyi-%{version}.tar.gz -BuildRequires: python-rpm-macros BuildRequires: %{python_module setuptools} +BuildRequires: python-rpm-macros # SECTION test requirements BuildRequires: %{python_module attrs} BuildRequires: %{python_module flake8 >= 3.2.1} @@ -54,13 +56,11 @@ sed -i '1{\,^#!%{_bindir}/env python,d}' pyi.py %python_install %fdupes %{buildroot}%{python3_sitelib} - %check # https://github.com/ambv/flake8-pyi/issues/16 exc_tests="test_defaults or test_function_def" PYTHONPATH=%{buildroot}%{python3_sitelib} py.test3 -v -k "not ($exc_tests)" tests - %files %{python_files} %doc README.rst %{python3_sitelib}/*