From 1538b24bc7a8a2d3a49ef8c9cc750c09305871f2b5928d256d93cd482d65f9bc Mon Sep 17 00:00:00 2001
From: Denisart Benjamin
Date: Sat, 16 May 2015 12:54:00 +0000
Subject: [PATCH] Accepting request 306418 from
home:benoit_monin:branches:devel:languages:python
- update to version 1.2.9
- 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
OBS-URL: https://build.opensuse.org/request/show/306418
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyquery?expand=0&rev=20
---
pyquery-1.2.8.zip | 3 ---
pyquery-1.2.9.zip | 3 +++
python-pyquery.changes | 22 ++++++++++++++++++++++
python-pyquery.spec | 22 +++++++++++++++++-----
4 files changed, 42 insertions(+), 8 deletions(-)
delete mode 100644 pyquery-1.2.8.zip
create mode 100644 pyquery-1.2.9.zip
diff --git a/pyquery-1.2.8.zip b/pyquery-1.2.8.zip
deleted file mode 100644
index d15988b..0000000
--- a/pyquery-1.2.8.zip
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:59af39301bad397e085e5080987f94ef30672f1cf8e73d19d3307b3b63c3cb4b
-size 42552
diff --git a/pyquery-1.2.9.zip b/pyquery-1.2.9.zip
new file mode 100644
index 0000000..0624941
--- /dev/null
+++ b/pyquery-1.2.9.zip
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:46c51eb878b787e814ee8f9737b0a62111034aeb4d1c06450ac5a8ea5a70e602
+size 45289
diff --git a/python-pyquery.changes b/python-pyquery.changes
index 6c60562..d0ddc7e 100644
--- a/python-pyquery.changes
+++ b/python-pyquery.changes
@@ -1,3 +1,25 @@
+-------------------------------------------------------------------
+Mon May 11 18:28:15 UTC 2015 - benoit.monin@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
+
-------------------------------------------------------------------
Mon Jan 13 13:58:37 UTC 2014 - dmueller@suse.com
diff --git a/python-pyquery.spec b/python-pyquery.spec
index 753a5d3..0663c8d 100644
--- a/python-pyquery.spec
+++ b/python-pyquery.spec
@@ -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
@@ -17,20 +17,29 @@
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-WebOb
+BuildRequires: python-WebTest
+BuildRequires: python-beautifulsoup
+BuildRequires: python-cssselect
BuildRequires: python-devel
-BuildRequires: python-lxml
+BuildRequires: python-lxml >= 2.1
+BuildRequires: python-nose
+BuildRequires: python-restkit
BuildRequires: python-setuptools
+BuildRequires: python-unittest2
BuildRequires: unzip
-Requires: python-lxml
+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 +59,9 @@ python setup.py build
%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+%check
+nosetests -q tests
+
%files
%defattr(-,root,root,-)
%doc CHANGES.rst README.rst