From e4a3ca9ec88cb2b9d0720aeb51da270405e916b2 Mon Sep 17 00:00:00 2001 From: su-fang Date: Tue, 7 Feb 2023 14:33:01 +0800 Subject: [PATCH] Description: Do not require Internet access during building. intersphinx want to fetch some mapping data, and was set up to use the Internet to find it. Use a local file from python-doc instead to avoid violating Debian policy 4.9. Author: Petter Reinholdtsen --- debian/changelog | 6 ++++++ docs/conf.py | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 604f56b..5f1f3bc 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +python-requests-toolbelt (0.10.1-ok2) yangtze; urgency=medium + + * Apply patch. + + -- sufang Tue, 07 Feb 2023 14:31:51 +0800 + python-requests-toolbelt (0.10.1-ok1) yangtze; urgency=medium * Build for openkylin. diff --git a/docs/conf.py b/docs/conf.py index 9f45876..0844991 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -268,4 +268,4 @@ texinfo_documents = [ # Example configuration for intersphinx: refer to the Python standard library. -intersphinx_mapping = {'https://docs.python.org/': None} +intersphinx_mapping = {'/usr/share/doc/python-doc/html': None}