Accepting request 204328 from devel:languages:python
Update to 0.7 (forwarded request 204327 from TheBlackCat) OBS-URL: https://build.opensuse.org/request/show/204328 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Genshi?expand=0&rev=8
This commit is contained in:
commit
0cbea1618d
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:61a430cd52069ce77d28f4b4c845041e68fee757fb80b82637de9e6b579d08b2
|
||||
size 344043
|
3
Genshi-0.7.tar.gz
Normal file
3
Genshi-0.7.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:1d154402e68bc444a55bcac101f96cb4e59373100cc7a2da07fbf3e5cc5d7352
|
||||
size 491579
|
@ -1,3 +1,43 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 22 14:31:18 UTC 2013 - toddrme2178@gmail.com
|
||||
|
||||
- Update to 0.7
|
||||
* Add support for Python 3.1, 3.2 and 3.3 (via 2to3) and for PyPy. The
|
||||
majority of the coding was done in a sprint run by the Cape Town Python
|
||||
Users Group with financial assistance from the Python Software Foundation.
|
||||
* Default input and output encodings changed from UTF-8 to None (i.e. unicode
|
||||
strings).
|
||||
* Skip Mako benchmarks if Mako isn't installed (rather than failing
|
||||
completely).
|
||||
- Update to 0.6.1
|
||||
* Security fix to enhance sanitizing of CSS in style attributes. Genshi's
|
||||
`HTMLSanitizer` disallows style attributes by default (this remains
|
||||
unchanged) and warns against such attacks in its documentation, but
|
||||
the provided CSS santizing is now less lacking (see #455).
|
||||
* Fix for error in how `HTMLFormFiller` would handle `textarea` elements if
|
||||
no value was not supplied form them.
|
||||
* The `HTMLFormFiller` now correctly handles check boxes and radio buttons
|
||||
with an empty `value` attribute.
|
||||
* Template `Context` objects now have a `.copy` method.
|
||||
* Added a simple `tox.ini` file for using tox to test against multiple
|
||||
verions of Python.
|
||||
* Fix for bug in `QName` comparison (see #413).
|
||||
* Fix for bug in handling of trailing events in match template matches
|
||||
(see #399).
|
||||
* Fix i18n namespace declaration in documentation (see #400).
|
||||
* Fix for bug in caching of events in serializers by no longer caching
|
||||
`(TEXT, Markup)` events (see #429).
|
||||
* Fix handling of `None` by `Markup.escape` in `_speedups.c` (see #439).
|
||||
* Fix handling of internal state by match templates (relevant when multiple
|
||||
templates match the same part of the stream, see #370).
|
||||
* Fix handling of multiple events between or on either side of start and end
|
||||
tags in translated messages (see #404).
|
||||
* Fix test failures caused by changes in HTMLParser in Python 2.7 (see #501).
|
||||
* Fix infinite loop in interplotation lexing that was introduced by a change
|
||||
in Python 2.7's tokenizer (see #540).
|
||||
* Fix handling of processing instructions without data (see #368).
|
||||
* Updated MANIFEST.in so as not to rely on build from Subersion 1.6.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 1 14:29:31 UTC 2011 - saschpe@suse.de
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-Genshi
|
||||
#
|
||||
# Copyright (c) 2011 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
|
||||
@ -16,30 +16,27 @@
|
||||
#
|
||||
|
||||
|
||||
|
||||
Name: python-Genshi
|
||||
Version: 0.6
|
||||
Version: 0.7
|
||||
Release: 1
|
||||
Url: http://genshi.edgewall.org/
|
||||
Summary: A toolkit for generation of output for the web
|
||||
License: BSD-3-Clause
|
||||
Group: Development/Languages/Python
|
||||
Source: Genshi-%{version}.tar.bz2
|
||||
Source: http://ftp.edgewall.com/pub/genshi/Genshi-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: python-distribute
|
||||
BuildRequires: python-Babel
|
||||
BuildRequires: python-setuptools
|
||||
BuildRequires: python-xml
|
||||
Requires: python-xml
|
||||
Requires: python-Babel
|
||||
%if 0%{?suse_version}
|
||||
%py_requires
|
||||
%if 0%{?suse_version} > 1110
|
||||
BuildArch: noarch
|
||||
%endif
|
||||
%endif
|
||||
Provides: python-genshi = %{version}
|
||||
#TODO: Change back to '<' after next version update:
|
||||
Obsoletes: python-genshi <= %{version}
|
||||
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||
Obsoletes: python-genshi < %{version}
|
||||
%if 0%{?suse_version} <= 1110
|
||||
%{!?python_sitearch: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(True)")}
|
||||
%{py_requires}
|
||||
%endif
|
||||
|
||||
%description
|
||||
Genshi is a Python library that provides an integrated set of
|
||||
@ -71,13 +68,14 @@ python setup.py build
|
||||
%install
|
||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc COPYING ChangeLog README.txt
|
||||
%{python_sitearch}/genshi/
|
||||
%{python_sitearch}/Genshi-%{version}-py*.egg-info
|
||||
|
||||
%files doc
|
||||
%defattr(-,root,root,-)
|
||||
%doc doc examples
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc COPYING ChangeLog README.txt
|
||||
%{python_sitelib}/*
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user