[Python-modules-commits] [python-simpy3] 02/06: use sphinx .inv from python3-doc package, not downloaded binary

Wolfgang Borgert debacle at moszumanska.debian.org
Sat Aug 26 01:52:51 UTC 2017


This is an automated email from the git hooks/post-receive script.

debacle pushed a commit to branch master
in repository python-simpy3.

commit 77550b8ec9a06e0cdb75d2ded7596d4fafc4741b
Author: W. Martin Borgert <debacle at debian.org>
Date:   Sat Aug 26 02:48:23 2017 +0200

    use sphinx .inv from python3-doc package, not downloaded binary
---
 debian/control                                       |   1 +
 debian/patches/use-local-intersphinx-inventory.patch |   2 +-
 debian/python.org_objects.inv                        | Bin 126852 -> 0 bytes
 debian/source/include-binaries                       |   1 -
 4 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/debian/control b/debian/control
index 0bec346..da314db 100644
--- a/debian/control
+++ b/debian/control
@@ -12,6 +12,7 @@ Build-Depends:
  python-setuptools,
  python3-setuptools,
  python-pytest,
+ python3-doc,
  python3-pytest,
  python-sphinx (>= 1.0.7+dfsg-1~)
 Standards-Version: 3.9.8
diff --git a/debian/patches/use-local-intersphinx-inventory.patch b/debian/patches/use-local-intersphinx-inventory.patch
index ffb3c15..34c3657 100644
--- a/debian/patches/use-local-intersphinx-inventory.patch
+++ b/debian/patches/use-local-intersphinx-inventory.patch
@@ -18,7 +18,7 @@ index d2331b4..d99a290 100644
  # Example configuration for intersphinx: refer to the Python standard library.
  intersphinx_mapping = {
 -    'http://docs.python.org/3/': None,
-+    'http://docs.python.org/3/': '../debian/python.org_objects.inv',
++    'http://docs.python.org/3/': '/usr/share/doc/python3-doc/html/objects.inv',
  }
  
  # Autodoc
diff --git a/debian/python.org_objects.inv b/debian/python.org_objects.inv
deleted file mode 100644
index 62b51e0..0000000
Binary files a/debian/python.org_objects.inv and /dev/null differ
diff --git a/debian/source/include-binaries b/debian/source/include-binaries
deleted file mode 100644
index 3944b2f..0000000
--- a/debian/source/include-binaries
+++ /dev/null
@@ -1 +0,0 @@
-debian/python.org_objects.inv

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-simpy3.git



More information about the Python-modules-commits mailing list