forked from pool/python-flake8-pyi
Accepting request 656429 from devel:languages:python
- Use tarball from the master as of 2018-12-08 to test #16 OBS-URL: https://build.opensuse.org/request/show/656429 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-flake8-pyi?expand=0&rev=2
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:3e67e2441118a3b889bcec1a6bce5f0594de2abe1f502ec18201c777bd7d9a54
|
||||
size 10501
|
||||
oid sha256:6a13c305a1b53171add92189e9c55a0ccf9c6295ee25c118a99d29f636564ced
|
||||
size 11108
|
||||
|
||||
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Dec 8 21:23:56 UTC 2018 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
- Use tarball from the master as of 2018-12-08 to test #16
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 23 09:47:05 UTC 2018 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
|
||||
@@ -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}/*
|
||||
|
||||
Reference in New Issue
Block a user