forked from pool/python-pycodestyle
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:
@@ -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
|
||||
|
Reference in New Issue
Block a user