[python-fabio] 06/10: use xvfb

Frédéric-Emmanuel Picca picca at moszumanska.debian.org
Mon Sep 11 12:38:46 UTC 2017


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

picca pushed a commit to branch master
in repository python-fabio.

commit 114542393c86b8bfcff742475beb19bf2e6a2e36
Author: Picca Frédéric-Emmanuel <picca at synchrotron-soleil.fr>
Date:   Wed Sep 6 14:33:20 2017 +0200

    use xvfb
---
 debian/changelog | 4 +++-
 debian/control   | 8 +++++---
 debian/rules     | 4 ++--
 3 files changed, 10 insertions(+), 6 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index db233c7..dde476b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -8,11 +8,13 @@ python-fabio (0.5.0+dfsg-1) UNRELEASED; urgency=medium
     - cme fixed
     - wrap-and-sort
     - Build-Depends
-      + Added help2man, python-pil[-dbg]
+      + Added help2man, python-pil[-dbg], xauth, xvfb
       - Removed python-imaging[-dbg]
   * d/copyright
     - updated the Files-excludes for 0.5.0
     - Setting up and using cme upgrade dpkg-copyright
+  * d/rules
+    - Used xvfb to generate the manpages
 
  -- Picca Frédéric-Emmanuel <picca at debian.org>  Sat, 02 Sep 2017 16:12:29 +0200
 
diff --git a/debian/control b/debian/control
index ba7fc17..20bfa15 100644
--- a/debian/control
+++ b/debian/control
@@ -13,12 +13,12 @@ Build-Depends: cython,
                help2man,
                python-all-dbg,
                python-all-dev,
-               python-pil,
-               python-pil-dbg,
                python-lxml,
                python-lxml-dbg,
                python-numpy,
                python-numpy-dbg,
+               python-pil,
+               python-pil-dbg,
                python-setuptools,
                python-six,
                python-sphinx,
@@ -34,7 +34,9 @@ Build-Depends: cython,
                python3-setuptools,
                python3-six,
                python3-sphinx,
-               python3-sphinxcontrib.programoutput
+               python3-sphinxcontrib.programoutput,
+               xauth,
+               xvfb
 Standards-Version: 4.1.0
 Vcs-Browser: https://anonscm.debian.org/cgit/debian-science/packages/python-fabio.git
 Vcs-Git: https://anonscm.debian.org/git/debian-science/packages/python-fabio.git
diff --git a/debian/rules b/debian/rules
index 41bb9c0..ec02fdf 100755
--- a/debian/rules
+++ b/debian/rules
@@ -17,11 +17,11 @@ override_dh_clean:
 override_dh_auto_build:
 	dh_auto_build
 	PYBUILD_SYSTEM=custom \
-	PYBUILD_BUILD_ARGS="PYTHONPATH={build_dir} {interpreter} setup.py build_man" dh_auto_build
+	PYBUILD_BUILD_ARGS="PYTHONPATH={build_dir} xvfb-run -a --server-args=\"-screen 0 1024x768x24\" {interpreter} setup.py build_man" dh_auto_build
 
 override_dh_auto_test:
 	PYBUILD_SYSTEM=custom \
-	PYBUILD_TEST_ARGS="PYTHONPATH={build_dir} http_proxy='127.0.0.1:9' FABIO_TESTIMAGES=testimages {interpreter} ./run_tests.py" dh_auto_test
+	PYBUILD_TEST_ARGS="PYTHONPATH={build_dir} http_proxy='127.0.0.1:9' FABIO_TESTIMAGES=testimages xvfb-run -a --server-args=\"-screen 0 1024x768x24\" {interpreter} ./run_tests.py" dh_auto_test
 
 override_dh_install:
 	dh_install

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



More information about the debian-science-commits mailing list