commit python-parsel for openSUSE:Factory

2020-04-21 Thread root
Hello community,

here is the log from the commit of package python-parsel for openSUSE:Factory 
checked in at 2020-04-21 13:10:19

Comparing /work/SRC/openSUSE:Factory/python-parsel (Old)
 and  /work/SRC/openSUSE:Factory/.python-parsel.new.2738 (New)


Package is "python-parsel"

Tue Apr 21 13:10:19 2020 rev:6 rq:795798 version:1.5.2

Changes:

--- /work/SRC/openSUSE:Factory/python-parsel/python-parsel.changes  
2019-09-13 14:57:54.589276197 +0200
+++ /work/SRC/openSUSE:Factory/.python-parsel.new.2738/python-parsel.changes
2020-04-21 13:10:22.360777030 +0200
@@ -1,0 +2,5 @@
+Mon Apr 20 11:27:28 UTC 2020 - Tomáš Chvátal 
+
+- Fix build without python2
+
+---



Other differences:
--
++ python-parsel.spec ++
--- /var/tmp/diff_new_pack.CY1C3H/_old  2020-04-21 13:10:23.248778801 +0200
+++ /var/tmp/diff_new_pack.CY1C3H/_new  2020-04-21 13:10:23.252778809 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-parsel
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,6 +17,7 @@
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%bcond_without python2
 Name:   python-parsel
 Version:1.5.2
 Release:0
@@ -41,9 +42,10 @@
 Requires:   python-functools32
 %endif
 # SECTION test requirements
-BuildRequires:  %{python_module pytest-runner}
 BuildRequires:  %{python_module pytest}
+%if %{with python2}
 BuildRequires:  python-functools32
+%endif
 # /SECTION
 %python_subpackages
 
@@ -53,6 +55,7 @@
 
 %prep
 %setup -q -n parsel-%{version}
+sed -i -e '/pytest-runner/d' setup.py
 
 %build
 %python_build
@@ -62,7 +65,7 @@
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
-%python_exec setup.py test
+%pytest
 
 %files %{python_files}
 %license LICENSE




commit python-parsel for openSUSE:Factory

2019-09-13 Thread root
Hello community,

here is the log from the commit of package python-parsel for openSUSE:Factory 
checked in at 2019-09-13 14:57:47

Comparing /work/SRC/openSUSE:Factory/python-parsel (Old)
 and  /work/SRC/openSUSE:Factory/.python-parsel.new.7948 (New)


Package is "python-parsel"

Fri Sep 13 14:57:47 2019 rev:5 rq:730059 version:1.5.2

Changes:

--- /work/SRC/openSUSE:Factory/python-parsel/python-parsel.changes  
2018-12-24 11:40:49.765482068 +0100
+++ /work/SRC/openSUSE:Factory/.python-parsel.new.7948/python-parsel.changes
2019-09-13 14:57:54.589276197 +0200
@@ -1,0 +2,9 @@
+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.
+
+---

Old:

  parsel-1.5.1.tar.gz

New:

  parsel-1.5.2.tar.gz



Other differences:
--
++ python-parsel.spec ++
--- /var/tmp/diff_new_pack.Gks42h/_old  2019-09-13 14:57:55.057276217 +0200
+++ /var/tmp/diff_new_pack.Gks42h/_new  2019-09-13 14:57:55.061276217 +0200
@@ -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-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

++ parsel-1.5.1.tar.gz -> parsel-1.5.2.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/parsel-1.5.1/NEWS new/parsel-1.5.2/NEWS
--- old/parsel-1.5.1/NEWS   2018-10-25 22:21:21.0 +0200
+++ new/parsel-1.5.2/NEWS   2019-08-09 13:26:40.0 +0200
@@ -3,6 +3,16 @@
 History
 ---
 
+1.5.2 (2019-08-09)
+~~
+
+* ``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.
+* Minor documentation improvements.
+
+
 1.5.1 (2018-10-25)
 ~~
 
@@ -12,6 +22,7 @@
 * documentation improvements;
 * Python 3.7 tests are run on CI; other test improvements.
 
+
 1.5.0 (2018-07-04)
 ~~
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/parsel-1.5.1/PKG-INFO new/parsel-1.5.2/PKG-INFO
--- old/parsel-1.5.1/PKG-INFO   2018-10-25 22:21:57.0 +0200
+++ new/parsel-1.5.2/PKG-INFO   2019-08-09 13:27:13.0 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: parsel
-Version: 1.5.1
+Version: 1.5.2
 Summary: Parsel is a library to extract data from HTML and XML using XPath and 
