Accepting request 161099 from devel:languages:python
updated to 1.2.4 and added a python3 spec file. Can't create the python3 package in dlp, so whoever pulls this would have to do it... in case there are some problems with python3, I'm happy to fix them with another pull request once they're up. (forwarded request 161084 from apersaud) OBS-URL: https://build.opensuse.org/request/show/161099 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyquery?expand=0&rev=3
This commit is contained in:
commit
b7103515a5
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:4bdc4b5add5d65055aeb05860c24f53557540db1d945413093c74b554db62a44
|
||||
size 21108
|
3
pyquery-1.2.4.tar.gz
Normal file
3
pyquery-1.2.4.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:1c39f786c42430279eadf787f1ef06873f15c9acba2698c23dfd925ac7b169d7
|
||||
size 23999
|
@ -1,3 +1,36 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 26 00:51:38 UTC 2013 - arun@gmx.de
|
||||
|
||||
- updated copyright year in spec file
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 26 00:49:40 UTC 2013 - arun@gmx.de
|
||||
|
||||
- updated to 1.2.4
|
||||
changes as listed on https://pypi.python.org/pypi/pyquery:
|
||||
|
||||
1.2.4
|
||||
Moved to github. So a few files are renamed from .txt to .rst
|
||||
Added .xhtml_to_html() and .remove_namespaces()
|
||||
Use requests to fetch urls (if available)
|
||||
Use restkit's proxy instead of Paste (which will die with py3)
|
||||
Allow to open https urls
|
||||
python2.5 is no longer supported (may work, but tests are broken)
|
||||
1.2.3
|
||||
Allow to pass this in .filter() callback
|
||||
Add .contents() .items()
|
||||
Add tox.ini
|
||||
Bug fixes: fix #35 #55 #64 #66
|
||||
1.2.2
|
||||
Fix cssselectpatch to match the newer implementation of cssselect. Fixes issue #62, #52 and #59 (Haoyu Bai)
|
||||
Fix issue #37 (Caleb Burns)
|
||||
1.2.1
|
||||
Allow to use a custom css translator.
|
||||
Fix issue 44: case problem with xml documents
|
||||
1.2
|
||||
PyQuery now use cssselect. See issue 43.
|
||||
Fix issue 40: forward .html() extra arguments to lxml.etree.tostring
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 31 10:54:06 UTC 2012 - saschpe@suse.de
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-pyquery
|
||||
#
|
||||
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -11,21 +11,22 @@
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
#
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
Name: python-pyquery
|
||||
Version: 1.1.1
|
||||
Version: 1.2.4
|
||||
Release: 0
|
||||
License: BSD-3-Clause
|
||||
Summary: A jQuery-like library for python
|
||||
Url: http://pypi.python.org/pypi/pyquery
|
||||
License: BSD-3-Clause
|
||||
Group: Development/Languages/Python
|
||||
Url: http://pypi.python.org/pypi/pyquery
|
||||
Source: http://pypi.python.org/packages/source/p/pyquery/pyquery-%{version}.tar.gz
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: python-lxml
|
||||
BuildRequires: python-distribute
|
||||
BuildRequires: python-lxml
|
||||
Requires: python-lxml
|
||||
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
|
||||
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||
@ -49,7 +50,7 @@ python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc CHANGES.txt README.txt
|
||||
%doc CHANGES.rst README.rst
|
||||
%{python_sitelib}/*
|
||||
|
||||
%changelog
|
||||
|
55
python3-pyquery.changes
Normal file
55
python3-pyquery.changes
Normal file
@ -0,0 +1,55 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 26 00:59:46 UTC 2013 - arun@gmx.de
|
||||
|
||||
- added spec file and changelog for python3
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 26 00:51:38 UTC 2013 - arun@gmx.de
|
||||
|
||||
- updated copyright year in spec file
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 26 00:49:40 UTC 2013 - arun@gmx.de
|
||||
|
||||
- updated to 1.2.4
|
||||
changes as listed on https://pypi.python.org/pypi/pyquery:
|
||||
|
||||
1.2.4
|
||||
Moved to github. So a few files are renamed from .txt to .rst
|
||||
Added .xhtml_to_html() and .remove_namespaces()
|
||||
Use requests to fetch urls (if available)
|
||||
Use restkit's proxy instead of Paste (which will die with py3)
|
||||
Allow to open https urls
|
||||
python2.5 is no longer supported (may work, but tests are broken)
|
||||
1.2.3
|
||||
Allow to pass this in .filter() callback
|
||||
Add .contents() .items()
|
||||
Add tox.ini
|
||||
Bug fixes: fix #35 #55 #64 #66
|
||||
1.2.2
|
||||
Fix cssselectpatch to match the newer implementation of cssselect. Fixes issue #62, #52 and #59 (Haoyu Bai)
|
||||
Fix issue #37 (Caleb Burns)
|
||||
1.2.1
|
||||
Allow to use a custom css translator.
|
||||
Fix issue 44: case problem with xml documents
|
||||
1.2
|
||||
PyQuery now use cssselect. See issue 43.
|
||||
Fix issue 40: forward .html() extra arguments to lxml.etree.tostring
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 31 10:54:06 UTC 2012 - saschpe@suse.de
|
||||
|
||||
- Simplified macro usage
|
||||
- Buildrequire python-distribute instead of (outdated) setuptools
|
||||
- Set license to SDPX style (BSD-3-Clause)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Oct 9 09:57:45 UTC 2011 - prusnak@opensuse.org
|
||||
|
||||
- updated to version 1.0
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Mar 05 07:02:11 CET 2011 - pascal.bleser@opensuse.org
|
||||
|
||||
- initial version (0.7)
|
||||
|
53
python3-pyquery.spec
Normal file
53
python3-pyquery.spec
Normal file
@ -0,0 +1,53 @@
|
||||
#
|
||||
# spec file for package python3-pyquery
|
||||
#
|
||||
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
Name: python3-pyquery
|
||||
Version: 1.2.4
|
||||
Release: 0
|
||||
Summary: A jQuery-like library for python
|
||||
License: BSD-3-Clause
|
||||
Group: Development/Languages/Python
|
||||
Url: http://pypi.python.org/pypi/pyquery
|
||||
Source: http://pypi.python.org/packages/source/p/pyquery/pyquery-%{version}.tar.gz
|
||||
BuildRequires: python3-2to3
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-distribute
|
||||
BuildRequires: python3-lxml
|
||||
Requires: python3-lxml
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
Pyquery allows you to make jQuery queries on XML documents. The API is
|
||||
as much as possible the similar to jQuery. Pyquery uses lxml for fast
|
||||
XML and HTML manipulation.
|
||||
|
||||
%prep
|
||||
%setup -q -n pyquery-%{version}
|
||||
|
||||
%build
|
||||
python3 setup.py build
|
||||
|
||||
%install
|
||||
python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc CHANGES.rst README.rst
|
||||
%{python3_sitelib}/*
|
||||
|
||||
%changelog
|
Loading…
x
Reference in New Issue
Block a user