Hello community,

here is the log from the commit of package python3-cssselect for 
openSUSE:Factory checked in at 2016-07-18 21:22:10
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python3-cssselect (Old)
 and      /work/SRC/openSUSE:Factory/.python3-cssselect.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python3-cssselect"

Changes:
--------
--- /work/SRC/openSUSE:Factory/python3-cssselect/python3-cssselect.changes      
2016-05-17 17:10:02.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python3-cssselect.new/python3-cssselect.changes 
2016-07-18 21:22:12.000000000 +0200
@@ -1,0 +2,9 @@
+Sat Jul  9 16:26:21 UTC 2016 - [email protected]
+
+- update to version 0.9.2:
+  * Distribute as universal wheel.
+  * Add support for Python 3.3, 3.4 and 3.5.
+  * Drop support for Python 2.5 as testing is getting difficult.
+  * Improve tests on pseudo-elements.
+
+-------------------------------------------------------------------
@@ -7 +15,0 @@
-

Old:
----
  cssselect-0.9.1.tar.gz

New:
----
  cssselect-0.9.2.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python3-cssselect.spec ++++++
--- /var/tmp/diff_new_pack.8MiulA/_old  2016-07-18 21:22:13.000000000 +0200
+++ /var/tmp/diff_new_pack.8MiulA/_new  2016-07-18 21:22:13.000000000 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           python3-cssselect
-Version:        0.9.1
+Version:        0.9.2
 Release:        0
 Summary:        CSS3 selectors for Python
 License:        BSD-3-Clause

++++++ cssselect-0.9.1.tar.gz -> cssselect-0.9.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cssselect-0.9.1/AUTHORS new/cssselect-0.9.2/AUTHORS
--- old/cssselect-0.9.1/AUTHORS 2013-10-15 16:58:30.000000000 +0200
+++ new/cssselect-0.9.2/AUTHORS 2016-06-15 18:26:07.000000000 +0200
@@ -1,9 +1,12 @@
 Daniel Graña
 Ian Bicking
+James Salter
 Laurence Rowe
 Mikhail Korobov
+Nik Nyby
 Paul Tremberth
 Simon Potter
 Simon Sapin
 Stefan Behnel
+Thomas Grainger
 Varialus
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cssselect-0.9.1/CHANGES new/cssselect-0.9.2/CHANGES
--- old/cssselect-0.9.1/CHANGES 2013-10-17 15:32:13.000000000 +0200
+++ new/cssselect-0.9.2/CHANGES 2016-06-15 18:26:07.000000000 +0200
@@ -1,6 +1,17 @@
 Changelog
 =========
 
+Version 0.9.2
+-------------
+
+Released on 2016-06-15.
+
+* Distribute as universal wheel.
+* Add support for Python 3.3, 3.4 and 3.5.
+* Drop support for Python 2.5 as testing is getting difficult.
+* Improve tests on pseudo-elements.
+
+
 Version 0.9.1
 -------------
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cssselect-0.9.1/PKG-INFO new/cssselect-0.9.2/PKG-INFO
--- old/cssselect-0.9.1/PKG-INFO        2013-10-17 15:39:34.000000000 +0200
+++ new/cssselect-0.9.2/PKG-INFO        2016-06-15 20:17:24.000000000 +0200
@@ -1,10 +1,10 @@
 Metadata-Version: 1.1
 Name: cssselect
-Version: 0.9.1
+Version: 0.9.2
 Summary: cssselect parses CSS3 Selectors and translates them to XPath 1.0
-Home-page: http://packages.python.org/cssselect/
-Author: Simon Sapin
-Author-email: [email protected]
+Home-page: https://pythonhosted.org/cssselect/
+Author: Paul Tremberth
+Author-email: [email protected]
 License: BSD
 Description: ===================================
         cssselect: CSS Selectors for Python
@@ -17,18 +17,18 @@
         This module used to live inside of lxml as ``lxml.cssselect`` before 
it was
         extracted as a stand-alone project.
         
-        .. _CSS3 Selectors: 
http://www.w3.org/TR/2011/REC-css3-selectors-20110929/
-        .. _XPath 1.0: http://www.w3.org/TR/xpath/
+        .. _CSS3 Selectors: https://www.w3.org/TR/css3-selectors/
+        .. _XPath 1.0: https://www.w3.org/TR/xpath/
         .. _lxml: http://lxml.de/
         
         
         Quick facts:
         
         * Free software: BSD licensed
