public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in dev-python/flask-restless/files: docbuild.patch
@ 2013-06-10  9:33 Ian Delaney (idella4)
  0 siblings, 0 replies; 2+ messages in thread
From: Ian Delaney (idella4) @ 2013-06-10  9:33 UTC (permalink / raw
  To: gentoo-commits

idella4     13/06/10 09:33:29

  Added:                docbuild.patch
  Log:
  revbump; migrate -> distutils-r1, IUSE doc examples test added and corresponding phases deps updated, remove -0.11.0
  
  (Portage version: 2.1.11.63/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)

Revision  Changes    Path
1.1                  dev-python/flask-restless/files/docbuild.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/flask-restless/files/docbuild.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/flask-restless/files/docbuild.patch?rev=1.1&content-type=text/plain

Index: docbuild.patch
===================================================================
diff -ur flask-restless-0.11.0.orig/docs/conf.py flask-restless-0.11.0/docs/conf.py
--- docs/conf.py	2013-05-19 01:50:21.000000000 +0800
+++ docs/conf.py	2013-06-10 15:44:36.332477943 +0800
@@ -254,14 +254,6 @@
 ]
 
 
-# Example configuration for intersphinx: refer to the Python standard library.
-intersphinx_mapping = {'python': ('http://docs.python.org/', None),
-                       'flask': ('http://flask.pocoo.org/docs', None),
-                       'sqlalchemy': ('http://sqlalchemy.org/docs', None),
-                       'flasksqlalchemy':
-                           ('http://packages.python.org/Flask-SQLAlchemy',
-                            None)}
-
 # fall back if theme is not there
 try:
     __import__('flask_theme_support')





^ permalink raw reply	[flat|nested] 2+ messages in thread

* [gentoo-commits] gentoo-x86 commit in dev-python/flask-restless/files: docbuild.patch
@ 2013-06-10 16:52 Ian Delaney (idella4)
  0 siblings, 0 replies; 2+ messages in thread
From: Ian Delaney (idella4) @ 2013-06-10 16:52 UTC (permalink / raw
  To: gentoo-commits

idella4     13/06/10 16:52:27

  Modified:             docbuild.patch
  Log:
  Updated to accommodate adding dep flask-themes for doc build
  
  (Portage version: 2.1.11.63/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)

Revision  Changes    Path
1.2                  dev-python/flask-restless/files/docbuild.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/flask-restless/files/docbuild.patch?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/flask-restless/files/docbuild.patch?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/flask-restless/files/docbuild.patch?r1=1.1&r2=1.2

Index: docbuild.patch
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-python/flask-restless/files/docbuild.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- docbuild.patch	10 Jun 2013 09:33:29 -0000	1.1
+++ docbuild.patch	10 Jun 2013 16:52:27 -0000	1.2
@@ -1,10 +1,36 @@
+A number of these settings are simply unworkable in gentoo
 diff -ur flask-restless-0.11.0.orig/docs/conf.py flask-restless-0.11.0/docs/conf.py
 --- docs/conf.py	2013-05-19 01:50:21.000000000 +0800
-+++ docs/conf.py	2013-06-10 15:44:36.332477943 +0800
-@@ -254,14 +254,6 @@
- ]
++++ docs/conf.py	2013-06-10 23:39:05.741199580 +0800
+@@ -99,7 +99,6 @@
+
+ # The name of the Pygments (syntax highlighting) style to use.
+ #pygments_style = 'sphinx'
+-pygments_style = 'flask_theme_support.FlaskyStyle'
+
+ # A list of ignored prefixes for module index sorting.
+ #modindex_common_prefix = []
+@@ -110,14 +110,11 @@
+ # The theme to use for HTML and HTML Help pages.  See the documentation for
+ # a list of builtin themes.
+ #html_theme = 'default'
+-html_theme = 'flask'
++#html_theme = 'flask'
+ 
+ # Theme options are theme-specific and customize the look and feel of a theme
+ # further.  For a list of options available for each theme, see the
+ # documentation.
+-html_theme_options = {
+-    'index_logo':       'flask-restless.png'
+-}
  
+ # Add any paths that contain custom themes here, relative to this directory.
+ html_theme_path = ['_themes']
+@@ -253,25 +250,12 @@
+      [u'Jeffrey Finkelstein'], 1)
+ ]
  
+-
 -# Example configuration for intersphinx: refer to the Python standard library.
 -intersphinx_mapping = {'python': ('http://docs.python.org/', None),
 -                       'flask': ('http://flask.pocoo.org/docs', None),
@@ -15,4 +41,17 @@
 -
  # fall back if theme is not there
  try:
-     __import__('flask_theme_support')
+-    __import__('flask_theme_support')
++    from flaskext import themes
++    themes.html_theme = 'flask'
+ except ImportError, e:
+-    print '-' * 74
+-    print 'Warning: Flask themes unavailable.  Building with default theme'
+-    print 'If you want the Flask themes, run this command and build again:'
+-    print
+-    print '  git submodule update --init'
+-    print '-' * 74
++    print 'flask theme unavailable'
+ 
+     pygments_style = 'tango'
+     html_theme = 'default'





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-06-10 16:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-10  9:33 [gentoo-commits] gentoo-x86 commit in dev-python/flask-restless/files: docbuild.patch Ian Delaney (idella4)
  -- strict thread matches above, loose matches on Subject: below --
2013-06-10 16:52 Ian Delaney (idella4)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox