Hello community,

here is the log from the commit of package python-cssselect for 
openSUSE:Factory checked in at 2018-01-16 09:25:26
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-cssselect (Old)
 and      /work/SRC/openSUSE:Factory/.python-cssselect.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-cssselect"

Tue Jan 16 09:25:26 2018 rev:10 rq:562295 version:1.0.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-cssselect/python-cssselect.changes        
2017-04-19 18:04:47.669031039 +0200
+++ /work/SRC/openSUSE:Factory/.python-cssselect.new/python-cssselect.changes   
2018-01-16 09:25:27.393177897 +0100
@@ -1,0 +2,14 @@
+Sat Jan  6 17:30:23 UTC 2018 - a...@gmx.de
+
+- specfile:
+  * update copyright year
+
+- update to version 1.0.3:
+  * Fix artifact uploads to pypi
+
+- changes from version 1.0.2:
+  * Drop support for Python 2.6 and Python 3.3.
+  * Fix deprecation warning in Python 3.6.
+  * Minor cleanups.
+
+-------------------------------------------------------------------

Old:
----
  cssselect-1.0.1.tar.gz

New:
----
  cssselect-1.0.3.tar.gz

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

Other differences:
------------------
++++++ python-cssselect.spec ++++++
--- /var/tmp/diff_new_pack.fgy9Qv/_old  2018-01-16 09:25:29.269090132 +0100
+++ /var/tmp/diff_new_pack.fgy9Qv/_new  2018-01-16 09:25:29.273089945 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-cssselect
 #
-# 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,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-cssselect
-Version:        1.0.1
+Version:        1.0.3
 Release:        0
 Summary:        CSS3 selectors for Python
 License:        BSD-3-Clause

++++++ cssselect-1.0.1.tar.gz -> cssselect-1.0.3.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cssselect-1.0.1/CHANGES new/cssselect-1.0.3/CHANGES
--- old/cssselect-1.0.1/CHANGES 2017-01-10 16:18:01.000000000 +0100
+++ new/cssselect-1.0.3/CHANGES 2017-12-27 17:06:57.000000000 +0100
@@ -1,6 +1,22 @@
 Changelog
 =========
 
+Version 1.0.3
+-------------
+
+Released on 2017-12-27.
+
+* Fix artifact uploads to pypi
+
+Version 1.0.2
+-------------
+
+Released on 2017-12-26.
+
+* Drop support for Python 2.6 and Python 3.3.
+* Fix deprecation warning in Python 3.6.
+* Minor cleanups.
+
 Version 1.0.1
 -------------
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cssselect-1.0.1/PKG-INFO new/cssselect-1.0.3/PKG-INFO
--- old/cssselect-1.0.1/PKG-INFO        2017-01-10 16:18:18.000000000 +0100
+++ new/cssselect-1.0.3/PKG-INFO        2017-12-27 17:07:20.000000000 +0100
@@ -1,15 +1,32 @@
-Metadata-Version: 1.1
+Metadata-Version: 1.2
 Name: cssselect
-Version: 1.0.1
+Version: 1.0.3
 Summary: cssselect parses CSS3 Selectors and translates them to XPath 1.0
 Home-page: https://github.com/scrapy/cssselect
 Author: Paul Tremberth
 Author-email: paul.trembe...@gmail.com
 License: BSD
+Description-Content-Type: UNKNOWN
 Description: ===================================
         cssselect: CSS Selectors for Python
         ===================================
         
+        .. image:: https://img.shields.io/pypi/v/cssselect.svg
+           :target: https://pypi.python.org/pypi/cssselect
+           :alt: PyPI Version
+        
+        .. image:: https://img.shields.io/pypi/pyversions/cssselect.svg
+           :target: https://pypi.python.org/pypi/cssselect
+           :alt: Supported Python Versions
+        
+        .. image:: https://img.shields.io/travis/scrapy/cssselect/master.svg
+           :target: https://travis-ci.org/scrapy/cssselect
+           :alt: Build Status
+        
+        .. image:: 
https://img.shields.io/codecov/c/github/scrapy/cssselect/master.svg
+           :target: https://codecov.io/github/scrapy/cssselect?branch=master
+           :alt: Coverage report
+        
         *cssselect* parses `CSS3 Selectors`_ and translate them to `XPath 1.0`_
         expressions. Such expressions can be used in lxml_ or another XPath 
