14
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,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9ccd82b8a122345601f6f9209e972c0e8c3518a188fcff2d37cb4d7bc570b4b8
size 40613

3
parsel-1.5.2.tar.gz Normal file
View File

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

View File

@@ -1,3 +1,12 @@
-------------------------------------------------------------------
Wed Sep 11 08:27:22 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- 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.
-------------------------------------------------------------------
Tue Dec 4 12:51:11 UTC 2018 - Matej Cepl <mcepl@suse.com>

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
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