forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dev-python/matplotlib: Do not build against Cocoa on macOS.
keyword 3.7.2 for ~arm64-macos, ~x64-macos Signed-off-by: Benda Xu <[email protected]>
- Loading branch information
Showing
2 changed files
with
23 additions
and
1 deletion.
There are no files selected for viewing
21 changes: 21 additions & 0 deletions
21
dev-python/matplotlib/files/matplotlib-3.7.2-macOS_no-Cocoa.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,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 <[email protected]> | ||
|
||
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(), | ||
] | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters