Codebase list python-itsdangerous / 35798e6
Add packaging of sphinx doc. Thomas Goirand 9 years ago
7 changed file(s) with 75 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
00 python-itsdangerous (0.24+dfsg1-1) unstable; urgency=medium
11
2 [ Simon Fondrie-Teitler ]
23 * New upstream release.
34 * Bump standards version.
5
6 [ Thomas Goirand ]
7 * Add packaging of sphinx doc.
48
59 -- Simon Fondrie-Teitler <simonft@riseup.net> Sat, 24 May 2014 16:53:52 -0400
610
66 python-all (>= 2.6.6-3),
77 python-setuptools (>= 0.6b3),
88 python3-all,
9 python3-setuptools
9 python3-setuptools,
10 python-sphinx
1011 Vcs-Browser: https://anonscm.debian.org/gitweb/?p=collab-maint/python-itsdangerous.git
1112 Vcs-Git: git://anonscm.debian.org/collab-maint/python-itsdangerous.git
1213 Homepage: http://pythonhosted.org/itsdangerous/
4142 tampered with it.
4243 .
4344 This package provides the itsdangerous Python module for Python 3.x.
45
46 Package: python-itsdangerous-doc
47 Architecture: all
48 Section: doc
49 Depends: ${misc:Depends}, ${sphinxdoc:Depends}
50 Description: Various helpers to pass trusted data to untrusted environment - doc
51 itsdangerous provides a module that is a port of the django signing
52 module. It's not directly copied but some changes were applied to
53 make it work better on its own.
54 .
55 itsdangerous allows web applications to use a key only it knows to
56 cryptographically sign data and hand it over to someone else (e.g. a
57 user). When it gets the data back it can easily ensure that nobody
58 tampered with it.
59 .
60 This package provides the documentation.
0 Description: Do not use Intersphinx plugin in sphinx doc
1 This avoids network access.
2 Author: Thomas Goirand <zigo@debian.org>
3 Forwarded: no
4 Last-Update: 2014-06-01
5
6 --- python-itsdangerous-0.24+dfsg1.orig/docs/conf.py
7 +++ python-itsdangerous-0.24+dfsg1/docs/conf.py
8 @@ -26,7 +26,7 @@ sys.path.append(os.path.abspath('..'))
9
10 # Add any Sphinx extension module names here, as strings. They can be extensions
11 # coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
12 -extensions = ['sphinx.ext.autodoc', 'sphinx.ext.intersphinx']
13 +extensions = ['sphinx.ext.autodoc']
14
15 # Add any paths that contain templates here, relative to this directory.
16 templates_path = ['_templates']
0 Description: Removes privacy breach
1 The URL of the icon "Fork me on GitHub" is a privacy breach, and is removed
2 by this patch.
3 Author: Thomas Goirand <zigo@debian.org>
4 Forwarded: no
5 Last-Update: 2014-06-01
6
7 --- python-itsdangerous-0.24+dfsg1.orig/docs/_themes/flask_small/layout.html
8 +++ python-itsdangerous-0.24+dfsg1/docs/_themes/flask_small/layout.html
9 @@ -18,7 +18,7 @@
10 {% block relbar2 %}
11 {% if theme_github_fork %}
12 <a href="http://github.com/{{ theme_github_fork }}"><img style="position: fixed; top: 0; right: 0; border: 0;"
13 - src="http://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png" alt="Fork me on GitHub" /></a>
14 + src="broken-link" alt="broken-image-becahse-of-privacy-breach" /></a>
15 {% endif %}
16 {% endblock %}
17 {% block sidebar1 %}{% endblock %}
0 no-intersphinx-plugin-in-doc.patch
1 removes-privacy-breach-url-in-theme.patch
0 Document: python-itsdangerous-doc
1 Title: Itsdangerous Documentation
2 Author: Armin Ronacher <armin.ronacher@active-4.com>
3 Abstract: Sphinx documentation for Itsdangerous
4 Section: Programming/Python
5
6 Format: HTML
7 Index: /usr/share/doc/python-itsdangerous-doc/html/index.html
8 Files: /usr/share/doc/python-itsdangerous-doc/html/*
1212 PYTHON3S:=$(shell py3versions -vr)
1313
1414 %:
15 dh $@ --buildsystem=python_distutils --with python2,python3
15 dh $@ --buildsystem=python_distutils --with python2,python3,sphinxdoc
1616
1717 override_dh_clean:
1818 dh_clean -O--buildsystem=python_distutils
2828 python$$pyvers setup.py install --install-layout=deb \
2929 --root $(CURDIR)/debian/python3-itsdangerous; \
3030 done
31
32 override_dh_sphinxdoc:
33 ifeq (,$(findstring nodocs, $(DEB_BUILD_OPTIONS)))
34 sphinx-build -b html docs $(CURDIR)/debian/python-itsdangerous-doc/usr/share/doc/python-itsdangerous-doc/html
35 dh_sphinxdoc -O--buildsystem=python_distutils
36 endif
3137
3238 ############################################
3339 ### Below is to manage upstream Git repo ###