Accepting request 676235 from home:jayvdb:coala:python3-bears
- Revert to using PyPI release by adding add-editorconfig.patch, which is needed to allow the test suite to pass. https://github.com/timothycrosley/isort/issues/814 OBS-URL: https://build.opensuse.org/request/show/676235 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-isort?expand=0&rev=11
This commit is contained in:
parent
e2946aee1a
commit
84362c586f
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c0fa470f580e62982e5983fae03120e57df96a74733e53d3ae2ad47ec0047610
|
||||
size 305764
|
24
add-editorconfig.patch
Normal file
24
add-editorconfig.patch
Normal file
@ -0,0 +1,24 @@
|
||||
diff -Nur isort-4.3.4-pypi/.editorconfig isort-4.3.4-github/.editorconfig
|
||||
--- isort-4.3.4-pypi/.editorconfig 1970-01-01 07:00:00.000000000 +0700
|
||||
+++ isort-4.3.4-github/.editorconfig 2018-02-12 22:12:28.000000000 +0700
|
||||
@@ -0,0 +1,20 @@
|
||||
+root = true
|
||||
+
|
||||
+[*.py]
|
||||
+max_line_length = 120
|
||||
+indent_style = space
|
||||
+indent_size = 4
|
||||
+known_first_party = isort
|
||||
+known_third_party = kate
|
||||
+ignore_frosted_errors = E103
|
||||
+skip = runtests.py,build,.tox
|
||||
+balanced_wrapping = true
|
||||
+not_skip = __init__.py
|
||||
+
|
||||
+[*.{rst,ini}]
|
||||
+indent_style = space
|
||||
+indent_size = 4
|
||||
+
|
||||
+[*.yml]
|
||||
+indent_style = space
|
||||
+indent_size = 2
|
3
isort-4.3.4.tar.gz
Normal file
3
isort-4.3.4.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:b9c40e9750f3d77e6e4d441d8b0266cf555e7cdabdcff33c4fd06366ca761ef8
|
||||
size 56070
|
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 14 06:05:49 UTC 2019 - John Vandenberg <jayvdb@gmail.com>
|
||||
|
||||
- Revert to using PyPI release by adding add-editorconfig.patch,
|
||||
which is needed to allow the test suite to pass.
|
||||
https://github.com/timothycrosley/isort/issues/814
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jul 21 04:35:40 UTC 2018 - arun@gmx.de
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-isort
|
||||
#
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -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/
|
||||
#
|
||||
|
||||
|
||||
@ -25,8 +25,8 @@ Summary: A Python utility / library to sort Python imports
|
||||
License: MIT
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/timothycrosley/isort
|
||||
# Tests included in pypi package fail
|
||||
Source: https://github.com/timothycrosley/isort/archive/%{version}.tar.gz
|
||||
Source: https://files.pythonhosted.org/packages/source/i/isort/isort-%{version}.tar.gz
|
||||
Patch0: add-editorconfig.patch
|
||||
BuildRequires: %{python_module mock}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
@ -49,6 +49,7 @@ any dependencies.
|
||||
|
||||
%prep
|
||||
%setup -q -n isort-%{version}
|
||||
%patch0 -p1
|
||||
sed -i '1s/^#!.*//' isort/main.py
|
||||
chmod -x LICENSE
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user