From bda8f8e49b337329faeea7e9d49ba7ae3694d590ab9ef393ecbf8a09c6548554 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Wed, 11 Sep 2019 08:28:47 +0000 Subject: [PATCH] - 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 --- parsel-1.5.1.tar.gz | 3 --- parsel-1.5.2.tar.gz | 3 +++ python-parsel.changes | 9 +++++++++ python-parsel.spec | 9 ++++----- 4 files changed, 16 insertions(+), 8 deletions(-) delete mode 100644 parsel-1.5.1.tar.gz create mode 100644 parsel-1.5.2.tar.gz diff --git a/parsel-1.5.1.tar.gz b/parsel-1.5.1.tar.gz deleted file mode 100644 index 5238046..0000000 --- a/parsel-1.5.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9ccd82b8a122345601f6f9209e972c0e8c3518a188fcff2d37cb4d7bc570b4b8 -size 40613 diff --git a/parsel-1.5.2.tar.gz b/parsel-1.5.2.tar.gz new file mode 100644 index 0000000..818cef1 --- /dev/null +++ b/parsel-1.5.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4da4262ba4605573b6b72a5f557616a2fc9dee7a47a1efad562752a28d366723 +size 41134 diff --git a/python-parsel.changes b/python-parsel.changes index 655744a..28c7ee9 100644 --- a/python-parsel.changes +++ b/python-parsel.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Wed Sep 11 08:27:22 UTC 2019 - Tomáš Chvátal + +- 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 diff --git a/python-parsel.spec b/python-parsel.spec index 25d55f5..bba6401 100644 --- a/python-parsel.spec +++ b/python-parsel.spec @@ -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