Accepting request 540765 from home:apersaud:branches:devel:languages:python

update to latest version

OBS-URL: https://build.opensuse.org/request/show/540765
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-bleach?expand=0&rev=8
This commit is contained in:
Dirk Mueller 2017-11-13 09:18:37 +00:00 committed by Git OBS Bridge
parent 817fc6f94e
commit 1d0a64577f
4 changed files with 48 additions and 7 deletions

View File

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

3
bleach-2.1.1.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:760a9368002180fb8a0f4ea48dc6275378e6f311c39d0236d7b904fca1f5ea0d
size 58491

View File

@ -1,3 +1,44 @@
-------------------------------------------------------------------
Sat Nov 11 17:17:50 UTC 2017 - arun@gmx.de
- specfile:
* update copyright year
- update to version 2.1.1:
* Bug fixes
+ Fix setup.py opening files when LANG=. (#324)
- changes from version 2.1:
* Security fixes
+ Convert control characters (backspace particularly) to “?”
preventing malicious copy-and-paste situations. (#298)
See https://github.com/mozilla/bleach/issues/298 for more details.
This affects all previous versions of Bleach. Check the comments
on that issue for ways to alleviate the issue if you cant
upgrade to Bleach 2.1.
* Backwards incompatible changes
+ Redid versioning. bleach.VERSION is no longer available. Use the
string version at bleach.__version__ and parse it with
pkg_resources.parse_version. (#307)
+ clean, linkify: linkify and clean should only accept text types;
thank you, Janusz! (#292)
+ clean, linkify: accept only unicode or utf-8-encoded str (#176)
* Bug fixes
+ bleach.clean() no longer unescapes entities including ones that
are missing a ; at the end which can happen in urls and other
places. (#143)
+ linkify: fix http links inside of mailto links; thank you,
sedrubal! (#300)
+ clarify security policy in docs (#303)
+ fix dependency specification for html5lib 1.0b8, 1.0b9, and
1.0b10; thank you, Zoltán! (#268)
+ add Bleach vs. html5lib comparison to README; thank you, Stu
Cox! (#278)
+ fix KeyError exceptions on tags without href attr; thank you,
Alex Defsen! (#273)
+ add test website and scripts to test bleach.clean() output in
browser; thank you, Greg Guthe!
-------------------------------------------------------------------
Wed Apr 12 15:15:17 UTC 2017 - toddrme2178@gmail.com

View File

@ -19,21 +19,21 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-bleach
Version: 2.0.0
Version: 2.1.1
Release: 0
Summary: An easy whitelist-based HTML-sanitizing tool
License: Apache-2.0
Group: Development/Languages/Python
Url: http://github.com/jsocol/bleach
Source: https://files.pythonhosted.org/packages/source/b/bleach/bleach-%{version}.tar.gz
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module html5lib >= 0.99999999}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module six}
BuildRequires: %{python_module webencodings}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-html5lib >= 0.99999999
Requires: python-six
Requires: python-webencodings