15
0

- Update to 2.3.1:

* updated tests for upstream wycheproof changes
  * many other tiny test tweaks

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-humanfriendly?expand=0&rev=11
This commit is contained in:
Tomáš Chvátal
2018-08-21 07:54:13 +00:00
committed by Git OBS Bridge
parent 6f0556a8de
commit ab2879b4b7
5 changed files with 56 additions and 20 deletions

View File

@@ -1,3 +1,22 @@
-------------------------------------------------------------------
Fri Aug 17 13:50:03 UTC 2018 - tchvatal@suse.com
- Update to 4.16.1:
* Added humanfriendly.text.compact_empty_lines() function.
* Enable optional html_to_ansi(data[, callback]) argument.
* Added a code sample and screenshot to the HTMLConverter documentation.
* Emit vertical whitespace for block tags like <div>, <p> and <pre> and post-process the generated output in __call__() to compact empty lines.
* Dont pre-process preformatted text using the user defined text callback.
* Improve robustness against malformed HTML (previously an IndexError would be raised when a closing </a> tag was encountered without a corresponding opening <a> tag).
* Emit an ANSI reset code when HTMLConverter.close() is called and a style is still active (improves robustness against malformed HTML).
* Support for 24-bit (RGB) terminal colors. Works by accepting a tuple or list with three integers representing an RGB (red, green, blue) color.
* Support for italic text rendering on the terminal.
* Make format_timespan() accept datetime.timedelta objects (fixes #27).
* Add license key to setup.py script (pointed out to me in coloredlogs pull request #53).
* Added the Timer.sleep() method to sleep “no more than” the given number of seconds.
* Added the format_rst_table() function to render RST (reStructuredText) tables.
- Enable and make sure tests are run
-------------------------------------------------------------------
Tue Aug 14 09:04:56 UTC 2018 - ms@suse.com