forked from pool/python-natsort
Accepting request 606003 from devel:languages:python:misc
naturally sorting in python OBS-URL: https://build.opensuse.org/request/show/606003 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-natsort?expand=0&rev=1
This commit is contained in:
86
python-natsort.changes
Normal file
86
python-natsort.changes
Normal file
@@ -0,0 +1,86 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Apr 21 16:37:13 UTC 2018 - arun@gmx.de
|
||||
|
||||
- update to version 5.3.0:
|
||||
* Fix bug in assessing fastnumbers version at import-time.
|
||||
* Add ability to consider unicode-decimal numbers as numbers.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 1 23:59:16 UTC 2018 - arun@gmx.de
|
||||
|
||||
- specfile:
|
||||
* update copyright year
|
||||
|
||||
- update to version 5.2.0:
|
||||
* Add ns.NUMAFTER to cause numbers to be placed after non-numbers.
|
||||
* Add natcmp function (Python 2 only).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 18 16:44:49 UTC 2017 - toddrme2178@gmail.com
|
||||
|
||||
- Implement single-spec version
|
||||
- Update to version 5.1.0
|
||||
* See changelog at https://github.com/SethMMorton/natsort/blob/5.1.0/docs/source/changelog.rst
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 3 17:30:17 UTC 2015 - toddrme2178@gmail.com
|
||||
|
||||
- Update to 3.5.2
|
||||
- Enhancement that will convert a 'pathlib.Path' object to a 'str' if
|
||||
'ns.PATH' is enabled.
|
||||
- Update to 3.5.1
|
||||
- Fixed bug that caused list/tuples to fail when using 'ns.LOWECASEFIRST'
|
||||
or 'ns.IGNORECASE'.
|
||||
- Refactored modules so that only the public API was in natsort.py and
|
||||
ns_enum.py.
|
||||
- Refactored all import statements to be absolute, not relative.
|
||||
- Update to 3.5.0
|
||||
- Added the 'alg' argument to the 'natsort' functions. This argument
|
||||
accepts an enum that is used to indicate the options the user wishes
|
||||
to use. The 'number_type', 'signed', 'exp', 'as_path', and 'py3_safe'
|
||||
options are being depreciated and will become (undocumented)
|
||||
keyword-only options in natsort version 4.0.0.
|
||||
- The user can now modify how 'natsort' handles the case of non-numeric
|
||||
characters.
|
||||
- The user can now instruct 'natsort' to use locale-aware sorting, which
|
||||
allows 'natsort' to perform true "human sorting".
|
||||
- The `humansorted` convenience function has been included to make this
|
||||
easier.
|
||||
- Updated shell script with locale functionality.
|
||||
- Update to 3.4.1
|
||||
- 'natsort' will now use the 'fastnumbers' module if it is installed. This
|
||||
gives up to an extra 30% boost in speed over the previous performance
|
||||
enhancements.
|
||||
- Made documentation point to more 'natsort' resources, and also added a
|
||||
new example in the examples section.
|
||||
- Update to 3.4.0
|
||||
- Fixed a bug that caused user's options to the 'natsort_key' to not be
|
||||
passed on to recursive calls of 'natsort_key'.
|
||||
- Added a 'natsort_keygen' function that will generate a wrapped version
|
||||
of 'natsort_key' that is easier to call. 'natsort_key' is now set to
|
||||
depreciate at natsort version 4.0.0.
|
||||
- Added an 'as_path' option to 'natsorted' & co. that will try to treat
|
||||
input strings as filepaths. This will help yield correct results for
|
||||
OS-generated inputs like
|
||||
``['/p/q/o.x', '/p/q (1)/o.x', '/p/q (10)/o.x', '/p/q/o (1).x']``.
|
||||
- Massive performance enhancements for string input (1.8x-2.0x), at the expense
|
||||
of reduction in speed for numeric input (~2.0x).
|
||||
- This is a good compromise because the most common input will be strings,
|
||||
not numbers, and sorting numbers still only takes 0.6x the time of sorting
|
||||
strings. If you are sorting only numbers, you would use 'sorted' anyway.
|
||||
- Added the 'order_by_index' function to help in using the output of
|
||||
'index_natsorted' and 'index_versorted'.
|
||||
- Added the 'reverse' option to 'natsorted' & co. to make it's API more
|
||||
similar to the builtin 'sorted'.
|
||||
- Added more unit tests.
|
||||
- Added auxillary test code that helps in profiling and stress-testing.
|
||||
- Reworked the documentation, moving most of it to PyPI's hosting platform.
|
||||
- Added support for coveralls.io.
|
||||
- Entire codebase is now PyFlakes and PEP8 compliant.
|
||||
- Implement update-alternatives for upcoming python 3 version.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jul 12 20:46:36 UTC 2014 - boris@steki.net
|
||||
|
||||
- initial packaging of 3.3.0 version
|
||||
|
Reference in New Issue
Block a user