Gentoo Archives: gentoo-commits

From: "Ian Delaney (idella4)" <idella4@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/waitress/files: waitress-0.8.9-doc.patch
Date: Wed, 21 May 2014 05:45:48
Message-Id: 20140521054544.7CAE62004E@flycatcher.gentoo.org
1 idella4 14/05/21 05:45:44
2
3 Added: waitress-0.8.9-doc.patch
4 Log:
5 add IUSE doc, doc build
6
7 (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)
8
9 Revision Changes Path
10 1.1 dev-python/waitress/files/waitress-0.8.9-doc.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/waitress/files/waitress-0.8.9-doc.patch?rev=1.1&view=markup
13 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
14
15 Index: waitress-0.8.9-doc.patch
16 ===================================================================
17 diff -ur waitress-0.8.9.orig/docs/conf.py waitress-0.8.9/docs/conf.py
18 --- docs/conf.py 2014-05-17 05:39:35.000000000 +0800
19 +++ docs/conf.py 2014-05-21 13:28:12.921485962 +0800
20 @@ -21,24 +21,7 @@
21 import pkg_resources
22
23 # Add and use Pylons theme
24 -if 'sphinx-build' in ' '.join(sys.argv): # protect against dumb importers
25 - from subprocess import call, Popen, PIPE
26 -
27 - p = Popen('which git', shell=True, stdout=PIPE)
28 - git = p.stdout.read().strip()
29 - cwd = os.getcwd()
30 - _themes = os.path.join(cwd, '_themes')
31 -
32 - if not os.path.isdir(_themes):
33 - call([git, 'clone', 'git://github.com/Pylons/pylons_sphinx_theme.git',
34 - '_themes'])
35 - else:
36 - os.chdir(_themes)
37 - call([git, 'checkout', 'master'])
38 - call([git, 'pull'])
39 - os.chdir(cwd)
40 -
41 - sys.path.append(os.path.abspath('_themes'))
42 +sys.path.append(os.path.abspath('_themes'))
43
44 # General configuration
45 # ---------------------