[Python-modules-commits] [pytest] 02/03: Build with python3-sphinx

Sebastian Ramacher sramacher at moszumanska.debian.org
Thu Aug 10 18:08:11 UTC 2017


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

sramacher pushed a commit to branch master
in repository pytest.

commit 27805288cc3489084e2cb960d0bca41074abc074
Author: Sebastian Ramacher <sramacher at debian.org>
Date:   Thu Aug 10 20:05:54 2017 +0200

    Build with python3-sphinx
---
 debian/control | 4 ++--
 debian/rules   | 4 +++-
 2 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/debian/control b/debian/control
index 1f8d43c..992c8ce 100644
--- a/debian/control
+++ b/debian/control
@@ -22,14 +22,14 @@ Build-Depends:
  python-py (>= 1.4.29),
  python-setuptools,
  python-setuptools-scm,
- python-sphinx (>= 1.0.7+dfsg),
  python3-all (>= 3.1.2-6~),
  python3-hypothesis <!nocheck>,
  python3-mock (>= 1.0.1) <!nocheck>,
  python3-nose <!nocheck>,
  python3-py (>= 1.4.29),
  python3-setuptools,
- python3-setuptools-scm
+ python3-setuptools-scm,
+ python3-sphinx (>= 1.0.7+dfsg)
 Build-Conflicts:
  python-twisted-core,
  python3-twisted
diff --git a/debian/rules b/debian/rules
index 70d7c5f..34ba643 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,7 +8,9 @@ export PYBUILD_NAME=pytest
 
 override_dh_auto_build:
 	dh_auto_build
-	PYTHONPATH=$(CURDIR) $(MAKE) -C doc/en man html
+	PYTHONPATH=$(CURDIR) \
+		SPHINXBUILD=/usr/share/sphinx/scripts/python3/sphinx-build \
+		$(MAKE) -C doc/en man html
 	sed 's/PYTEST/PYTEST-3/g' doc/en/_build/man/pytest.1 > debian/pytest-3.1
 	sed 's/PYTEST/PYTEST-PYPY/g' doc/en/_build/man/pytest.1 > debian/pytest-pypy.1
 

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



More information about the Python-modules-commits mailing list