Accepting request 934519 from devel:languages:python

- update to 2.0.8:
  * Improvement over Vietnamese detection
  * MD improvement on trailing data and long foreign (non-pure latin)
  * Efficiency improvements in cd/alphabet_languages
  * call sum() without an intermediary list following PEP 289 recommendations
  * Code style as refactored by Sourcery-AI
  * Minor adjustment on the MD around european words
  * Remove and replace SRTs from assets / tests
  * Initialize the library logger with a `NullHandler` by default
  * Setting kwarg `explain` to True will add provisionally
  * Fix large (misleading) sequence giving UnicodeDecodeError
  * Avoid using too insignificant chunk
  * Add and expose function `set_logging_handler` to configure a specific
    StreamHandler

- require lower-case name instead of breaking build 

- Use lower-case name of prettytable package

OBS-URL: https://build.opensuse.org/request/show/934519
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-charset-normalizer?expand=0&rev=9
This commit is contained in:
Dominique Leuenberger 2021-12-01 19:46:49 +00:00 committed by Git OBS Bridge
commit 499b903d6c
4 changed files with 34 additions and 6 deletions

View File

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

View File

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

View File

@ -1,3 +1,31 @@
-------------------------------------------------------------------
Mon Nov 29 11:14:37 UTC 2021 - Dirk Müller <dmueller@suse.com>
- update to 2.0.8:
* Improvement over Vietnamese detection
* MD improvement on trailing data and long foreign (non-pure latin)
* Efficiency improvements in cd/alphabet_languages
* call sum() without an intermediary list following PEP 289 recommendations
* Code style as refactored by Sourcery-AI
* Minor adjustment on the MD around european words
* Remove and replace SRTs from assets / tests
* Initialize the library logger with a `NullHandler` by default
* Setting kwarg `explain` to True will add provisionally
* Fix large (misleading) sequence giving UnicodeDecodeError
* Avoid using too insignificant chunk
* Add and expose function `set_logging_handler` to configure a specific
StreamHandler
-------------------------------------------------------------------
Fri Nov 26 11:35:25 UTC 2021 - Dirk Müller <dmueller@suse.com>
- require lower-case name instead of breaking build
-------------------------------------------------------------------
Thu Nov 25 22:26:52 UTC 2021 - Matej Cepl <mcepl@suse.com>
- Use lower-case name of prettytable package
-------------------------------------------------------------------
Sun Oct 17 14:01:59 UTC 2021 - Martin Hauke <mardnh@gmx.de>

View File

@ -19,7 +19,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-charset-normalizer
Version: 2.0.7
Version: 2.0.8
Release: 0
Summary: Python Universal Charset detector
License: MIT
@ -28,10 +28,10 @@ Source: https://github.com/Ousret/charset_normalizer/archive/refs/tags/%
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-PrettyTable
Requires: python-cached-property >= 1.5
Requires: python-dragonmapper >= 0.2
Requires: python-loguru >= 0.5
Requires: python-prettytable
Requires: python-zhon
Requires(post): update-alternatives
Requires(postun):update-alternatives
@ -40,7 +40,7 @@ Suggests: python-requests-html
Suggests: python-unicodedata2
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module PrettyTable}
BuildRequires: %{python_module prettytable}
BuildRequires: %{python_module cached-property >= 1.5}
BuildRequires: %{python_module dragonmapper >= 0.2}
BuildRequires: %{python_module loguru >= 0.5}