CSS selectors
 Home-page: https://github.com/scrapy/parsel
 Author: Scrapy project
@@ -43,7 +43,7 @@
 
 http://example.com";>Link 1
 http://scrapy.org";>Link 2
-
 
 """)
 >>>
@@ -64,6 +64,16 @@
 History
 ---
 
+1.5.2 (2019-08-09)
+~~
+
+* ``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.
+* Minor documentation improvements.
+
+
 1.5.1 (2018-10-25)
 ~~
 
@@ -73,6 +83,7 @@
 * documentation improvements;
 * Python 3.7 tests are run on CI; other test improvements.
 
+
 1.5.0 (2018-07-04)
 

commit python-parsel for openSUSE:Factory

2018-12-24 Thread root
Hello community,

here is the log from the commit of package python-parsel for openSUSE:Factory 
checked in at 2018-12-24 11:40:48

Comparing /work/SRC/openSUSE:Factory/python-parsel (Old)
 and  /work/SRC/openSUSE:Factory/.python-parsel.new.28833 (New)


Package is "python-parsel"

Mon Dec 24 11:40:48 2018 rev:4 rq:659536 version:1.5.1

Changes:

--- /work/SRC/openSUSE:Factory/python-parsel/python-parsel.changes  
2018-11-18 23:32:44.633441452 +0100
+++ /work/SRC/openSUSE:Factory/.python-parsel.new.28833/python-parsel.changes   
2018-12-24 11:40:49.765482068 +0100
@@ -1,0 +2,5 @@
+Tue Dec  4 12:51:11 UTC 2018 - Matej Cepl 
+
+- Remove superfluous devel dependency for noarch package
+
+---



Other differences:
--
++ python-parsel.spec ++
--- /var/tmp/diff_new_pack.39hurq/_old  2018-12-24 11:40:50.261481628 +0100
+++ /var/tmp/diff_new_pack.39hurq/_new  2018-12-24 11:40:50.265481625 +0100
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -26,7 +26,6 @@
 URL:https://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}
 BuildRequires:  %{python_module lxml}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module six} >= 1.5.2
@@ -42,8 +41,8 @@
 %endif
 BuildArch:  noarch
 # SECTION test requirements
-BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module pytest-runner}
+BuildRequires:  %{python_module pytest}
 BuildRequires:  python-functools32
 # /SECTION
 




commit python-parsel for openSUSE:Factory

2018-11-18 Thread root
Hello community,

here is the log from the commit of package python-parsel for openSUSE:Factory 
checked in at 2018-11-18 23:32:27

Comparing /work/SRC/openSUSE:Factory/python-parsel (Old)
 and  /work/SRC/openSUSE:Factory/.python-parsel.new (New)


Package is "python-parsel"

Sun Nov 18 23:32:27 2018 rev:3 rq:649919 version:1.5.1

Changes:

--- /work/SRC/openSUSE:Factory/python-parsel/python-parsel.changes  
2018-04-19 15:28:31.805407866 +0200
+++ /work/SRC/openSUSE:Factory/.python-parsel.new/python-parsel.changes 
2018-11-18 23:32:44.633441452 +0100
@@ -1,0 +2,19 @@
+Fri Nov 16 18:55:28 UTC 2018 - Todd R 
+
+- Update to version 1.5.1 (2018-10-25)
+  * ``has-class`` XPath function handles newlines and other separators
+in class names properly;
+  * fixed parsing of HTML documents with null bytes;
+  * documentation improvements;
+  * Python 3.7 tests are run on CI; other test improvements.
+- Update to version 1.5.0 (2018-07-04)
+  * New ``Selector.attrib`` and ``SelectorList.attrib`` properties which make
+it easier to get attributes of HTML elements.
+  * CSS selectors became faster: compilation results are cached
+(LRU cache is used for ``css2xpath``), so there is
+less overhead when the same CSS expression is used several times.
+  * ``.get()`` and ``.getall()`` selector methods are documented and 
recommended
+over ``.extract_first()`` and ``.extract()``.
+  * Various documentation tweaks and improvements.
+
+---

Old:

  parsel-1.4.0.tar.gz

New:

  parsel-1.5.1.tar.gz



Other differences:
--
++ python-parsel.spec ++
--- /var/tmp/diff_new_pack.qQP3hz/_old  2018-11-18 23:32:45.997439813 +0100
+++ /var/tmp/diff_new_pack.qQP3hz/_new  2018-11-18 23:32:46.017439789 +0100
@@ -18,17 +18,16 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-parsel
-Version:1.4.0
+Version:1.5.1
 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:https://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}
 BuildRequires:  %{python_module lxml}
-BuildRequires:  %{python_module pytest-runner}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module six} >= 1.5.2
 BuildRequires:  %{python_module w3lib} >= 1.8.0
@@ -38,7 +37,16 @@
 Requires:   python-lxml
 Requires:   python-six >= 1.5.2
 Requires:   python-w3lib >= 1.8.0
+%ifpython2  
+Requires:   python-functools32
+%endif
 BuildArch:  noarch
+# SECTION test requirements
+BuildRequires:  %{python_module pytest}
+BuildRequires:  %{python_module pytest-runner}
+BuildRequires:  python-functools32
+# /SECTION
+
 %python_subpackages
 
 %description

++ parsel-1.4.0.tar.gz -> parsel-1.5.1.tar.gz ++
 1671 lines of diff (skipped)




commit python-parsel for openSUSE:Factory

2018-04-19 Thread root
Hello community,

here is the log from the commit of package python-parsel for openSUSE:Factory 
checked in at 2018-04-19 15:28:31

Comparing /work/SRC/openSUSE:Factory/python-parsel (Old)
 and  /work/SRC/openSUSE:Factory/.python-parsel.new (New)


Package is "python-parsel"

Thu Apr 19 15:28:31 2018 rev:2 rq:593919 version:1.4.0

Changes:

--- /work/SRC/openSUSE:Factory/python-parsel/python-parsel.changes  
2018-01-10 23:32:54.366391697 +0100
+++ /work/SRC/openSUSE:Factory/.python-parsel.new/python-parsel.changes 
2018-04-19 15:28:31.805407866 +0200
@@ -1,0 +2,11 @@
+Fri Apr  6 08:38:41 UTC 2018 - mplus...@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.
+
+---

Old:

  parsel-1.2.0.tar.gz

New:

  parsel-1.4.0.tar.gz



Other differences:
--
++ python-parsel.spec ++
--- /var/tmp/diff_new_pack.YkfUCE/_old  2018-04-19 15:28:32.353385471 +0200
+++ /var/tmp/diff_new_pack.YkfUCE/_new  2018-04-19 15:28:32.357385307 +0200
@@ -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 @@
 %python_exec setup.py test
 
 %files %{python_files}
-%doc README.rst LICENSE
+%license LICENSE
+%doc README.rst
 %{python_sitelib}/*
 
 %changelog

++ parsel-1.2.0.tar.gz -> parsel-1.4.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/parsel-1.2.0/NEWS new/parsel-1.4.0/NEWS
--- old/parsel-1.2.0/NEWS   2017-05-17 22:25:05.0 +0200
+++ new/parsel-1.4.0/NEWS   2018-02-08 16:04:00.0 +0100
@@ -3,14 +3,42 @@
 History
 ---
 
-1.2.0 (2017-05-XX)
+1.4.0 (2018-02-08)
 ~~
 
-* Add :meth:`~parsel.selector.SelectorList.get` and 
:meth:`~parsel.selector.SelectorList.getall`
-  methods as aliases for :meth:`~parsel.selector.SelectorList.extract_first`
-  and :meth:`~parsel.selector.SelectorList.extract` respectively
-* Add default value parameter to 
:meth:`~parsel.selector.SelectorList.re_first` method
-* Add :meth:`~parsel.selector.Selector.re_first` method to 
:class:`parsel.selector.Selector` class
+* ``Selector`` and ``SelectorList`` can't be pickled because
+  pickling/unpickling doesn't work for ``lxml.html.HtmlElement``;
+  parsel now raises TypeError explicitly instead of allowing pickle to
+  silently produce wrong output. This is technically backwards-incompatible
+  if you're using Python < 3.6.
+
+1.3.1 (2017-12-28)
+~~
+
+* Fix artifact uploads to pypi.
+
+1.3.0 (2017-12-28)
+~~
+
+* ``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.
+* CI: PyPy installation is fixed; parsel now runs tests for PyPy3 as well.
+
+
+1.2.0 (2017-05-17)
+~~
+
+* Add ``SelectorList.get`` and ``SelectorList.getall``
+  methods as aliases for ``SelectorList.extract_first``
+  and ``SelectorList.extract`` respectively
+* Add default value parameter to ``SelectorList.re_first`` method
+* Add ``Selector.re_first`` method
+* Add ``replace_entities`` argument on ``.re()`` and ``.re_first()``
+  to turn off replacing of character entity references
 * Bug fix: detect ``None`` result from lxml parsing and fallback with an empty 
document
 * Rearrange XML/HTML examples in the selectors usage docs
 * Travis CI:
diff -urN '--exclude=CVS' '--exclude=.c