14
0

Accepting request 639619 from home:mcepl:work

- Add comp_w_changes_tokenize.patch to make tests more stable
  (gh#pycqa/pycodestyle#786)

OBS-URL: https://build.opensuse.org/request/show/639619
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycodestyle?expand=0&rev=10
This commit is contained in:
2018-10-02 15:04:14 +00:00
committed by Git OBS Bridge
parent a3f4a04e1c
commit bb4ba55772
3 changed files with 44 additions and 1 deletions

View File

@@ -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/
#
@@ -26,6 +26,7 @@ License: MIT
Group: Development/Languages/Python
Url: https://pycodestyle.readthedocs.io/
Source: https://files.pythonhosted.org/packages/source/p/pycodestyle/pycodestyle-%{version}.tar.gz
Patch0: comp_w_changes_tokenize.patch
BuildRequires: %{python_module setuptools}
BuildRequires: python-rpm-macros
BuildArch: noarch
@@ -46,6 +47,7 @@ to reduce confusion.
%prep
%setup -q -n pycodestyle-%{version}
%autopatch -p1
sed -ri '1s/^#!.*//' pycodestyle.py
%build