[pybind11] 06/08: Update the packaging of the documentation

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Sat Mar 25 13:50:04 UTC 2017


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

ghisvail-guest pushed a commit to branch experimental
in repository pybind11.

commit 930f0310e7a417eaa6c5aa4e0ef09a083c409519
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date:   Fri Mar 24 22:02:28 2017 +0000

    Update the packaging of the documentation
    
    - Use the Python 3 version of Sphinx and the RTD theme
    - Add new dependency on the breathe Sphinx extension
    - Call the upstream Makefile for the documentation
    - Install from and clean the docs build directory
    
    Gbp-Dch: full
---
 debian/clean             | 4 ++--
 debian/control           | 5 +++--
 debian/pybind11-doc.docs | 2 +-
 debian/rules             | 2 +-
 4 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/debian/clean b/debian/clean
index 2ff9e00..12f5353 100644
--- a/debian/clean
+++ b/debian/clean
@@ -1,3 +1,3 @@
-build/html/*
-pybind11.egg-info/*
+docs/.build/
+pybind11.egg-info/
 tests/*.so
diff --git a/debian/control b/debian/control
index eadc406..560542d 100644
--- a/debian/control
+++ b/debian/control
@@ -10,12 +10,13 @@ Build-Depends: cmake (>= 2.8.12),
                python-all,
                python-pytest <!nocheck>,
                python-setuptools,
-               python-sphinx <!nodoc>,
-               python-sphinx-rtd-theme <!nodoc>,
                python3-all,
+               python3-breathe <!nodoc>,
                python3-dev <!nocheck>,
                python3-pytest <!nocheck>,
                python3-setuptools,
+               python3-sphinx <!nodoc>,
+               python3-sphinx-rtd-theme <!nodoc>,
                sphinx-common
 Standards-Version: 3.9.8
 Vcs-Browser: https://anonscm.debian.org/git/debian-science/packages/pybind11.git
diff --git a/debian/pybind11-doc.docs b/debian/pybind11-doc.docs
index 6d28621..2981a3c 100644
--- a/debian/pybind11-doc.docs
+++ b/debian/pybind11-doc.docs
@@ -1 +1 @@
-build/html
+docs/.build/html
diff --git a/debian/rules b/debian/rules
index 0ad6b45..a936846 100755
--- a/debian/rules
+++ b/debian/rules
@@ -25,7 +25,7 @@ override_dh_auto_build:
 	dh_auto_build
 	dh_auto_build --buildsystem=pybuild
 ifeq (,$(findstring nodoc,$(DEB_BUILD_PROFILES)))
-	PYTHONPATH=. sphinx-build -N -b html docs build/html
+	make -C docs html
 endif
 
 override_dh_auto_install:

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/pybind11.git



More information about the debian-science-commits mailing list