Patch attached, maybe it helps.
From 16cae1d596404b127fbb54fdf0bc77ac0b3fc613 Mon Sep 17 00:00:00 2001
From: Christoph Reiter <[email protected]>
Date: Sat, 29 Apr 2017 08:22:53 +0200
Subject: [PATCH] Drop Build-Depends and Recommends on xcffib and skip xcb
 tests (Closes: #861175)

---
 debian/changelog | 4 ++++
 debian/control   | 3 ---
 debian/rules     | 1 +
 3 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 30594f0..eeae947 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,6 +6,10 @@ cairocffi (0.7.2-2) UNRELEASED; urgency=medium
   [ Stefano Rivera ]
   * Fix XCB tests (Closes: #828929)
 
+  [ Christoph Reiter ]
+  * Drop Build-Depends and Recommends on xcffib and skip xcb tests
+    (Closes: #861175)
+
  -- Ondřej Nový <[email protected]>  Tue, 29 Mar 2016 21:24:08 +0200
 
 cairocffi (0.7.2-1) unstable; urgency=medium
diff --git a/debian/control b/debian/control
index d0136e8..84f26f7 100644
--- a/debian/control
+++ b/debian/control
@@ -10,7 +10,6 @@ Build-Depends: python-all (>= 2.6.6-3),
 		python3-all,  
 		python3-setuptools,
 		python-cffi (>= 1.1.0), python3-cffi (>= 1.1.0),
-		python-xcffib (>= 0.3.2), python3-xcffib (>= 0.3.2),
 		python-sphinx | python3-sphinx, 
 		python-pytest, python3-pytest,
 		xvfb, xauth,
@@ -28,7 +27,6 @@ Vcs-Browser: https://anonscm.debian.org/cgit/python-modules/packages/cairocffi.g
 Package: python-cairocffi
 Architecture: all
 Depends: ${misc:Depends}, ${python:Depends}, python-cffi, libcairo2, libgdk-pixbuf2.0-0
-Recommends: python-xcffib (>= 0.3.2)
 Suggests: python-cairocffi-doc
 Description: cffi-based cairo bindings for Python 
  cairocffi is a CFFI-based drop-in replacement for Pycairo,
@@ -39,7 +37,6 @@ Description: cffi-based cairo bindings for Python
 Package: python3-cairocffi
 Architecture: all
 Depends: ${misc:Depends}, ${python3:Depends}, python3-cffi, libcairo2, libgdk-pixbuf2.0-0
-Recommends: python3-xcffib (>= 0.3.2)
 Suggests: python-cairocffi-doc
 Description: cffi-based cairo bindings for Python (Python3)
  cairocffi is a CFFI-based drop-in replacement for Pycairo,
diff --git a/debian/rules b/debian/rules
index e88d169..71e0576 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,6 +5,7 @@
 export PYBUILD_NAME=cairocffi
 
 export PYBUILD_TEST_PYTEST=1
+export PYBUILD_TEST_ARGS=-k "not test_xcb.py"
 export PYBUILD_AFTER_TEST=rm -rf {build_dir}/*/__pycache__
 
 %:
-- 
2.11.0

_______________________________________________
Python-modules-team mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team

Reply via email to