- update to 4.3.1

* Fixed issue #654: Trailing comma count error
 * Fixed issue #651: Add imports option is broken
 * Fixed issue #650: Wrong error message displayed
- update to 4.3.0
 * Fixed #557: force_alphabetical_sort and force_sort_within_sections can now be utilized together without extra new lines
 * Added --no-lines-before for more granular control over section output
 * Fixed #493: Unwanted conversion to Windows line endings
 * Implemented --version-number to retrieve just the version number without the isort logo
- Remove patch-shebang.patch and replace it with a sed-call

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-isort?expand=0&rev=6
This commit is contained in:
Sebastian Wagner 2018-02-02 20:53:14 +00:00 committed by Git OBS Bridge
parent 6258cc11bf
commit 29f9d05da0
6 changed files with 29 additions and 22 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:46c1ba5d7152822fe76e04ed571a1d97b25f5328bab547663e7480ead599c732
size 301941

3
4.3.1.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:608f73066c0c850e913b210ee87234413dad90ee136261d05d10693bd3913c03
size 305044

3
isort-4.3.1.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b8b584d1223204a4948ba20d605d3e5421c5956455d8618feb5c2ccdae2b78ba
size 59591

View File

@ -1,8 +0,0 @@
--- isort/main.py 2016-07-30 15:12:33.516794135 +0200
+++ isort/main.py 2016-03-30 13:08:30.000000000 +0200
@@ -1,4 +1,3 @@
-#! /usr/bin/env python
''' Tool for sorting imports alphabetically, and automatically separated into sections.
Copyright (C) 2013 Timothy Edmund Crosley

View File

@ -1,3 +1,17 @@
-------------------------------------------------------------------
Fri Feb 2 20:20:10 UTC 2018 - sebix+novell.com@sebix.at
- update to 4.3.1
* Fixed issue #654: Trailing comma count error
* Fixed issue #651: Add imports option is broken
* Fixed issue #650: Wrong error message displayed
- update to 4.3.0
* Fixed #557: force_alphabetical_sort and force_sort_within_sections can now be utilized together without extra new lines
* Added --no-lines-before for more granular control over section output
* Fixed #493: Unwanted conversion to Windows line endings
* Implemented --version-number to retrieve just the version number without the isort logo
- Remove patch-shebang.patch and replace it with a sed-call
-------------------------------------------------------------------
Wed Jun 21 15:28:33 UTC 2017 - sebix+novell.com@sebix.at

View File

@ -1,7 +1,7 @@
#
# spec file for package python-isort
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2018 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
@ -16,22 +16,25 @@
#
%{!?license: %global license %doc}
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-isort
Version: 4.2.15
Version: 4.3.1
Release: 0
Summary: A Python utility / library to sort Python imports
License: MIT
Group: Development/Languages/Python
Url: https://github.com/timothycrosley/isort
# Tests are not included in pypi package
# Tests included in pypi package fail
Source: https://github.com/timothycrosley/isort/archive/%{version}.tar.gz
Patch0: patch-shebang.patch
BuildRequires: %{python_module mock}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: python-rpm-macros
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: python2-futures
%ifpython2
Requires: python-futures
%endif
BuildArch: noarch
%python_subpackages
@ -46,7 +49,7 @@ any dependencies.
%prep
%setup -q -n isort-%{version}
%patch0
sed -i '1s/^#!.*//' isort/main.py
chmod -x LICENSE
%build
@ -62,11 +65,6 @@ chmod -x LICENSE
%defattr(-,root,root,-)
%{python_sitelib}/*
%python3_only %{_bindir}/isort
%doc README.rst
%if 0%{?leap_version} >= 420200 || 0%{?suse_version} > 1320
%license LICENSE
%else
%doc LICENSE
%endif
%changelog