From 631de8d3683c7d5a94f9b259890d349396cb5191183e628535cf0ff836ab6518 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Fri, 4 Oct 2019 09:50:53 +0000 Subject: [PATCH] Accepting request 734946 from home:mcalabkova:branches:devel:languages:python - Update to 1.3.0 * Backport unicodedata for v12 impl into python if available * Add aliases to CharsetNormalizerMatches class * Add feature preemptive behaviour, looking for encoding declaration * Add method to determine if specific encoding is multi byte * Add has_submatch property on a match * Add percent_chaos and percent_coherence * Coherence ratio based on mean instead of sum of best results * Using loguru for trace/debug <3 * from_byte method improved OBS-URL: https://build.opensuse.org/request/show/734946 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-charset-normalizer?expand=0&rev=8 --- charset_normalizer-1.1.1.tar.gz | 3 --- charset_normalizer-1.3.0.tar.gz | 3 +++ python-charset-normalizer.changes | 14 ++++++++++++++ python-charset-normalizer.spec | 5 +++-- 4 files changed, 20 insertions(+), 5 deletions(-) delete mode 100644 charset_normalizer-1.1.1.tar.gz create mode 100644 charset_normalizer-1.3.0.tar.gz diff --git a/charset_normalizer-1.1.1.tar.gz b/charset_normalizer-1.1.1.tar.gz deleted file mode 100644 index 5bc4d78..0000000 --- a/charset_normalizer-1.1.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:2929d48f87575b351077896cfb430b25aee15c8d8510ea9f9cb0b1576f739567 -size 345106 diff --git a/charset_normalizer-1.3.0.tar.gz b/charset_normalizer-1.3.0.tar.gz new file mode 100644 index 0000000..4a41cfc --- /dev/null +++ b/charset_normalizer-1.3.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:92c04b43269211c1034897c92366a70ee218535943f244926096a9ba1f62d0f1 +size 354417 diff --git a/python-charset-normalizer.changes b/python-charset-normalizer.changes index 9f6f739..24fdcf6 100644 --- a/python-charset-normalizer.changes +++ b/python-charset-normalizer.changes @@ -1,3 +1,17 @@ +------------------------------------------------------------------- +Fri Oct 4 08:52:51 UTC 2019 - Marketa Calabkova + +- Update to 1.3.0 + * Backport unicodedata for v12 impl into python if available + * Add aliases to CharsetNormalizerMatches class + * Add feature preemptive behaviour, looking for encoding declaration + * Add method to determine if specific encoding is multi byte + * Add has_submatch property on a match + * Add percent_chaos and percent_coherence + * Coherence ratio based on mean instead of sum of best results + * Using loguru for trace/debug <3 + * from_byte method improved + ------------------------------------------------------------------- Thu Sep 26 10:35:51 UTC 2019 - Tomáš Chvátal diff --git a/python-charset-normalizer.spec b/python-charset-normalizer.spec index 887b22f..42aa6ec 100644 --- a/python-charset-normalizer.spec +++ b/python-charset-normalizer.spec @@ -20,11 +20,10 @@ # https://github.com/Ousret/charset_normalizer/issues/1 %define skip_python2 1 Name: python-charset-normalizer -Version: 1.1.1 +Version: 1.3.0 Release: 0 Summary: Python Universal Charset detector License: MIT -Group: Development/Languages/Python URL: https://github.com/ousret/charset_normalizer Source: https://github.com/Ousret/charset_normalizer/archive/%{version}.tar.gz#/charset_normalizer-%{version}.tar.gz BuildRequires: %{python_module setuptools} @@ -34,6 +33,7 @@ BuildRequires: python-rpm-macros Requires: python-PrettyTable Requires: python-cached-property Requires: python-dragonmapper +Requires: python-loguru Requires: python-zhon Suggests: python-requests-html BuildArch: noarch @@ -41,6 +41,7 @@ BuildArch: noarch BuildRequires: %{python_module PrettyTable} BuildRequires: %{python_module cached-property} BuildRequires: %{python_module dragonmapper} +BuildRequires: %{python_module loguru} BuildRequires: %{python_module pytest-runner} BuildRequires: %{python_module zhon} # /SECTION