-        * Compatible with Python 2.5+ and 3.2+
-        * Latest documentation `on python.org 
<http://packages.python.org/cssselect/>`_
+        * Compatible with Python 2.6+ and 3.2+
+        * Latest documentation `on python.org 
<https://pythonhosted.org/cssselect/>`_
         * Source, issues and pull requests `on Github
-          <https://github.com/SimonSapin/cssselect/>`_
+          <https://github.com/scrapy/cssselect>`_
         * Releases `on PyPI <http://pypi.python.org/pypi/cssselect>`_
         * Install with ``pip install cssselect``
         
@@ -37,8 +37,10 @@
 Classifier: Intended Audience :: Developers
 Classifier: License :: OSI Approved :: BSD License
 Classifier: Programming Language :: Python :: 2
-Classifier: Programming Language :: Python :: 2.5
 Classifier: Programming Language :: Python :: 2.6
 Classifier: Programming Language :: Python :: 2.7
 Classifier: Programming Language :: Python :: 3
 Classifier: Programming Language :: Python :: 3.2
+Classifier: Programming Language :: Python :: 3.3
+Classifier: Programming Language :: Python :: 3.4
+Classifier: Programming Language :: Python :: 3.5
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cssselect-0.9.1/README.rst 
new/cssselect-0.9.2/README.rst
--- old/cssselect-0.9.1/README.rst      2013-10-15 16:54:36.000000000 +0200
+++ new/cssselect-0.9.2/README.rst      2016-06-15 18:26:07.000000000 +0200
@@ -9,17 +9,17 @@
 This module used to live inside of lxml as ``lxml.cssselect`` before it was
 extracted as a stand-alone project.
 
-.. _CSS3 Selectors: http://www.w3.org/TR/2011/REC-css3-selectors-20110929/
-.. _XPath 1.0: http://www.w3.org/TR/xpath/
+.. _CSS3 Selectors: https://www.w3.org/TR/css3-selectors/
+.. _XPath 1.0: https://www.w3.org/TR/xpath/
 .. _lxml: http://lxml.de/
 
 
 Quick facts:
 
 * Free software: BSD licensed
-* Compatible with Python 2.5+ and 3.2+
-* Latest documentation `on python.org <http://packages.python.org/cssselect/>`_
+* Compatible with Python 2.6+ and 3.2+
+* Latest documentation `on python.org <https://pythonhosted.org/cssselect/>`_
 * Source, issues and pull requests `on Github
-  <https://github.com/SimonSapin/cssselect/>`_
+  <https://github.com/scrapy/cssselect>`_
 * Releases `on PyPI <http://pypi.python.org/pypi/cssselect>`_
 * Install with ``pip install cssselect``
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cssselect-0.9.1/cssselect/__init__.py 
new/cssselect-0.9.2/cssselect/__init__.py
--- old/cssselect-0.9.1/cssselect/__init__.py   2013-10-17 15:38:51.000000000 
+0200
+++ new/cssselect-0.9.2/cssselect/__init__.py   2016-06-15 18:26:46.000000000 
+0200
@@ -1,4 +1,4 @@
-# coding: utf8
+# -*- coding: utf-8 -*-
 """
     CSS Selectors based on XPath
     ============================
@@ -18,5 +18,5 @@
 from cssselect.xpath import GenericTranslator, HTMLTranslator, ExpressionError
 
 
-VERSION = '0.9.1'
+VERSION = '0.9.2'
 __version__ = VERSION
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cssselect-0.9.1/cssselect/parser.py 
new/cssselect-0.9.2/cssselect/parser.py
--- old/cssselect-0.9.1/cssselect/parser.py     2013-10-11 17:14:37.000000000 
+0200
+++ new/cssselect-0.9.2/cssselect/parser.py     2016-06-15 17:36:36.000000000 
+0200
@@ -1,4 +1,4 @@
-# coding: utf8
+# -*- coding: utf-8 -*-
 """
     cssselect.parser
     ================
@@ -85,7 +85,7 @@
     def __repr__(self):
         if isinstance(self.pseudo_element, FunctionalPseudoElement):
             pseudo_element = repr(self.pseudo_element)
-        if self.pseudo_element:
+        elif self.pseudo_element:
             pseudo_element = '::%s' % self.pseudo_element
         else:
             pseudo_element = ''
@@ -684,7 +684,7 @@
             if end_pos == len_s:
                 raise SelectorSyntaxError('Unclosed string at %s' % pos)
             if s[end_pos] != quote:
