commit python-ftfy for openSUSE:Factory
Hello community, here is the log from the commit of package python-ftfy for openSUSE:Factory checked in at 2020-05-28 09:17:03 Comparing /work/SRC/openSUSE:Factory/python-ftfy (Old) and /work/SRC/openSUSE:Factory/.python-ftfy.new.3606 (New) Package is "python-ftfy" Thu May 28 09:17:03 2020 rev:6 rq:809375 version:5.7 Changes: --- /work/SRC/openSUSE:Factory/python-ftfy/python-ftfy.changes 2020-03-10 10:12:18.808690290 +0100 +++ /work/SRC/openSUSE:Factory/.python-ftfy.new.3606/python-ftfy.changes 2020-05-28 09:17:10.424943111 +0200 @@ -1,0 +2,5 @@ +Tue May 26 06:34:21 UTC 2020 - Petr Gajdos + +- %python3_only -> %python_alternative + +--- Other differences: -- ++ python-ftfy.spec ++ --- /var/tmp/diff_new_pack.gjlAsw/_old 2020-05-28 09:17:11.048944584 +0200 +++ /var/tmp/diff_new_pack.gjlAsw/_new 2020-05-28 09:17:11.052944593 +0200 @@ -29,6 +29,8 @@ BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-wcwidth +Requires(post): update-alternatives +Requires(postun): update-alternatives BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module pytest} @@ -48,16 +50,24 @@ %install %python_install +%python_clone -a %{buildroot}%{_bindir}/ftfy %python_expand %fdupes %{buildroot}%{$python_sitelib} %check export PATH="$PATH:%{buildroot}%{_bindir}" -%pytest +# test_cli: ftfy binary not found (update-alternatives) +%pytest -k 'not test_cli' + +%post +%python_install_alternative ftfy + +%postun +%python_uninstall_alternative ftfy %files %{python_files} %doc CHANGELOG.md README.md %license LICENSE.txt -%python3_only %{_bindir}/ftfy +%python_alternative %{_bindir}/ftfy %{python_sitelib}/* %changelog
commit python-ftfy for openSUSE:Factory
Hello community, here is the log from the commit of package python-ftfy for openSUSE:Factory checked in at 2020-03-10 10:12:12 Comparing /work/SRC/openSUSE:Factory/python-ftfy (Old) and /work/SRC/openSUSE:Factory/.python-ftfy.new.26092 (New) Package is "python-ftfy" Tue Mar 10 10:12:12 2020 rev:5 rq:783195 version:5.7 Changes: --- /work/SRC/openSUSE:Factory/python-ftfy/python-ftfy.changes 2019-08-13 13:24:48.385362459 +0200 +++ /work/SRC/openSUSE:Factory/.python-ftfy.new.26092/python-ftfy.changes 2020-03-10 10:12:18.808690290 +0100 @@ -1,0 +2,6 @@ +Tue Mar 10 08:48:18 UTC 2020 - Tomáš Chvátal + +- Update to 5.7: + * Fixes build on python 3.8 + +--- Old: v5.6.tar.gz New: v5.7.tar.gz Other differences: -- ++ python-ftfy.spec ++ --- /var/tmp/diff_new_pack.YHOODo/_old 2020-03-10 10:12:20.620691261 +0100 +++ /var/tmp/diff_new_pack.YHOODo/_new 2020-03-10 10:12:20.624691263 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-ftfy # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,11 +19,10 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 Name: python-ftfy -Version:5.6 +Version:5.7 Release:0 Summary:Python module for repairing mis-decoded Unicode text License:MIT -Group: Development/Languages/Python URL:https://github.com/LuminosoInsight/python-ftfy Source: https://github.com/LuminosoInsight/python-ftfy/archive/v%{version}.tar.gz BuildRequires: %{python_module setuptools} @@ -32,7 +31,6 @@ Requires: python-wcwidth BuildArch: noarch # SECTION test requirements -BuildRequires: %{python_module pytest-runner} BuildRequires: %{python_module pytest} BuildRequires: %{python_module wcwidth} # /SECTION ++ v5.6.tar.gz -> v5.7.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-ftfy-5.6/.mailmap new/python-ftfy-5.7/.mailmap --- old/python-ftfy-5.6/.mailmap1970-01-01 01:00:00.0 +0100 +++ new/python-ftfy-5.7/.mailmap2020-02-18 17:46:41.0 +0100 @@ -0,0 +1,6 @@ +# Robyn has used different names and e-mail addresses in the course of this project. Map them all to her current name and e-mail. +Robyn Speer +Robyn Speer +Robyn Speer +Robyn Speer + diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-ftfy-5.6/.travis.yml new/python-ftfy-5.7/.travis.yml --- old/python-ftfy-5.6/.travis.yml 2019-08-07 22:32:36.0 +0200 +++ new/python-ftfy-5.7/.travis.yml 1970-01-01 01:00:00.0 +0100 @@ -1,28 +0,0 @@ -language: python -sudo: false - -cache: - apt: true - directories: - - $HOME/.cache/pip - - $HOME/download -python: - - "3.4" - - "3.5" - - "3.6" - - "3.7-dev" -before_install: - - pip install pip -U - - pip install pytest -U -install: - - travis_retry pip install -e . -script: - - travis_wait pytest - -after_success: - - codecov -cache: -apt: true -directories: -- $HOME/.pip-cache - diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-ftfy-5.6/CHANGELOG.md new/python-ftfy-5.7/CHANGELOG.md --- old/python-ftfy-5.6/CHANGELOG.md2019-08-07 22:32:36.0 +0200 +++ new/python-ftfy-5.7/CHANGELOG.md2020-02-18 17:46:41.0 +0100 @@ -1,3 +1,12 @@ +## Version 5.7 (February 18, 2020) + +- Updated the data file of Unicode character categories to Unicode 12.1, as + used in Python 3.8. (No matter what version of Python you're on, ftfy uses + the same data.) + +- Corrected an omission where short sequences involving the ACUTE ACCENT + character were not being fixed. + ## Version 5.6 (August 7, 2019) - The `unescape_html` function now supports all the HTML5 entities that appear diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-ftfy-5.6/docs/conf.py new/python-ftfy-5.7/docs/conf.py --- old/python-ftfy-5.6/docs/conf.py2019-08-07 22:32:36.0 +0200 +++ new/python-ftfy-5.7/docs/conf.py2020-02-18 17:46:41.0 +0100 @@ -48,9 +48,9 @@ # built documents. # # The short X.Y version. -version = '5.6' +version = '5.7' # The full version, including alpha/beta/rc tags. -release = '5.6.0' +release = '5.7' # The language for content autogenerated by Sphinx. Refer to documentation # for a list
commit python-ftfy for openSUSE:Factory
Hello community, here is the log from the commit of package python-ftfy for openSUSE:Factory checked in at 2019-08-13 13:24:47 Comparing /work/SRC/openSUSE:Factory/python-ftfy (Old) and /work/SRC/openSUSE:Factory/.python-ftfy.new.9556 (New) Package is "python-ftfy" Tue Aug 13 13:24:47 2019 rev:4 rq:722792 version:5.6 Changes: --- /work/SRC/openSUSE:Factory/python-ftfy/python-ftfy.changes 2018-10-25 08:14:23.880120912 +0200 +++ /work/SRC/openSUSE:Factory/.python-ftfy.new.9556/python-ftfy.changes 2019-08-13 13:24:48.385362459 +0200 @@ -1,0 +2,13 @@ +Mon Aug 12 12:31:18 UTC 2019 - Marketa Calabkova + +- 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 Ñ. + +--- Old: v5.5.1.tar.gz New: v5.6.tar.gz Other differences: -- ++ python-ftfy.spec ++ --- /var/tmp/diff_new_pack.fVskUk/_old 2019-08-13 13:24:49.489362169 +0200 +++ /var/tmp/diff_new_pack.fVskUk/_new 2019-08-13 13:24:49.489362169 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-ftfy # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,24 +19,23 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 Name: python-ftfy -Version:5.5.1 +Version:5.6 Release:0 Summary:Python module for repairing mis-decoded Unicode text License:MIT Group: Development/Languages/Python -Url:http://github.com/LuminosoInsight/python-ftfy +URL:https://github.com/LuminosoInsight/python-ftfy Source: https://github.com/LuminosoInsight/python-ftfy/archive/v%{version}.tar.gz BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros +Requires: python-wcwidth +BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module pytest-runner} BuildRequires: %{python_module pytest} BuildRequires: %{python_module wcwidth} # /SECTION -Requires: python-wcwidth -BuildArch: noarch - %python_subpackages %description @@ -54,12 +53,8 @@ %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%{python_expand export PYTHONDONTWRITEBYTECODE=1 -export LANG=en_US.UTF-8 -export PYTHONPATH=%{buildroot}%{$python_sitelib} export PATH="$PATH:%{buildroot}%{_bindir}" -py.test-%{$python_bin_suffix} -} +%pytest %files %{python_files} %doc CHANGELOG.md README.md ++ v5.5.1.tar.gz -> v5.6.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-ftfy-5.5.1/CHANGELOG.md new/python-ftfy-5.6/CHANGELOG.md --- old/python-ftfy-5.5.1/CHANGELOG.md 2018-09-24 17:39:09.0 +0200 +++ new/python-ftfy-5.6/CHANGELOG.md2019-08-07 22:32:36.0 +0200 @@ -1,3 +1,22 @@ +## Version 5.6 (August 7, 2019) + +- 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. + + (The reason we don't run `html.unescape` on all text is that it's not always + appropriate to apply, and can lead to false positive fixes. The text + "This&NotThat" should not have "&Not" replaced by a symbol, as + `html.unescape` would do.) + +- 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 `Ñ`. + + ## Version 5.5.1 (September 14, 2018) - Added Python 3.7 support. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-ftfy-5.5.1/Jenkinsfile new/python-ftfy-5.6/Jenkinsfile --- old/python-ftfy-5.5.1/Jenkinsfile 1970-01-01 01:00:00.0 +0100 +++ new/python-ftfy-5.6/Jenkinsfile 2019-08-07 22:32:36.0 +0200 @@ -0,0 +1,4 @@ +wheelJob( +test: 'pytest', +upstream: [ 'wheelhouse-init' ] +) d
commit python-ftfy for openSUSE:Factory
Hello community, here is the log from the commit of package python-ftfy for openSUSE:Factory checked in at 2018-10-25 08:13:49 Comparing /work/SRC/openSUSE:Factory/python-ftfy (Old) and /work/SRC/openSUSE:Factory/.python-ftfy.new (New) Package is "python-ftfy" Thu Oct 25 08:13:49 2018 rev:3 rq:642835 version:5.5.1 Changes: --- /work/SRC/openSUSE:Factory/python-ftfy/python-ftfy.changes 2018-07-31 16:00:35.063667116 +0200 +++ /work/SRC/openSUSE:Factory/.python-ftfy.new/python-ftfy.changes 2018-10-25 08:14:23.880120912 +0200 @@ -1,0 +2,7 @@ +Thu Oct 18 09:57:30 UTC 2018 - Tomáš Chvátal + +- Update to version 5.5.1: + * Fixes build on python3.7 + * Use Unicode 11 + +--- Old: ftfy-5.3.0.tar.gz New: v5.5.1.tar.gz Other differences: -- ++ python-ftfy.spec ++ --- /var/tmp/diff_new_pack.4jc431/_old 2018-10-25 08:14:24.560120620 +0200 +++ /var/tmp/diff_new_pack.4jc431/_new 2018-10-25 08:14:24.560120620 +0200 @@ -12,26 +12,24 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 Name: python-ftfy -Version:5.3.0 +Version:5.5.1 Release:0 Summary:Python module for repairing mis-decoded Unicode text License:MIT Group: Development/Languages/Python Url:http://github.com/LuminosoInsight/python-ftfy -Source: https://files.pythonhosted.org/packages/source/f/ftfy/ftfy-%{version}.tar.gz -BuildRequires: %{python_module devel} +Source: https://github.com/LuminosoInsight/python-ftfy/archive/v%{version}.tar.gz BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros # SECTION test requirements -BuildRequires: %{python_module nose} BuildRequires: %{python_module pytest-runner} BuildRequires: %{python_module pytest} BuildRequires: %{python_module wcwidth} @@ -46,7 +44,7 @@ put through an encode/decode cycle with different encodings. %prep -%setup -q -n ftfy-%{version} +%setup -q -n python-ftfy-%{version} %build %python_build
commit python-ftfy for openSUSE:Factory
Hello community, here is the log from the commit of package python-ftfy for openSUSE:Factory checked in at 2018-07-31 16:00:32 Comparing /work/SRC/openSUSE:Factory/python-ftfy (Old) and /work/SRC/openSUSE:Factory/.python-ftfy.new (New) Package is "python-ftfy" Tue Jul 31 16:00:32 2018 rev:2 rq:626368 version:5.3.0 Changes: --- /work/SRC/openSUSE:Factory/python-ftfy/python-ftfy.changes 2018-06-08 23:12:50.885735478 +0200 +++ /work/SRC/openSUSE:Factory/.python-ftfy.new/python-ftfy.changes 2018-07-31 16:00:35.063667116 +0200 @@ -1,0 +2,5 @@ +Sun Jul 29 11:07:27 UTC 2018 - jeng...@inai.de + +- Use noun phrase in summary. Trim filler wording from description. + +--- Other differences: -- ++ python-ftfy.spec ++ --- /var/tmp/diff_new_pack.pkkecm/_old 2018-07-31 16:00:35.923668576 +0200 +++ /var/tmp/diff_new_pack.pkkecm/_new 2018-07-31 16:00:35.927668583 +0200 @@ -13,6 +13,7 @@ # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ +# %{?!python_module:%define python_module() python-%{**} python3-%{**}} @@ -20,10 +21,10 @@ Name: python-ftfy Version:5.3.0 Release:0 +Summary:Python module for repairing mis-decoded Unicode text License:MIT -Summary:Fixes some problems with Unicode text after the fact -Url:http://github.com/LuminosoInsight/python-ftfy Group: Development/Languages/Python +Url:http://github.com/LuminosoInsight/python-ftfy Source: https://files.pythonhosted.org/packages/source/f/ftfy/ftfy-%{version}.tar.gz BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} @@ -31,8 +32,8 @@ BuildRequires: python-rpm-macros # SECTION test requirements BuildRequires: %{python_module nose} -BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytest-runner} +BuildRequires: %{python_module pytest} BuildRequires: %{python_module wcwidth} # /SECTION Requires: python-wcwidth @@ -41,12 +42,8 @@ %python_subpackages %description -Ftfy makes Unicode text less broken and more consistent. - -The most interesting kind of brokenness that this resolves -is when someone has encoded Unicode with one standard and -decoded it with a different one. - +Ftfy attempts to repair Unicode text that has been erroneously +put through an encode/decode cycle with different encodings. %prep %setup -q -n ftfy-%{version}