15
0

Accepting request 48084 from devel:languages:python

Copy from devel:languages:python/python-cssutils based on submit request 48084 from user coolo

OBS-URL: https://build.opensuse.org/request/show/48084
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cssutils?expand=0&rev=7
This commit is contained in:
OBS User autobuild
2010-09-14 11:18:32 +00:00
committed by Git OBS Bridge
parent eb04141b26
commit fc3cbd6c61
5 changed files with 18 additions and 43 deletions

View File

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

3
cssutils-0.9.7b3.tar.bz2 Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2239dfc8f8654df6c7a7c8694882018d8678c50b2324b958f3941229f580e8c9
size 343892

View File

@@ -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/<name>.
-#html_copy_source = True
+html_copy_source = False
# If true, an OpenSearch description file will be output, and all pages will
# contain a <link> tag referring to it. The value of this option must be the

View File

@@ -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

View File

@@ -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 \