Accepting request 505952 from devel:languages:python

1

OBS-URL: https://build.opensuse.org/request/show/505952
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-isort?expand=0&rev=2
This commit is contained in:
Dominique Leuenberger 2017-07-05 21:57:50 +00:00 committed by Git OBS Bridge
commit ae981a17bd
4 changed files with 50 additions and 7 deletions

3
4.2.15.tar.gz Normal file
View File

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

View File

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

View File

@ -1,3 +1,41 @@
-------------------------------------------------------------------
Wed Jun 21 15:28:33 UTC 2017 - sebix+novell.com@sebix.at
- update description
- install LICENSE as %license if possible
- update to 4.2.15
* Fixed certain one line imports not being successfully wrapped
- update to 4.2.14
* Fixed #559 & #565: Added missing standard library imports
- update to 4.2.13
* Fixed #553: Check only and --diff now work together again
- update to 4.2.12
* Fixed a problem with the wheel distribution
- update to 4.2.11
* Fixed #546: Can't select y/n/c after latest update
* Fixed #545: Incorrectly moves future imports above encoding comments
- update to 4.2.9
* Fixed #428: Check only modifies sorting
* Fixed #540: Not correctly identifying stdlib modules
- update to 4.2.8
* Added --virtual-env switch command line option
* Added --enforce-whitespace option to go along with --check-only for more exact checks (issue #423)
* Fixed imports with a tailing '' and no space in-between getting removed (issue #425)
* Fixed issue #299: long lines occasionally not wrapped
* Fixed issue #432: No longer add import inside class when class starts at top of file after encoding comment
* Fixed issue #440: Added missing --use-parentheses option to command line tool and documentation
* Fixed issue #496: import* imports now get successfully identified and reformatted instead of deleted
* Fixed issue #491: Non ending parentheses withing single line comments no longer cause formatting issues
* Fixed issue #471: Imports that wrap the maximum line length and contain comments on the last line are no longer rendered incorrectly
* Fixed issue #436: Force sort within section no longer rearranges comments
* Fixed issue #473: Force_to_top and force_sort_within_sections now work together
* Fixed issue #484 & #472: Consistent output with imports of same spelling but different case
* Fixed issue #433: No longer incorrectly add an extra new-line when comment between imports and function definition
* Fixed issue #419: Path specification for skipped paths is not Unix/Windows inter-operable.
* Breaking Changes:
* Fixed issue #511: All command line options with an underscore, have had the underscore replaced with a dash for consistency. This effects: multi-line, add-import, remove-import, force-adds, --force-single-line-imports, and length-sort.
* Replaced the --enforce-whitespace option with --ignore-whitespace to restore original behavior of strict whitespace by default
-------------------------------------------------------------------
Fri Mar 24 17:01:44 UTC 2017 - jmatejek@suse.com

View File

@ -18,7 +18,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-isort
Version: 4.2.5
Version: 4.2.15
Release: 0
Summary: A Python utility / library to sort Python imports
License: MIT
@ -41,8 +41,8 @@ isort your python imports for you so you dont have to.
isort is a Python utility / library to sort imports alphabetically,
and automatically separated into sections. It provides a command line
utility, Python library and plugins for various editors to quickly
sort all your imports. It currently cleanly supports Python 2.6 - 3.5
using pies to achieve this without ugly hacks and/or py2to3.
sort all your imports. It currently cleanly supports Python 2.7 - 3.6 without
any dependencies.
%prep
%setup -q -n isort-%{version}
@ -62,6 +62,11 @@ chmod -x LICENSE
%defattr(-,root,root,-)
%{python_sitelib}/*
%python3_only %{_bindir}/isort
%doc README.rst LICENSE
%doc README.rst
%if 0%{?leap_version} >= 420200 || 0%{?suse_version} > 1320
%license LICENSE
%else
%doc LICENSE
%endif
%changelog