From c9a717f3b35221085cc2ab7f8e44c47eff6aa4474b9d391bc7621431fc063c2c Mon Sep 17 00:00:00 2001 From: Martin Pluskal Date: Fri, 6 Apr 2018 08:40:04 +0000 Subject: [PATCH] - Update to version 1.4.0: * has-class XPath extension function; * parsel.xpathfuncs.set_xpathfunc is a simplified way to register XPath extensions; * Selector.remove_namespaces now removes namespace declarations; * Python 3.3 support is dropped; * make htmlview command for easier Parsel docs development. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-parsel?expand=0&rev=6 --- parsel-1.2.0.tar.gz | 3 --- parsel-1.4.0.tar.gz | 3 +++ python-parsel.changes | 11 +++++++++++ python-parsel.spec | 9 +++++---- 4 files changed, 19 insertions(+), 7 deletions(-) delete mode 100644 parsel-1.2.0.tar.gz create mode 100644 parsel-1.4.0.tar.gz diff --git a/parsel-1.2.0.tar.gz b/parsel-1.2.0.tar.gz deleted file mode 100644 index dd8d45f..0000000 --- a/parsel-1.2.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1c5a31cb3f0fdca3d19f2ef966d595df69181c2d81b6c56582732c819e2f4e26 -size 33878 diff --git a/parsel-1.4.0.tar.gz b/parsel-1.4.0.tar.gz new file mode 100644 index 0000000..ec0cefb --- /dev/null +++ b/parsel-1.4.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2f3a6813a0ff39b6ca2530b9c1ad25d83e3a33808d93dd21fbf114c6232a16a8 +size 36480 diff --git a/python-parsel.changes b/python-parsel.changes index 68951d5..b8206c9 100644 --- a/python-parsel.changes +++ b/python-parsel.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Fri Apr 6 08:38:41 UTC 2018 - mpluskal@suse.com + +- Update to version 1.4.0: + * has-class XPath extension function; + * parsel.xpathfuncs.set_xpathfunc is a simplified way to register + XPath extensions; + * Selector.remove_namespaces now removes namespace declarations; + * Python 3.3 support is dropped; + * make htmlview command for easier Parsel docs development. + ------------------------------------------------------------------- Thu Dec 21 22:54:25 UTC 2017 - mpluskal@suse.com diff --git a/python-parsel.spec b/python-parsel.spec index 56790ea..82470a3 100644 --- a/python-parsel.spec +++ b/python-parsel.spec @@ -1,7 +1,7 @@ # # spec file for package python-parsel # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 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,12 +18,12 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-parsel -Version: 1.2.0 +Version: 1.4.0 Release: 0 Summary: Library to extract data from HTML and XML using XPath and CSS selectors License: BSD-3-Clause Group: Development/Languages/Python -Url: http://github.com/scrapy/parsel +URL: http://github.com/scrapy/parsel Source: https://files.pythonhosted.org/packages/source/p/parsel/parsel-%{version}.tar.gz BuildRequires: %{python_module cssselect} >= 0.9 BuildRequires: %{python_module devel} @@ -59,7 +59,8 @@ selectors. %python_exec setup.py test %files %{python_files} -%doc README.rst LICENSE +%license LICENSE +%doc README.rst %{python_sitelib}/* %changelog