diff options
Diffstat (limited to 'debian/patches')
-rw-r--r-- | debian/patches/add-AUTHORS.patch | 27 | ||||
-rw-r--r-- | debian/patches/intersphinx_mapping.patch | 22 | ||||
-rw-r--r-- | debian/patches/series | 2 |
3 files changed, 51 insertions, 0 deletions
diff --git a/debian/patches/add-AUTHORS.patch b/debian/patches/add-AUTHORS.patch new file mode 100644 index 0000000..fce188b --- /dev/null +++ b/debian/patches/add-AUTHORS.patch @@ -0,0 +1,27 @@ +From: "P. J. McDermott" <pj@pehjota.net> +Origin: upstream, https://github.com/Kozea/WeasyPrint/blob/master/AUTHORS +Subject: Add missing "AUTHORS" file + +--- a/AUTHORS ++++ b/AUTHORS +@@ -0,0 +1,20 @@ ++Authors ++------- ++ ++Development Lead: ++ ++- Simon Sapin ++ ++Contributors: ++ ++- Andres Riofrio ++- Aymeric Bois ++- Chung Wu ++- Guillaume Ayoub ++- Johan Dahlin ++- mbarkhau ++- Peter Moulder ++- Pierre-Alain Mignot ++- Priit Laes ++- Salem Harrache ++- Sergey Pikhovkin diff --git a/debian/patches/intersphinx_mapping.patch b/debian/patches/intersphinx_mapping.patch new file mode 100644 index 0000000..6b8fa17 --- /dev/null +++ b/debian/patches/intersphinx_mapping.patch @@ -0,0 +1,22 @@ +Author: "P. J. McDermott" <pj@pehjota.net> +Forwarded: not-needed +Subject: Use non-None object inventory values in intersphinx_mapping + +--- a/docs/conf.py ++++ b/docs/conf.py +@@ -251,7 +251,12 @@ + + # Example configuration for intersphinx: refer to the Python standard library. + intersphinx_mapping = { +- 'python': ('http://docs.python.org/', None), +- 'pycairo': ('http://www.cairographics.org/documentation/pycairo/2/', None), +- 'cairocffi': ('http://pythonhosted.org/cairocffi/', None), ++ 'python': ('http://docs.python.org/', ++ '/usr/share/doc/python' + ++ '.'.join([str(x) for x in sys.version_info[0:2]]) + ++ '/html/objects.inv'), ++ 'pycairo': ('http://www.cairographics.org/documentation/pycairo/2/', ++ '/usr/share/doc/python-cairo-dev/html/objects.inv'), ++ 'cairocffi': ('http://pythonhosted.org/cairocffi/', ++ '/usr/share/doc/python-cairocffi-doc/html/objects.inv'), + } diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..a85a61e --- /dev/null +++ b/debian/patches/series @@ -0,0 +1,2 @@ +add-AUTHORS.patch +intersphinx_mapping.patch |