engine
         to find the matching elements in an XML or HTML document.
@@ -25,9 +42,9 @@
         Quick facts:
         
         * Free software: BSD licensed
-        * Compatible with Python 2.6+ and 3.3+
+        * Compatible with Python 2.7 and 3.4+
         * Latest documentation `on Read the Docs 
<https://cssselect.readthedocs.io/>`_
-        * Source, issues and pull requests `on Github
+        * Source, issues and pull requests `on GitHub
           <https://github.com/scrapy/cssselect>`_
         * Releases `on PyPI <http://pypi.python.org/pypi/cssselect>`_
         * Install with ``pip install cssselect``
@@ -37,10 +54,9 @@
 Classifier: Intended Audience :: Developers
 Classifier: License :: OSI Approved :: BSD License
 Classifier: Programming Language :: Python :: 2
-Classifier: Programming Language :: Python :: 2.6
 Classifier: Programming Language :: Python :: 2.7
 Classifier: Programming Language :: Python :: 3
-Classifier: Programming Language :: Python :: 3.3
 Classifier: Programming Language :: Python :: 3.4
 Classifier: Programming Language :: Python :: 3.5
 Classifier: Programming Language :: Python :: 3.6
+Requires-Python: >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cssselect-1.0.1/README.rst 
new/cssselect-1.0.3/README.rst
--- old/cssselect-1.0.1/README.rst      2017-01-10 16:18:01.000000000 +0100
+++ new/cssselect-1.0.3/README.rst      2017-12-27 17:06:57.000000000 +0100
@@ -2,6 +2,22 @@
 cssselect: CSS Selectors for Python
 ===================================
 
+.. image:: https://img.shields.io/pypi/v/cssselect.svg
+   :target: https://pypi.python.org/pypi/cssselect
+   :alt: PyPI Version
+
+.. image:: https://img.shields.io/pypi/pyversions/cssselect.svg
+   :target: https://pypi.python.org/pypi/cssselect
+   :alt: Supported Python Versions
+
+.. image:: https://img.shields.io/travis/scrapy/cssselect/master.svg
+   :target: https://travis-ci.org/scrapy/cssselect
+   :alt: Build Status
+
+.. image:: https://img.shields.io/codecov/c/github/scrapy/cssselect/master.svg
+   :target: https://codecov.io/github/scrapy/cssselect?branch=master
+   :alt: Coverage report
+
 *cssselect* parses `CSS3 Selectors`_ and translate them to `XPath 1.0`_
 expressions. Such expressions can be used in lxml_ or another XPath engine
 to find the matching elements in an XML or HTML document.
@@ -17,9 +33,9 @@
 Quick facts:
 
 * Free software: BSD licensed
-* Compatible with Python 2.6+ and 3.3+
+* Compatible with Python 2.7 and 3.4+
 * Latest documentation `on Read the Docs <https://cssselect.readthedocs.io/>`_
-* Source, issues and pull requests `on Github
+* Source, issues and pull requests `on GitHub
   <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-1.0.1/cssselect/__init__.py 
new/cssselect-1.0.3/cssselect/__init__.py
--- old/cssselect-1.0.1/cssselect/__init__.py   2017-01-10 16:18:01.000000000 
+0100
+++ new/cssselect-1.0.3/cssselect/__init__.py   2017-12-27 17:06:57.000000000 
+0100
@@ -18,5 +18,5 @@
 from cssselect.xpath import GenericTranslator, HTMLTranslator, ExpressionError
 
 
-VERSION = '1.0.1'
+VERSION = '1.0.3'
 __version__ = VERSION
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cssselect-1.0.1/cssselect/parser.py 
new/cssselect-1.0.3/cssselect/parser.py
--- old/cssselect-1.0.1/cssselect/parser.py     2017-01-10 16:18:01.000000000 
+0100
+++ new/cssselect-1.0.3/cssselect/parser.py     2017-12-27 17:06:57.000000000 
+0100
@@ -358,8 +358,6 @@
 #        message = "%s at %s -> %r" % (
 #            e, stream.used, stream.peek())
 #        e.msg = message
