File pyramid_layout-dont-call-git-on-build.patch of Package python-pyramid_layout

Index: b/docs/conf.py
===================================================================
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -97,24 +97,6 @@ pygments_style = 'sphinx'
 # -- Options for HTML output ---------------------------------------------------
 
 # Add and use Pylons theme
-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'))
-html_theme_path = ['_themes']
 html_theme = 'pyramid'
 html_theme_options = dict(github_url='https://github.com/Pylons/pyramid_layout')
 
openSUSE Build Service is sponsored by