Add packaging of sphinx doc.
Thomas Goirand
9 years ago
0 | 0 |
python-itsdangerous (0.24+dfsg1-1) unstable; urgency=medium
|
1 | 1 |
|
|
2 |
[ Simon Fondrie-Teitler ]
|
2 | 3 |
* New upstream release.
|
3 | 4 |
* Bump standards version.
|
|
5 |
|
|
6 |
[ Thomas Goirand ]
|
|
7 |
* Add packaging of sphinx doc.
|
4 | 8 |
|
5 | 9 |
-- Simon Fondrie-Teitler <simonft@riseup.net> Sat, 24 May 2014 16:53:52 -0400
|
6 | 10 |
|
6 | 6 |
python-all (>= 2.6.6-3),
|
7 | 7 |
python-setuptools (>= 0.6b3),
|
8 | 8 |
python3-all,
|
9 | |
python3-setuptools
|
|
9 |
python3-setuptools,
|
|
10 |
python-sphinx
|
10 | 11 |
Vcs-Browser: https://anonscm.debian.org/gitweb/?p=collab-maint/python-itsdangerous.git
|
11 | 12 |
Vcs-Git: git://anonscm.debian.org/collab-maint/python-itsdangerous.git
|
12 | 13 |
Homepage: http://pythonhosted.org/itsdangerous/
|
|
41 | 42 |
tampered with it.
|
42 | 43 |
.
|
43 | 44 |
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/*
|
12 | 12 |
PYTHON3S:=$(shell py3versions -vr)
|
13 | 13 |
|
14 | 14 |
%:
|
15 | |
dh $@ --buildsystem=python_distutils --with python2,python3
|
|
15 |
dh $@ --buildsystem=python_distutils --with python2,python3,sphinxdoc
|
16 | 16 |
|
17 | 17 |
override_dh_clean:
|
18 | 18 |
dh_clean -O--buildsystem=python_distutils
|
|
28 | 28 |
python$$pyvers setup.py install --install-layout=deb \
|
29 | 29 |
--root $(CURDIR)/debian/python3-itsdangerous; \
|
30 | 30 |
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
|
31 | 37 |
|
32 | 38 |
############################################
|
33 | 39 |
### Below is to manage upstream Git repo ###
|