From 9fbf757eb32dea0db74d519c96babbb4cec1004a1c654fc692c23f81bbf4f321 Mon Sep 17 00:00:00 2001 From: Hans-Peter Jansen Date: Tue, 6 Aug 2013 13:59:27 +0000 Subject: [PATCH] Accepting request 186105 from home:frispete:python - remove pylons_theme_support.py module, as it is provided by python-pylons_sphinx_theme now OBS-URL: https://build.opensuse.org/request/show/186105 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyramid?expand=0&rev=11 --- pylons_theme_support.py | 75 ----------------------------------------- python-pyramid.changes | 6 ++++ python-pyramid.spec | 3 -- 3 files changed, 6 insertions(+), 78 deletions(-) delete mode 100644 pylons_theme_support.py diff --git a/pylons_theme_support.py b/pylons_theme_support.py deleted file mode 100644 index 600a8f3..0000000 --- a/pylons_theme_support.py +++ /dev/null @@ -1,75 +0,0 @@ -# -*- coding: utf-8 -*- -from pygments.style import Style -from pygments.token import Keyword, Name, Comment, String, Error, \ - Number, Operator, Generic, Whitespace, Punctuation, Other, Literal - - -class PylonsStyle(Style): - """ - Pylons pygments style based on friendly style - """ - - # work in progress... - - background_color = "#f8f8f8" - default_style = "" - - styles = { - Whitespace: "#bbbbbb", - Comment: "italic #60a0b0", - Comment.Preproc: "noitalic #007020", - Comment.Special: "noitalic bg:#fff0f0", - - Keyword: "bold #007020", - Keyword.Pseudo: "nobold", - Keyword.Type: "nobold #902000", - - Operator: "#666666", - Operator.Word: "bold #007020", - - Name.Builtin: "#007020", - Name.Function: "#06287e", - Name.Class: "bold #0e84b5", - Name.Namespace: "bold #0e84b5", - Name.Exception: "#007020", - Name.Variable: "#bb60d5", - Name.Constant: "#60add5", - Name.Label: "bold #002070", - Name.Entity: "bold #d55537", - Name.Attribute: "#0e84b5", - Name.Tag: "bold #062873", - Name.Decorator: "bold #555555", - - String: "#4070a0", - String.Doc: "italic", - String.Interpol: "italic #70a0d0", - String.Escape: "bold #4070a0", - String.Regex: "#235388", - String.Symbol: "#517918", - String.Other: "#c65d09", - Number: "#40a070", - - Generic.Heading: "bold #000080", - Generic.Subheading: "bold #800080", - Generic.Deleted: "#A00000", - Generic.Inserted: "#00A000", - Generic.Error: "#FF0000", - Generic.Emph: "italic", - Generic.Strong: "bold", - Generic.Prompt: "bold #c65d09", - Generic.Output: "#888", - Generic.Traceback: "#04D", - - Error: "#a40000 bg:#fbe3e4" - } - - -class PylonsBWStyle(Style): - - background_color = "#ffffff" - default_style = "bw" - - styles = { - Error: "" - } - diff --git a/python-pyramid.changes b/python-pyramid.changes index 2a12981..2d2bfe8 100644 --- a/python-pyramid.changes +++ b/python-pyramid.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Aug 5 19:48:46 UTC 2013 - hpj@urpla.net + +- remove pylons_theme_support.py module, as it is provided by + python-pylons_sphinx_theme now + ------------------------------------------------------------------- Wed Jul 31 13:46:28 UTC 2013 - hpj@urpla.net diff --git a/python-pyramid.spec b/python-pyramid.spec index 7dbc7c1..2e769dc 100644 --- a/python-pyramid.spec +++ b/python-pyramid.spec @@ -25,7 +25,6 @@ Summary: The Pyramid web application development framework, a Pylons proj License: BSD-4-Clause and ZPL-2.1 and MIT Group: Development/Languages/Python Source: http://pypi.python.org/packages/source/p/pyramid/pyramid-%{version}.tar.gz -Source1: pylons_theme_support.py Requires: python-Chameleon >= 1.2.3 Requires: python-Mako >= 0.3.6 Requires: python-PasteDeploy >= 1.5.0 @@ -86,7 +85,6 @@ This package contains documentation files for %{name}. %prep %setup -q -n pyramid-%{version} -cp %{SOURCE1} . %build python setup.py build @@ -98,7 +96,6 @@ rm -rf %{buildroot}%{python_sitelib}/pyramid/tests # Big, hidden files, fdupes - %fdupes %{buildroot}%{python_sitelib} %check -#python setup.py test python setup.py nosetests --with-coverage %files