diff --git a/cssutils-0.9.7a4.tar.bz2 b/cssutils-0.9.7a4.tar.bz2 deleted file mode 100644 index 32623e8..0000000 --- a/cssutils-0.9.7a4.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f7ab2547a6cb5d14031cbada71eab8ad72b5d929eb8de68c1d29c7ae566f3ed3 -size 341717 diff --git a/cssutils-0.9.7b3.tar.bz2 b/cssutils-0.9.7b3.tar.bz2 new file mode 100644 index 0000000..a7798ea --- /dev/null +++ b/cssutils-0.9.7b3.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2239dfc8f8654df6c7a7c8694882018d8678c50b2324b958f3941229f580e8c9 +size 343892 diff --git a/python-cssutils-copy.py.patch b/python-cssutils-copy.py.patch deleted file mode 100644 index c3484fd..0000000 --- a/python-cssutils-copy.py.patch +++ /dev/null @@ -1,26 +0,0 @@ ---- - conf.py | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -Index: conf.py -=================================================================== ---- conf.py.orig -+++ conf.py -@@ -124,7 +124,7 @@ html_static_path = ['_static'] - - # If true, SmartyPants will be used to convert quotes and dashes to - # typographically correct entities. --#html_use_smartypants = True -+html_use_smartypants = False - - # Custom sidebar templates, maps document names to template names. - #html_sidebars = {} -@@ -143,7 +143,7 @@ html_static_path = ['_static'] - #html_split_index = False - - # If true, the reST sources are included in the HTML build as _sources/. --#html_copy_source = True -+html_copy_source = False - - # If true, an OpenSearch description file will be output, and all pages will - # contain a tag referring to it. The value of this option must be the diff --git a/python-cssutils.changes b/python-cssutils.changes index b92c845..4782672 100644 --- a/python-cssutils.changes +++ b/python-cssutils.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Tue Sep 14 08:08:19 UTC 2010 - coolo@novell.com + +- update to 0.9.7b3 +- several changes (see CHANGELOG.txt), just random picks: + * Massive speed improvement of handling of CSSVariables of a stylesheet + * CSSFunction value parameters may contain HASH values like ``#fff`` now + * Changed parameters of script/utility function ``csscombine``. +- sphinx conf no longer provided + ------------------------------------------------------------------- Tue May 18 14:53:05 CEST 2010 - prusnak@suse.cz diff --git a/python-cssutils.spec b/python-cssutils.spec index 0224e63..1130961 100644 --- a/python-cssutils.spec +++ b/python-cssutils.spec @@ -1,5 +1,5 @@ # -# spec file for package python-cssutils (Version 0.9.7a4) +# spec file for package python-cssutils (Version 0.9.7b3) # # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -19,12 +19,10 @@ Name: python-cssutils -Version: 0.9.7a4 +Version: 0.9.7b3 Release: 1 Summary: Cascading Style Sheets (CSS) parser and library for Python -# retreived from http://cssutils.googlecode.com/files/cssutils-0.9.7a4.zip -Source: cssutils-%{version}.tar.bz2 -Patch0: %{name}-copy.py.patch +Source: http://cssutils.googlecode.com/files/cssutils-%{version}.tar.bz2 Url: http://cthedot.de/cssutils Group: Development/Libraries/Python License: LGPLv3+ @@ -34,7 +32,7 @@ BuildArch: noarch %endif BuildRequires: dos2unix python-devel python-setuptools BuildRequires: dos2unix python-devel python-setuptools >= 0.6 unzip -BuildRequires: python-sphinx python-xml +BuildRequires: python-xml # Needed for unittests: BuildRequires: python-chardet python-minimock %py_requires @@ -54,19 +52,12 @@ HTML and TeX documentation for cssutils as well as examples of how to use them. %prep %setup -q -n cssutils-%{version} -%patch0 find . -type f -print0 | xargs -0 dos2unix +find . -type f -name \*.py -print0 | xargs -0 sed -i -e 's,/usr/bin/env python,/usr/bin/python,' %build export CFLAGS="%{optflags}" python ./setup.py build -## HINT: -## python ./setup.py build_sphinx -## Broken: -## -> AttributeError: 'NoneType' object has no attribute 'startswith' -## If necessary, build the HTML documentation directly: -export PYTHONPATH=./src/ -sphinx-build -b html . docs/html %install python ./setup.py install \