-                raise SelectorSyntaxError('Invalid string at %s' % next_pos)
+                raise SelectorSyntaxError('Invalid string at %s' % pos)
             value = _sub_simple_escape(_replace_simple,
                     _sub_unicode_escape(_replace_unicode,
                     _sub_newline_escape('', match.group())))
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cssselect-0.9.1/cssselect/tests.py 
new/cssselect-0.9.2/cssselect/tests.py
--- old/cssselect-0.9.1/cssselect/tests.py      2013-10-17 15:27:16.000000000 
+0200
+++ new/cssselect-0.9.2/cssselect/tests.py      2016-06-15 17:36:36.000000000 
+0200
@@ -1,5 +1,5 @@
 #!/usr/bin/env python
-# coding: utf8
+# -*- coding: utf-8 -*-
 """
     Tests for cssselect
     ===================
@@ -196,6 +196,21 @@
             ('Element[bar]', None),
             ('Element[baz]', 'after')]
 
+        # Special cases for CSS 2.1 pseudo-elements are ignored by default
+        for pseudo in ('after', 'before', 'first-line', 'first-letter'):
+            selector, = parse('e:%s' % pseudo)
+            assert selector.pseudo_element == pseudo
+            assert GenericTranslator().selector_to_xpath(selector, prefix='') 
== "e"
+
+        # Pseudo Elements are ignored by default, but if allowed they are not
+        # supported by GenericTranslator
+        tr = GenericTranslator()
+        selector, = parse('e::foo')
+        assert selector.pseudo_element == 'foo'
+        assert tr.selector_to_xpath(selector, prefix='') == "e"
+        self.assertRaises(ExpressionError, tr.selector_to_xpath, selector,
+                          translate_pseudo_elements=True)
+
     def test_specificity(self):
         def specificity(css):
             selectors = parse(css)
@@ -380,11 +395,6 @@
         assert xpath('div#container p') == (
             "div[@id = 'container']/descendant-or-self::*/p")
 
-        selector, = parse('e:after')
-        assert selector.pseudo_element == 'after'
-        # Pseudo-element is ignored:
-        assert GenericTranslator().selector_to_xpath(selector, prefix='') == 
"e"
-
         # Invalid characters in XPath element names
         assert xpath(r'di\a0 v') == (
             u("*[name() = 'di v']"))  # di\xa0v
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cssselect-0.9.1/cssselect/xpath.py 
new/cssselect-0.9.2/cssselect/xpath.py
--- old/cssselect-0.9.1/cssselect/xpath.py      2013-10-17 15:37:58.000000000 
+0200
+++ new/cssselect-0.9.2/cssselect/xpath.py      2016-06-15 17:50:31.000000000 
+0200
@@ -1,4 +1,4 @@
-# coding: utf8
+# -*- coding: utf-8 -*-
 """
     cssselect.xpath
     ===============
