summaryrefslogtreecommitdiff
path: root/dev-python/matplotlib/files/matplotlib-3.7.2-macOS_no-Cocoa.patch
blob: 3f29134be621e3c0afd8687868cdb42c56f45cc4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Do not automatically build against Cocoa on macOS.

At Prefix/macOS, we do not support the propietary Cocoa SDK.  GUI
applications use X11.

The patch is specific to our need and not forwarded upstream.

Signed-off-by: Benda Xu <heroxbd@gentoo.org>

Index: matplotlib-3.7.2/setup.py
===================================================================
--- matplotlib-3.7.2.orig/setup.py
+++ matplotlib-3.7.2/setup.py
@@ -49,7 +49,6 @@ mpl_packages = [
     setupext.FreeType(),
     setupext.Qhull(),
     setupext.Tests(),
-    setupext.BackendMacOSX(),
     ]