1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
|
From: Julian Taylor <jtaylor@ubuntu.com>
Date: Thu, 8 Oct 2015 09:47:15 -0700
Subject: adapt setup to find multiarched tk/tcl
Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/matplotlib/+bug/752647
Forwarded: no, only if we upstream multiarchification
Patch-Name: multiarch-tktcl.patch
---
setupext.py | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/setupext.py b/setupext.py
index d2ff239..031b5b4 100644
--- a/setupext.py
+++ b/setupext.py
@@ -1727,6 +1727,10 @@ class BackendGtk3Cairo(OptionalBackendPackage):
if 'TRAVIS' in os.environ:
raise CheckFailed("Can't build with Travis")
+ # yoh: Builds of Debian packages often lead to a dead-lock here
+ # As a workaround forcing build manually without a check
+ BackendAgg.force = True
+ return "ok"
# This check needs to be performed out-of-process, because
# importing gi and then importing regular old pygtk afterward
# segfaults the interpreter.
|