@@ -108,7 +108,7 @@
     of element names and attribute names.
 
     """
-    
+
     ####
     ####  HERE BE DRAGONS
     ####
@@ -117,7 +117,7 @@
     ####  Until is has recieved a lot more work and review,
     ####  I reserve the right to change this API in backward-incompatible ways
     ####  with any minor version of cssselect.
-    ####  See https://github.com/SimonSapin/cssselect/pull/22
+    ####  See https://github.com/scrapy/cssselect/pull/22
     ####  -- Simon Sapin.
     ####
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cssselect-0.9.1/cssselect.egg-info/PKG-INFO 
new/cssselect-0.9.2/cssselect.egg-info/PKG-INFO
--- old/cssselect-0.9.1/cssselect.egg-info/PKG-INFO     2013-10-17 
15:39:34.000000000 +0200
+++ new/cssselect-0.9.2/cssselect.egg-info/PKG-INFO     2016-06-15 
20:17:24.000000000 +0200
@@ -1,10 +1,10 @@
 Metadata-Version: 1.1
 Name: cssselect
-Version: 0.9.1
+Version: 0.9.2
 Summary: cssselect parses CSS3 Selectors and translates them to XPath 1.0
-Home-page: http://packages.python.org/cssselect/
-Author: Simon Sapin
-Author-email: [email protected]
+Home-page: https://pythonhosted.org/cssselect/
+Author: Paul Tremberth
+Author-email: [email protected]
 License: BSD
 Description: ===================================
         cssselect: CSS Selectors for Python
@@ -17,18 +17,18 @@
         This module used to live inside of lxml as ``lxml.cssselect`` before 
it was
         extracted as a stand-alone project.
         
-        .. _CSS3 Selectors: 
http://www.w3.org/TR/2011/REC-css3-selectors-20110929/
-        .. _XPath 1.0: http://www.w3.org/TR/xpath/
+        .. _CSS3 Selectors: https://www.w3.org/TR/css3-selectors/
+        .. _XPath 1.0: https://www.w3.org/TR/xpath/
         .. _lxml: http://lxml.de/
         
         
         Quick facts:
         
         * Free software: BSD licensed
-        * Compatible with Python 2.5+ and 3.2+
-        * Latest documentation `on python.org 
<http://packages.python.org/cssselect/>`_
+        * Compatible with Python 2.6+ and 3.2+
+        * Latest documentation `on python.org 
<https://pythonhosted.org/cssselect/>`_
         * Source, issues and pull requests `on Github
-          <https://github.com/SimonSapin/cssselect/>`_
+          <https://github.com/scrapy/cssselect>`_
         * Releases `on PyPI <http://pypi.python.org/pypi/cssselect>`_
         * Install with ``pip install cssselect``
         
@@ -37,8 +37,10 @@
 Classifier: Intended Audience :: Developers
 Classifier: License :: OSI Approved :: BSD License
 Classifier: Programming Language :: Python :: 2
-Classifier: Programming Language :: Python :: 2.5
 Classifier: Programming Language :: Python :: 2.6
 Classifier: Programming Language :: Python :: 2.7
 Classifier: Programming Language :: Python :: 3
 Classifier: Programming Language :: Python :: 3.2
+Classifier: Programming Language :: Python :: 3.3
+Classifier: Programming Language :: Python :: 3.4
+Classifier: Programming Language :: Python :: 3.5
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cssselect-0.9.1/docs/index.rst 
new/cssselect-0.9.2/docs/index.rst
--- old/cssselect-0.9.1/docs/index.rst  2013-10-11 17:00:04.000000000 +0200
+++ new/cssselect-0.9.2/docs/index.rst  2016-06-15 17:50:31.000000000 +0200
@@ -139,7 +139,7 @@
 However, be aware that this API is not very stable yet. It might change
 and break your sub-class.
 
-.. _source code: 
https://github.com/SimonSapin/cssselect/blob/master/cssselect/xpath.py
+.. _source code: 
https://github.com/scrapy/cssselect/blob/master/cssselect/xpath.py
 
 
 Namespaces
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cssselect-0.9.1/setup.cfg 
new/cssselect-0.9.2/setup.cfg
--- old/cssselect-0.9.1/setup.cfg       2013-10-17 15:39:34.000000000 +0200
+++ new/cssselect-0.9.2/setup.cfg       2016-06-15 20:17:24.000000000 +0200
@@ -8,6 +8,9 @@
 [pytest]
 python_files = tests.py
 
+[bdist_wheel]
+universal = 1
+
 [egg_info]
 tag_build = 
 tag_date = 0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cssselect-0.9.1/setup.py new/cssselect-0.9.2/setup.py
--- old/cssselect-0.9.1/setup.py        2013-10-15 16:54:41.000000000 +0200
+++ new/cssselect-0.9.2/setup.py        2016-06-15 18:13:48.000000000 +0200
@@ -1,4 +1,4 @@
-# coding: utf8
+# -*- coding: utf-8 -*-
 
 import re
 import os.path
@@ -21,12 +21,12 @@
     version=VERSION,
     author='Ian Bicking',
     author_email='[email protected]',
-    maintainer='Simon Sapin',
-    maintainer_email='[email protected]',
+    maintainer='Paul Tremberth',
+    maintainer_email='[email protected]',
     description=
         'cssselect parses CSS3 Selectors and translates them to XPath 1.0',
     long_description=README,
-    url='http://packages.python.org/cssselect/',
+    url='https://pythonhosted.org/cssselect/',
     license='BSD',
     packages=['cssselect'],
     classifiers=[
@@ -34,11 +34,13 @@
         'Intended Audience :: Developers',
         'License :: OSI Approved :: BSD License',
         'Programming Language :: Python :: 2',
-        'Programming Language :: Python :: 2.5',
         'Programming Language :: Python :: 2.6',
         'Programming Language :: Python :: 2.7',
         'Programming Language :: Python :: 3',
         'Programming Language :: Python :: 3.2',
+        'Programming Language :: Python :: 3.3',
+        'Programming Language :: Python :: 3.4',
+        'Programming Language :: Python :: 3.5',
     ],
     **extra_kwargs
 )


Reply via email to