idella4     14/05/21 05:45:44

  Added:                waitress-0.8.9-doc.patch
  Log:
  add IUSE doc, doc build
  
  (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 
0xB8072B0D)

Revision  Changes    Path
1.1                  dev-python/waitress/files/waitress-0.8.9-doc.patch

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

Index: waitress-0.8.9-doc.patch
===================================================================
diff -ur waitress-0.8.9.orig/docs/conf.py waitress-0.8.9/docs/conf.py
--- docs/conf.py        2014-05-17 05:39:35.000000000 +0800
+++ docs/conf.py        2014-05-21 13:28:12.921485962 +0800
@@ -21,24 +21,7 @@
 import pkg_resources
 
 # Add and use Pylons theme
-if 'sphinx-build' in ' '.join(sys.argv): # protect against dumb importers
-    from subprocess import call, Popen, PIPE
-
-    p = Popen('which git', shell=True, stdout=PIPE)
-    git = p.stdout.read().strip()
-    cwd = os.getcwd()
-    _themes = os.path.join(cwd, '_themes')
-
-    if not os.path.isdir(_themes):
-        call([git, 'clone', 'git://github.com/Pylons/pylons_sphinx_theme.git',
-                '_themes'])
-    else:
-        os.chdir(_themes)
-        call([git, 'checkout', 'master'])
-        call([git, 'pull'])
-        os.chdir(cwd)
-
-    sys.path.append(os.path.abspath('_themes'))
+sys.path.append(os.path.abspath('_themes'))
 
 # General configuration
 # ---------------------




Reply via email to