diff options
| author | Benda Xu <heroxbd@gentoo.org> | 2023-07-17 08:05:56 +0800 |
|---|---|---|
| committer | Benda Xu <heroxbd@gentoo.org> | 2023-07-17 09:17:38 +0800 |
| commit | fd0d8fc9c944ed38be0f668286c9051c6a5e7cf9 (patch) | |
| tree | a9f349853f9e00b901e25c1259ecb12e3e3ec9d0 /dev-python/matplotlib/files/matplotlib-3.7.2-macOS_no-Cocoa.patch | |
| parent | f4e9370d76817e46724cfbd5f1aaa9212e11dc25 (diff) | |
| download | gentoo-fd0d8fc9c944ed38be0f668286c9051c6a5e7cf9.tar.gz gentoo-fd0d8fc9c944ed38be0f668286c9051c6a5e7cf9.tar.bz2 gentoo-fd0d8fc9c944ed38be0f668286c9051c6a5e7cf9.zip | |
dev-python/matplotlib: Do not build against Cocoa on macOS.
keyword 3.7.2 for ~arm64-macos, ~x64-macos
Signed-off-by: Benda Xu <heroxbd@gentoo.org>
Diffstat (limited to 'dev-python/matplotlib/files/matplotlib-3.7.2-macOS_no-Cocoa.patch')
| -rw-r--r-- | dev-python/matplotlib/files/matplotlib-3.7.2-macOS_no-Cocoa.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/dev-python/matplotlib/files/matplotlib-3.7.2-macOS_no-Cocoa.patch b/dev-python/matplotlib/files/matplotlib-3.7.2-macOS_no-Cocoa.patch new file mode 100644 index 000000000000..3f29134be621 --- /dev/null +++ b/dev-python/matplotlib/files/matplotlib-3.7.2-macOS_no-Cocoa.patch @@ -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 <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(), + ] + + |
