Hello community,

here is the log from the commit of package python-isort for openSUSE:Factory 
checked in at 2019-02-17 12:19:10
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-isort (Old)
 and      /work/SRC/openSUSE:Factory/.python-isort.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-isort"

Sun Feb 17 12:19:10 2019 rev:5 rq:676254 version:4.3.4

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-isort/python-isort.changes        
2018-07-23 17:58:28.133120084 +0200
+++ /work/SRC/openSUSE:Factory/.python-isort.new.28833/python-isort.changes     
2019-02-17 12:19:12.596235697 +0100
@@ -1,0 +2,7 @@
+Thu Feb 14 06:05:49 UTC 2019 - John Vandenberg <[email protected]>
+
+- 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
+
+-------------------------------------------------------------------

Old:
----
  4.3.4.tar.gz

New:
----
  add-editorconfig.patch
  isort-4.3.4.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-isort.spec ++++++
--- /var/tmp/diff_new_pack.gWQkHV/_old  2019-02-17 12:19:13.172235539 +0100
+++ /var/tmp/diff_new_pack.gWQkHV/_new  2019-02-17 12:19:13.172235539 +0100
@@ -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 @@
 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 @@
 
 %prep
 %setup -q -n isort-%{version}
+%patch0 -p1
 sed -i '1s/^#!.*//' isort/main.py
 chmod -x LICENSE
 

++++++ add-editorconfig.patch ++++++
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

Reply via email to