15
0
forked from pool/python-parsel

- Update to 1.5.2:

* ``Selector.remove_namespaces`` received a significant performance improvement
  * The value of ``data`` within the printable representation of a selector
    (``repr(selector)``) now ends in ``...`` when truncated, to make the
    truncation obvious.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-parsel?expand=0&rev=12
This commit is contained in:
Tomáš Chvátal
2019-09-11 08:28:47 +00:00
committed by Git OBS Bridge
parent 8fa21aeeb9
commit bda8f8e49b
4 changed files with 16 additions and 8 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-parsel
#
# 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
@@ -18,7 +18,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-parsel
Version: 1.5.1
Version: 1.5.2
Release: 0
Summary: Library to extract data from HTML and XML using XPath and CSS selectors
License: BSD-3-Clause
@@ -36,16 +36,15 @@ Requires: python-cssselect >= 0.9
Requires: python-lxml
Requires: python-six >= 1.5.2
Requires: python-w3lib >= 1.8.0
%ifpython2
BuildArch: noarch
%ifpython2
Requires: python-functools32
%endif
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module pytest-runner}
BuildRequires: %{python_module pytest}
BuildRequires: python-functools32
# /SECTION
%python_subpackages
%description