-#        if sys.version_info < (2,6):
-#            e.message = message
 #        e.args = tuple([message])
 #        raise
 
@@ -554,14 +552,14 @@
             raise ValueError('String tokens not allowed in series.')
     s = ''.join(token.value for token in tokens).strip()
     if s == 'odd':
-        return (2, 1)
+        return 2, 1
     elif s == 'even':
-        return (2, 0)
+        return 2, 0
     elif s == 'n':
-        return (1, 0)
+        return 1, 0
     if 'n' not in s:
         # Just b
-        return (0, int(s))
+        return 0, int(s)
     a, b = s.split('n', 1)
     if not a:
         a = 1
@@ -573,7 +571,7 @@
         b = 0
     else:
         b = int(b)
-    return (a, b)
+    return a, b
 
 
 #### Token objects
@@ -617,7 +615,7 @@
     return re.compile(pattern % vars(TokenMacros), re.IGNORECASE).match
 
 _match_whitespace = _compile(r'[ \t\r\n\f]+')
-_match_number = _compile('[+-]?(?:[0-9]*\.[0-9]+|[0-9]+)')
+_match_number = _compile(r'[+-]?(?:[0-9]*\.[0-9]+|[0-9]+)')
 _match_hash = _compile('#(?:%(nmchar)s)+')
 _match_ident = _compile('-?(?:%(nmstart)s)(?:%(nmchar)s)*')
 _match_string_by_quote = {
@@ -630,12 +628,7 @@
 _sub_newline_escape =re.compile(r'\\(?:\n|\r\n|\r|\f)').sub
 
 # Same as r'\1', but faster on CPython
-if hasattr(operator, 'methodcaller'):
-    # Python 2.6+
-    _replace_simple = operator.methodcaller('group', 1)
-else:
-    def _replace_simple(match):
-        return match.group(1)
+_replace_simple = operator.methodcaller('group', 1)
 
 def _replace_unicode(match):
     codepoint = int(match.group(1), 16)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cssselect-1.0.1/cssselect/xpath.py 
new/cssselect-1.0.3/cssselect/xpath.py
--- old/cssselect-1.0.1/cssselect/xpath.py      2017-01-10 16:18:01.000000000 
+0100
+++ new/cssselect-1.0.3/cssselect/xpath.py      2017-12-27 17:06:57.000000000 
+0100
@@ -114,7 +114,7 @@
     ####
     ####  You are welcome to hook into this to change some behavior,
     ####  but do so at your own risks.
-    ####  Until is has recieved a lot more work and review,
+    ####  Until it has received 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/scrapy/cssselect/pull/22
@@ -490,7 +490,7 @@
             b_neg = (-b_min_1) % abs(a)
 
             if b_neg != 0:
-                b_neg = '+%s' % (b_neg)
+                b_neg = '+%s' % b_neg
                 left = '(%s %s)' % (left, b_neg)
 
             expr.append('%s mod %s = 0' % (left, a))
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cssselect-1.0.1/cssselect.egg-info/PKG-INFO 
new/cssselect-1.0.3/cssselect.egg-info/PKG-INFO
--- old/cssselect-1.0.1/cssselect.egg-info/PKG-INFO     2017-01-10 
16:18:18.000000000 +0100
+++ new/cssselect-1.0.3/cssselect.egg-info/PKG-INFO     2017-12-27 
17:07:19.000000000 +0100
@@ -1,15 +1,32 @@
-Metadata-Version: 1.1
+Metadata-Version: 1.2
 Name: cssselect
-Version: 1.0.1
+Version: 1.0.3
 Summary: cssselect parses CSS3 Selectors and translates them to XPath 1.0
 Home-page: https://github.com/scrapy/cssselect
 Author: Paul Tremberth
 Author-email: paul.trembe...@gmail.com
 License: BSD
+Description-Content-Type: UNKNOWN
 Description: ===================================
         cssselect: CSS Selectors for Python
         ===================================
         
+        .. image:: https://img.shields.io/pypi/v/cssselect.svg
+           :target: https://pypi.python.org/pypi/cssselect
+           :alt: PyPI Version
+        
+        .. image:: https://img.shields.io/pypi/pyversions/cssselect.svg
+           :target: https://pypi.python.org/pypi/cssselect
+           :alt: Supported Python Versions
+        
+        .. image:: https://img.shields.io/travis/scrapy/cssselect/master.svg
+           :target: https://travis-ci.org/scrapy/cssselect
+           :alt: Build Status
+        
+        .. image:: 
https://img.shields.io/codecov/c/github/scrapy/cssselect/master.svg
+           :target: https://codecov.io/github/scrapy/cssselect?branch=master
+           :alt: Coverage report
+        
         *cssselect* parses `CSS3 Selectors`_ and translate them to `XPath 1.0`_
         expressions. Such expressions can be used in lxml_ or another XPath 
engine
         to find the matching elements in an XML or HTML document.
@@ -25,9 +42,9 @@
         Quick facts:
         
         * Free software: BSD licensed
-        * Compatible with Python 2.6+ and 3.3+
+        * Compatible with Python 2.7 and 3.4+
         * Latest documentation `on Read the Docs 
<https://cssselect.readthedocs.io/>`_
-        * Source, issues and pull requests `on Github
+        * Source, issues and pull requests `on GitHub
           <https://github.com/scrapy/cssselect>`_
         * Releases `on PyPI <http://pypi.python.org/pypi/cssselect>`_
         * Install with ``pip install cssselect``
@@ -37,10 +54,9 @@
 Classifier: Intended Audience :: Developers
 Classifier: License :: OSI Approved :: BSD License
 Classifier: Programming Language :: Python :: 2
-Classifier: Programming Language :: Python :: 2.6
 Classifier: Programming Language :: Python :: 2.7
 Classifier: Programming Language :: Python :: 3
-Classifier: Programming Language :: Python :: 3.3
 Classifier: Programming Language :: Python :: 3.4
 Classifier: Programming Language :: Python :: 3.5
 Classifier: Programming Language :: Python :: 3.6
+Requires-Python: >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cssselect-1.0.1/setup.cfg 
new/cssselect-1.0.3/setup.cfg
--- old/cssselect-1.0.1/setup.cfg       2017-01-10 16:18:18.000000000 +0100
+++ new/cssselect-1.0.3/setup.cfg       2017-12-27 17:07:20.000000000 +0100
@@ -14,5 +14,4 @@
 [egg_info]
 tag_build = 
 tag_date = 0
-tag_svn_revision = 0
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cssselect-1.0.1/setup.py new/cssselect-1.0.3/setup.py
--- old/cssselect-1.0.1/setup.py        2017-01-10 16:18:01.000000000 +0100
+++ new/cssselect-1.0.3/setup.py        2017-12-27 17:06:57.000000000 +0100
@@ -29,15 +29,14 @@
     url='https://github.com/scrapy/cssselect',
     license='BSD',
     packages=['cssselect'],
+    python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*',
     classifiers=[
         'Development Status :: 4 - Beta',
         'Intended Audience :: Developers',
         'License :: OSI Approved :: BSD License',
         'Programming Language :: Python :: 2',
-        'Programming Language :: Python :: 2.6',
         'Programming Language :: Python :: 2.7',
         'Programming Language :: Python :: 3',
-        'Programming Language :: Python :: 3.3',
         'Programming Language :: Python :: 3.4',
         'Programming Language :: Python :: 3.5',
         'Programming Language :: Python :: 3.6',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cssselect-1.0.1/tox.ini new/cssselect-1.0.3/tox.ini
--- old/cssselect-1.0.1/tox.ini 2017-01-10 16:18:01.000000000 +0100
+++ new/cssselect-1.0.3/tox.ini 2017-12-27 17:06:57.000000000 +0100
@@ -1,5 +1,5 @@
 [tox]
-envlist = py25,py26,py27,py32,py33
+envlist = py27, py34, py35, py36
 
 [testenv]
 deps=
@@ -9,7 +9,3 @@
 
 commands =
     py.test --cov-report term --cov=cssselect
-
-[testenv:py25]
-setenv =
-    PIP_INSECURE = 1


Reply via email to