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
This commit is contained in:
parent
2ba8fe0a7a
commit
1538b24bc7
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:59af39301bad397e085e5080987f94ef30672f1cf8e73d19d3307b3b63c3cb4b
|
|
||||||
size 42552
|
|
3
pyquery-1.2.9.zip
Normal file
3
pyquery-1.2.9.zip
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:46c51eb878b787e814ee8f9737b0a62111034aeb4d1c06450ac5a8ea5a70e602
|
||||||
|
size 45289
|
@ -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
|
Mon Jan 13 13:58:37 UTC 2014 - dmueller@suse.com
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-pyquery
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -17,20 +17,29 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: python-pyquery
|
Name: python-pyquery
|
||||||
Version: 1.2.8
|
Version: 1.2.9
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: A jQuery-like library for python
|
Summary: A jQuery-like library for python
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
Group: Development/Languages/Python
|
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
|
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-devel
|
||||||
BuildRequires: python-lxml
|
BuildRequires: python-lxml >= 2.1
|
||||||
|
BuildRequires: python-nose
|
||||||
|
BuildRequires: python-restkit
|
||||||
BuildRequires: python-setuptools
|
BuildRequires: python-setuptools
|
||||||
|
BuildRequires: python-unittest2
|
||||||
BuildRequires: unzip
|
BuildRequires: unzip
|
||||||
Requires: python-lxml
|
Requires: python-cssselect
|
||||||
|
Requires: python-lxml >= 2.1
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
|
%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()")}
|
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||||
%else
|
%else
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
@ -50,6 +59,9 @@ python setup.py build
|
|||||||
%install
|
%install
|
||||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||||
|
|
||||||
|
%check
|
||||||
|
nosetests -q tests
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc CHANGES.rst README.rst
|
%doc CHANGES.rst README.rst
|
||||||
|
Loading…
Reference in New Issue
Block a user