14
0
forked from pool/python-bleach

- Update to 3.1.5:

* * replace missing ``setuptools`` dependency with ``packaging``. Thank you Benjamin Peterson.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-bleach?expand=0&rev=37
This commit is contained in:
Tomáš Chvátal
2020-05-06 07:14:32 +00:00
committed by Git OBS Bridge
parent 5e4292f9bb
commit f264ca5fab
4 changed files with 13 additions and 8 deletions

View File

@@ -19,23 +19,22 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-bleach
Version: 3.1.4
Version: 3.1.5
Release: 0
Summary: A whitelist-based HTML-sanitizing tool
License: Apache-2.0
Group: Development/Languages/Python
URL: https://github.com/jsocol/bleach
Source: https://files.pythonhosted.org/packages/source/b/bleach/bleach-%{version}.tar.gz
Patch0: de-vendor.patch
BuildRequires: %{python_module html5lib >= 1.0.0}
# https://github.com/mozilla/bleach/issues/459
BuildRequires: %{python_module pytest < 5.0}
BuildRequires: %{python_module pytest-runner >= 2.0}
BuildRequires: %{python_module packaging}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module six >= 1.9}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-html5lib >= 1.0.0
Requires: python-packaging
Requires: python-six >= 1.9
BuildArch: noarch
%python_subpackages