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 <pere@debian.org>
This commit is contained in:
parent
c91ea406ae
commit
2ca5670229
|
@ -1,3 +1,9 @@
|
||||||
|
python-requests-toolbelt (0.10.1-ok2) yangtze; urgency=medium
|
||||||
|
|
||||||
|
* Apply patch.
|
||||||
|
|
||||||
|
-- sufang <sufang@kylinos.cn> Tue, 07 Feb 2023 14:31:51 +0800
|
||||||
|
|
||||||
python-requests-toolbelt (0.10.1-ok1) yangtze; urgency=medium
|
python-requests-toolbelt (0.10.1-ok1) yangtze; urgency=medium
|
||||||
|
|
||||||
* Build for openkylin.
|
* Build for openkylin.
|
||||||
|
|
22
debian/patches/0001-Description-Do-not-require-Internet-access-during-bu.patch
vendored
Normal file
22
debian/patches/0001-Description-Do-not-require-Internet-access-during-bu.patch
vendored
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
From: su-fang <sufang@kylinos.cn>
|
||||||
|
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 <pere@debian.org>
|
||||||
|
|
||||||
|
---
|
||||||
|
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}
|
|
@ -0,0 +1 @@
|
||||||
|
0001-Description-Do-not-require-Internet-access-during-bu.patch
|
Loading…
Reference in New Issue