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/debian/patches/0001-Description-Do-not-require-Internet-access-during-bu.patch b/debian/patches/0001-Description-Do-not-require-Internet-access-during-bu.patch new file mode 100644 index 0000000..8fd885f --- /dev/null +++ b/debian/patches/0001-Description-Do-not-require-Internet-access-during-bu.patch @@ -0,0 +1,22 @@ +From: su-fang +Date: Tue, 7 Feb 2023 14:33:01 +0800 +Subject: 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 + +--- + docs/conf.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +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} diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..4bed771 --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +0001-Description-Do-not-require-Internet-access-during-bu.patch