Hello community,
here is the log from the commit of package python3-pyquery for openSUSE:Factory checked in at 2016-04-30 23:31:45
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python3-pyquery (Old)
and /work/SRC/openSUSE:Factory/.python3-pyquery.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python3-pyquery"
Changes:
--------
--- /work/SRC/openSUSE:Factory/python3-pyquery/python3-pyquery.changes 2016-02-08 09:47:29.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.python3-pyquery.new/python3-pyquery.changes 2016-04-30 23:31:57.000000000 +0200
@@ -1,0 +2,11 @@
+Sat Apr 23 16:23:21 UTC 2016 - arun@gmx.de
+
+- update to version 1.2.13:
+ * Note explicit support for Python 3.5
+
+- changes from version 1.2.12:
+ * make_links_absolute now take care of whitespaces
+ * added pseudo selector :has()
+ * add cookies arguments as allowed arguments for requests
+
+-------------------------------------------------------------------
Old:
----
pyquery-1.2.11.tar.gz
New:
----
pyquery-1.2.13.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python3-pyquery.spec ++++++
--- /var/tmp/diff_new_pack.H22osg/_old 2016-04-30 23:31:57.000000000 +0200
+++ /var/tmp/diff_new_pack.H22osg/_new 2016-04-30 23:31:57.000000000 +0200
@@ -17,7 +17,7 @@
Name: python3-pyquery
-Version: 1.2.11
+Version: 1.2.13
Release: 0
Summary: A jQuery-like library for python
License: BSD-3-Clause
++++++ pyquery-1.2.11.tar.gz -> pyquery-1.2.13.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyquery-1.2.11/CHANGES.rst new/pyquery-1.2.13/CHANGES.rst
--- old/pyquery-1.2.11/CHANGES.rst 2016-02-02 12:41:44.000000000 +0100
+++ new/pyquery-1.2.13/CHANGES.rst 2016-04-12 18:02:16.000000000 +0200
@@ -1,3 +1,18 @@
+1.2.13 (2016-04-12)
+-------------------
+
+- Note explicit support for Python 3.5
+
+1.2.12 (2016-04-12)
+-------------------
+
+- make_links_absolute now take care of whitespaces
+
+- added pseudo selector :has()
+
+- add cookies arguments as allowed arguments for requests
+
+
1.2.11 (2016-02-02)
-------------------
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyquery-1.2.11/PKG-INFO new/pyquery-1.2.13/PKG-INFO
--- old/pyquery-1.2.11/PKG-INFO 2016-02-02 12:41:58.000000000 +0100
+++ new/pyquery-1.2.13/PKG-INFO 2016-04-12 18:02:17.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: pyquery
-Version: 1.2.11
+Version: 1.2.13
Summary: A jquery-like library for python
Home-page: https://github.com/gawel/pyquery
Author: Gael Pasgrimaud
@@ -73,6 +73,21 @@
News
====
+ 1.2.13 (2016-04-12)
+ -------------------
+
+ - Note explicit support for Python 3.5
+
+ 1.2.12 (2016-04-12)
+ -------------------
+
+ - make_links_absolute now take care of whitespaces
+
+ - added pseudo selector :has()
+
+ - add cookies arguments as allowed arguments for requests
+
+
1.2.11 (2016-02-02)
-------------------
@@ -253,3 +268,4 @@
Classifier: Programming Language :: Python :: 3
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/pyquery-1.2.11/docs/pseudo_classes.rst new/pyquery-1.2.13/docs/pseudo_classes.rst
--- old/pyquery-1.2.11/docs/pseudo_classes.rst 2016-02-02 12:41:44.000000000 +0100
+++ new/pyquery-1.2.13/docs/pseudo_classes.rst 2016-04-12 18:02:16.000000000 +0200
@@ -160,6 +160,25 @@
+:has()
+==================
+Matches elements which contain at least one element that matches the
+specified selector. https://api.jquery.com/has-selector/
+
+ >>> from pyquery import PyQuery
+ >>> d = PyQuery('<div class="foo"><div class="bar"></div></div>')
+ >>> d('.foo:has(".baz")')
+ []
+ >>> d('.foo:has(".foo")')
+ []
+ >>> d('.foo:has(".bar")')
+ [
]
+ >>> d('.foo:has(div)')
+ []
+
+
+
+
:header
==================
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyquery-1.2.11/pyquery/cssselectpatch.py new/pyquery-1.2.13/pyquery/cssselectpatch.py
--- old/pyquery-1.2.11/pyquery/cssselectpatch.py 2016-02-02 12:41:44.000000000 +0100
+++ new/pyquery-1.2.13/pyquery/cssselectpatch.py 2016-04-12 18:02:16.000000000 +0200
@@ -419,3 +419,30 @@
value = self.xpath_literal(function.arguments[0].value)
xpath.add_post_condition('contains(., %s)' % value)
return xpath
+
+ def xpath_has_function(self, xpath, function):
+ """Matches elements which contain at least one element that matches
+ the specified selector. https://api.jquery.com/has-selector/
+
+ >>> from pyquery import PyQuery
+ >>> d = PyQuery('<div class="foo"><div class="bar"></div></div>')
+ >>> d('.foo:has(".baz")')
+ []
+ >>> d('.foo:has(".foo")')
+ []
+ >>> d('.foo:has(".bar")')
+ []
+ >>> d('.foo:has(div)')
+ []
+
+ ..
+ """
+ if function.argument_types() not in (['STRING'], ['IDENT']):
+ raise ExpressionError(
+ "Expected a single string or ident for :contains(), got %r" % (
+ function.arguments,))
+ value = self.css_to_xpath(
+ function.arguments[0].value, prefix='descendant::',
+ )
+ xpath.add_post_condition(value)
+ return xpath
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyquery-1.2.11/pyquery/openers.py new/pyquery-1.2.13/pyquery/openers.py
--- old/pyquery-1.2.11/pyquery/openers.py 2016-02-02 12:41:44.000000000 +0100
+++ new/pyquery-1.2.13/pyquery/openers.py 2016-04-12 18:02:16.000000000 +0200
@@ -21,7 +21,7 @@
allowed_args = (
- 'auth', 'data', 'headers', 'verify', 'cert', 'config', 'hooks', 'proxies')
+ 'auth', 'data', 'headers', 'verify', 'cert', 'config', 'hooks', 'proxies', 'cookies')
def _query(url, method, kwargs):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyquery-1.2.11/pyquery/pyquery.py new/pyquery-1.2.13/pyquery/pyquery.py
--- old/pyquery-1.2.11/pyquery/pyquery.py 2016-02-02 12:41:44.000000000 +0100
+++ new/pyquery-1.2.13/pyquery/pyquery.py 2016-04-12 18:02:16.000000000 +0200
@@ -1436,8 +1436,9 @@
# when label hasn't such attr, pass
if attr_value is None:
return None
+
return self(e).attr(attr,
- urljoin(base_url, attr_value))
+ urljoin(base_url, attr_value.strip()))
return rep
self('a').each(repl('href'))
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyquery-1.2.11/pyquery.egg-info/PKG-INFO new/pyquery-1.2.13/pyquery.egg-info/PKG-INFO
--- old/pyquery-1.2.11/pyquery.egg-info/PKG-INFO 2016-02-02 12:41:45.000000000 +0100
+++ new/pyquery-1.2.13/pyquery.egg-info/PKG-INFO 2016-04-12 18:02:17.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: pyquery
-Version: 1.2.11
+Version: 1.2.13
Summary: A jquery-like library for python
Home-page: https://github.com/gawel/pyquery
Author: Gael Pasgrimaud
@@ -73,6 +73,21 @@
News
====
+ 1.2.13 (2016-04-12)
+ -------------------
+
+ - Note explicit support for Python 3.5
+
+ 1.2.12 (2016-04-12)
+ -------------------
+
+ - make_links_absolute now take care of whitespaces
+
+ - added pseudo selector :has()
+
+ - add cookies arguments as allowed arguments for requests
+
+
1.2.11 (2016-02-02)
-------------------
@@ -253,3 +268,4 @@
Classifier: Programming Language :: Python :: 3
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/pyquery-1.2.11/setup.py new/pyquery-1.2.13/setup.py
--- old/pyquery-1.2.11/setup.py 2016-02-02 12:41:44.000000000 +0100
+++ new/pyquery-1.2.13/setup.py 2016-04-12 18:02:16.000000000 +0200
@@ -40,7 +40,7 @@
""" % read('README', 'CHANGES')
-version = '1.2.11'
+version = '1.2.13'
setup(name='pyquery',
version=version,
@@ -55,6 +55,7 @@
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
+ "Programming Language :: Python :: 3.5",
],
keywords='jquery html xml scraping',
author='Olivier Lauzanne',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyquery-1.2.11/tox.ini new/pyquery-1.2.13/tox.ini
--- old/pyquery-1.2.11/tox.ini 2016-02-02 12:41:44.000000000 +0100
+++ new/pyquery-1.2.13/tox.ini 2016-04-12 18:02:16.000000000 +0200
@@ -1,5 +1,5 @@
[tox]
-envlist=py26,py27,py33,py34
+envlist=py26,py27,py33,py34,py35
[testenv]
whitelist_externals=