Accepting request 208062 from devel:languages:python

update (forwarded request 208061 from posophe)

OBS-URL: https://build.opensuse.org/request/show/208062
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cssselect?expand=0&rev=7
This commit is contained in:
Stephan Kulow 2013-11-24 11:27:30 +00:00 committed by Git OBS Bridge
commit ea2781c072
4 changed files with 27 additions and 6 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:792478c4405b90e28781e694d8b8bae00a234b557b9fac3c93082b938d313bbe
size 31789

3
cssselect-0.9.1.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0535a7e27014874b27ae3a4d33e8749e345bdfa62766195208b7996bf1100682
size 32952

View File

@ -1,3 +1,24 @@
-------------------------------------------------------------------
Sat Nov 23 18:09:44 UTC 2013 - p.drouand@gmail.com
- Update to version 0.9.1
+ **Backward incompatible change from 0.9**:
:meth:`~GenericTranslator.selector_to_xpath` defaults to ignoring
pseudo-elements, as it did in 0.8 and previous versions.
(:meth:`~GenericTranslator.css_to_xpath` doesnt change.)
+ Drop official support for Python 2.4 and 3.1,
as testing was becoming difficult. Nothing will break overnight,
but future releases may on may not work on these versions.
Older releases will remain available on PyPI.
- Changes from 0.9
+ Add parser support for :attr:`functional pseudo-elements
<Selector.pseudo_element>`.
+ This version accidentally introduced a backward incompatible change:
:meth:`~GenericTranslator.selector_to_xpath` defaults to rejecting
pseudo-elements instead of ignoring them.
- Remove useless CFLAGS definition
- Add README.rst, CHANGES and AUTHORS in package documentation
-------------------------------------------------------------------
Tue Jul 9 17:09:42 UTC 2013 - arun@gmx.de

View File

@ -17,7 +17,7 @@
Name: python-cssselect
Version: 0.8
Version: 0.9.1
Release: 0
Summary: CSS3 selectors for Python
License: BSD-3-Clause
@ -45,7 +45,7 @@ extracted as a stand-alone project.
sed -i '/#!\/usr\/bin\/env python/d' cssselect/tests.py
%build
CFLAGS="%{optflags}" python setup.py build
python setup.py build
%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
@ -53,6 +53,6 @@ python setup.py install --prefix=%{_prefix} --root=%{buildroot}
%files
%defattr(-,root,root,-)
%{python_sitelib}/*
%doc LICENSE
%doc README.rst LICENSE CHANGES AUTHORS
%changelog