15
0

Accepting request 682593 from home:jayvdb:py-check-failures

- Fix python base dependency to allow on Python 3.6
- Make dependency on python-typing explicit
- Update to v19.3.0
  - Set pyflakes minimum dependency
  - Blacken source

OBS-URL: https://build.opensuse.org/request/show/682593
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flake8-pyi?expand=0&rev=7
This commit is contained in:
Tomáš Chvátal
2019-03-07 16:44:51 +00:00
committed by Git OBS Bridge
parent d5a38c32be
commit 20c0281928
4 changed files with 19 additions and 5 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f2e4af113d0004abc3e8e15a66a1b5fe9103bfce731703b4c3b3c8c7633114ef
size 11278

3
flake8-pyi-19.3.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3646134dcc5269d3fd017624961de83cc0a0404f620233885ad86faf64265a11
size 11417

View File

@@ -1,3 +1,12 @@
-------------------------------------------------------------------
Thu Mar 7 16:34:17 UTC 2019 - John Vandenberg <jayvdb@gmail.com>
- Fix python base dependency to allow on Python 3.6
- Make dependency on python-typing explicit
- Update to v19.3.0
- Set pyflakes minimum dependency
- Blacken source
-------------------------------------------------------------------
Thu Feb 28 09:43:51 UTC 2019 - John Vandenberg <jayvdb@gmail.com>

View File

@@ -19,7 +19,7 @@
%define skip_python2 1
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-flake8-pyi
Version: 19.2.0
Version: 19.3.0
Release: 0
Summary: A plugin for flake8 to enable linting .pyi files
License: MIT
@@ -27,18 +27,23 @@ 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
Source1: https://raw.githubusercontent.com/ambv/flake8-pyi/master/LICENSE
BuildRequires: %{python_module base > 3.6.0}
BuildRequires: %{python_module base >= 3.6.0}
BuildRequires: %{python_module setuptools}
BuildRequires: python-rpm-macros
# SECTION test requirements
BuildRequires: %{python_module attrs}
BuildRequires: %{python_module flake8 >= 3.2.1}
BuildRequires: %{python_module pyflakes >= 2.1.1}
# Use pytest directly to bypass setup.py test dependencies
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module typing}
# /SECTION
BuildRequires: fdupes
Requires: python-attrs
Requires: python-base >= 3.6.0
Requires: python-flake8 >= 3.2.1
Requires: python-pyflakes >= 2.1.1
Requires: python-typing
BuildArch: noarch
%python_subpackages