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/django/files: django-1.5.1-objects.patch
Date: Mon, 27 May 2013 20:15:39
Message-Id: 20130527201536.6C00620081@flycatcher.gentoo.org
1 idella4 13/05/27 20:15:36
2
3 Added: django-1.5.1-objects.patch
4 Log:
5 bump, patch to rectify bugs in doc build
6
7 (Portage version: 2.1.11.63/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)
8
9 Revision Changes Path
10 1.1 dev-python/django/files/django-1.5.1-objects.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/django/files/django-1.5.1-objects.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/django/files/django-1.5.1-objects.patch?rev=1.1&content-type=text/plain
14
15 Index: django-1.5.1-objects.patch
16 ===================================================================
17 Remove un-needed objects.inv files from d'loading during doc build
18 diff -ur Django-1.5.1.orig/docs/conf.py Django-1.5.1/docs/conf.py
19 --- docs/conf.py 2013-03-29 04:10:14.000000000 +0800
20 +++ docs/conf.py 2013-05-28 01:54:49.695008477 +0800
21 @@ -91,12 +91,6 @@
22
23 # Links to Python's docs should reference the most recent version of the 2.x
24 # branch, which is located at this URL.
25 -intersphinx_mapping = {
26 - 'python': ('http://docs.python.org/2.7', None),
27 - 'sphinx': ('http://sphinx.pocoo.org/', None),
28 - 'six': ('http://packages.python.org/six/', None),
29 - 'simplejson': ('http://simplejson.readthedocs.org/en/latest/', None),
30 -}
31
32 # Python's docs don't change every week.
33 intersphinx_cache_limit = 90 # days
34 # Fix creation of html docs on python 3
35 # https://github.com/django/django/commit/a5733fcd7be7adb8b236825beff4ccda19900f9e
36 diff -ur Django-1.5.1.orig/docs/_ext/djangodocs.py Django-1.5.1/docs/_ext/djangodocs.py
37 --- docs/_ext/djangodocs.py 2013-03-29 04:07:21.000000000 +0800
38 +++ docs/_ext/djangodocs.py 2013-05-28 02:34:59.057009144 +0800
39 @@ -204,7 +204,7 @@
40 if t == "templatefilter" and l == "ref/templates/builtins"],
41 }
42 outfilename = os.path.join(self.outdir, "templatebuiltins.js")
43 - with open(outfilename, 'wb') as fp:
44 + with open(outfilename, 'w') as fp:
45 fp.write('var django_template_builtins = ')
46 json.dump(templatebuiltins, fp)
47 fp.write(';\n')