Hello community, here is the log from the commit of package python-pyquery for openSUSE:Factory checked in at 2015-07-21 13:27:29 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-pyquery (Old) and /work/SRC/openSUSE:Factory/.python-pyquery.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pyquery" Changes: -------- --- /work/SRC/openSUSE:Factory/python-pyquery/python-pyquery.changes 2014-01-15 16:27:11.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.python-pyquery.new/python-pyquery.changes 2015-07-21 13:29:06.000000000 +0200 @@ -1,0 +2,28 @@ +Thu Jul 2 18:11:08 UTC 2015 - benoit.mo...@gmx.fr + +- add a build conditional for the test: work around a circular + dependency between python-pyquery and python-WebTest + +------------------------------------------------------------------- +Mon May 11 18:28:15 UTC 2015 - benoit.mo...@gmx.fr + +- update to version 1.2.9: + * Support for keyword arguments in PyQuery custom functions + * Fixed #78: items must take care or the parent + * Fixed #65 PyQuery.make_links_absolute() no longer creates + 'href' attribute + * when it isn't there + * Fixed #19. is_() was broken. + * Fixed #9. .replaceWith(PyQuery element) raises error + * Remove official python3.2 support (mostly because of 3rd party + semi-deps) +- update project URL +- add new dependency python-cssselect +- set a minimum version for python-lxml +- add test dependencies python-WebOb, python-WebTest, + python-beautifulsoup, python-nose, python-restkit, + python-unittest2 +- add test dependency python-ordereddict for SLE11 +- run the tests during build + +------------------------------------------------------------------- Old: ---- pyquery-1.2.8.zip New: ---- pyquery-1.2.9.zip ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pyquery.spec ++++++ --- /var/tmp/diff_new_pack.nQJnOr/_old 2015-07-21 13:29:07.000000000 +0200 +++ /var/tmp/diff_new_pack.nQJnOr/_new 2015-07-21 13:29:07.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-pyquery # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 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 @@ -16,21 +16,36 @@ # +# NOTE: circular dependency between python-pyquery and python-WebTest +# enable testing with a build conditional (off by default): +%bcond_with test + Name: python-pyquery -Version: 1.2.8 +Version: 1.2.9 Release: 0 Summary: A jQuery-like library for python License: BSD-3-Clause Group: Development/Languages/Python -Url: http://pypi.python.org/pypi/pyquery +Url: https://github.com/gawel/pyquery Source: http://pypi.python.org/packages/source/p/pyquery/pyquery-%{version}.zip +BuildRequires: python-cssselect BuildRequires: python-devel -BuildRequires: python-lxml +BuildRequires: python-lxml >= 2.1 BuildRequires: python-setuptools BuildRequires: unzip -Requires: python-lxml +%if %{with test} +BuildRequires: python-WebOb +BuildRequires: python-WebTest +BuildRequires: python-beautifulsoup +BuildRequires: python-nose +BuildRequires: python-restkit +BuildRequires: python-unittest2 +%endif +Requires: python-cssselect +Requires: python-lxml >= 2.1 BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0%{?suse_version} && 0%{?suse_version} <= 1110 +BuildRequires: python-ordereddict %{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} %else BuildArch: noarch @@ -50,6 +65,11 @@ %install python setup.py install --prefix=%{_prefix} --root=%{buildroot} +%if %{with test} +%check +nosetests -q tests +%endif + %files %defattr(-,root,root,-) %doc CHANGES.rst README.rst