15
0
forked from pool/python-ftfy
Commit Graph

10 Commits

Author SHA256 Message Date
6f75f512dd - Add update-wcwidth.patch to make it work with newer wcwidth,
gh#rspeer/python-ftfy@5d975c6bb183

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ftfy?expand=0&rev=18
2024-01-18 11:17:29 +00:00
0e31fb300e - update to 6.0.3:
*  Allow the keyword argument `fix_entities` as a deprecated alias for
    `unescape_html`, raising a warning.
  *  `ftfy.formatting` functions now disregard ANSI terminal escapes when
    calculating text width.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ftfy?expand=0&rev=17
2022-01-15 17:48:49 +00:00
de4b8f8770 Accepting request 886362 from home:bnavigator:branches:devel:languages:python
- Update to 6.0.1
  * The remove_terminal_escapes step was accidentally not being
    used. This version restores it.
  * Specified in setup.py that ftfy 6 requires Python 3.6 or later.
  * Use a lighter link color when the docs are viewed in dark mode.
- Version 6.0
  * New function: ftfy.fix_and_explain() can describe all the
    transformations that happen when fixing a string. This is
    similar to what ftfy.fixes.fix_encoding_and_explain() did in
    previous versions, but it can fix more than the encoding.
  * fix_and_explain() and fix_encoding_and_explain() are now in
    the top-level ftfy module.
  * Changed the heuristic entirely. ftfy no longer needs to
    categorize every Unicode character, but only characters that
    are expected to appear in mojibake.
  * Because of the new heuristic, ftfy will no longer have to
    release a new version for every new version of Unicode. It
    should also run faster and use less RAM when imported.
  * The heuristic ftfy.badness.is_bad(text) can be used to
    determine whether there appears to be mojibake in a string.
    Some users were already using the old function
    sequence_weirdness() for that, but this one is actually
    designed for that purpose.
  * Instead of a pile of named keyword arguments, ftfy functions
    now take in a TextFixerConfig object. The keyword arguments
    still work, and become settings that override the defaults in
    TextFixerConfig.
  * Added support for UTF-8 mixups with Windows-1253 and
    Windows-1254.
  * Overhauled the documentation: https://ftfy.readthedocs.org

OBS-URL: https://build.opensuse.org/request/show/886362
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ftfy?expand=0&rev=15
2021-04-19 06:29:13 +00:00
Tomáš Chvátal
fe92e0c9eb Accepting request 809259 from home:pgajdos:python
submit

OBS-URL: https://build.opensuse.org/request/show/809259
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ftfy?expand=0&rev=13
2020-05-27 10:08:34 +00:00
Tomáš Chvátal
51f495e621 - Update to 5.7:
* Fixes build on python 3.8

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ftfy?expand=0&rev=11
2020-03-10 08:49:15 +00:00
Tomáš Chvátal
e1339b3e44 Accepting request 722677 from home:mcalabkova:branches:devel:languages:python
- Update to version 5.6
  * The unescape_html function now supports all the HTML5 entities 
    that appear in html.entities.html5, including those with long 
    names such as ˝.
  * Unescaping of numeric HTML entities now uses the standard library's 
    html.unescape, making edge cases consistent.
  * On top of Python's support for HTML5 entities, ftfy will also 
    convert HTML escapes of common Latin capital letters that are 
    (nonstandardly) written in all caps, such as Ñ for Ñ.

OBS-URL: https://build.opensuse.org/request/show/722677
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ftfy?expand=0&rev=9
2019-08-12 14:16:06 +00:00
Tomáš Chvátal
9da51fa814 - Update to version 5.5.1:
* Fixes build on python3.7
  * Use Unicode 11

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ftfy?expand=0&rev=7
2018-10-18 09:58:47 +00:00
Tomáš Chvátal
61c8579e5b Accepting request 626059 from home:jengelh:branches:devel:languages:python
- Use noun phrase in summary. Trim filler wording from description.

OBS-URL: https://build.opensuse.org/request/show/626059
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ftfy?expand=0&rev=5
2018-07-30 07:33:53 +00:00
bae25e99c8 Accepting request 613294 from devel:languages:python
Try to convert buggy unicode text to a less broken variant.

OBS-URL: https://build.opensuse.org/request/show/613294
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ftfy?expand=0&rev=1
2018-06-08 21:12:48 +00:00
Todd R
ed220dfd8e Accepting request 613293 from devel:languages:python:misc
Try to convert buggy unicode text to a less broken variant.

OBS-URL: https://build.opensuse.org/request/show/613293
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ftfy?expand=0&rev=1
2018-05-31 15:18:39 +00:00