python313Packages.matplotlib: remove unused dependencies (#397240)
This commit is contained in:
@@ -53,14 +53,8 @@
|
||||
# Tk
|
||||
# Darwin has its own "MacOSX" backend, PyPy has tkagg backend and does not support tkinter
|
||||
enableTk ? (!stdenv.hostPlatform.isDarwin && !isPyPy),
|
||||
tcl,
|
||||
tk,
|
||||
tkinter,
|
||||
|
||||
# Ghostscript
|
||||
enableGhostscript ? true,
|
||||
ghostscript,
|
||||
|
||||
# Qt
|
||||
enableQt ? false,
|
||||
pyqt5,
|
||||
@@ -130,16 +124,10 @@ buildPythonPackage rec {
|
||||
freetype
|
||||
qhull
|
||||
]
|
||||
++ lib.optionals enableGhostscript [ ghostscript ]
|
||||
++ lib.optionals enableGtk3 [
|
||||
cairo
|
||||
gtk3
|
||||
]
|
||||
++ lib.optionals enableTk [
|
||||
libX11
|
||||
tcl
|
||||
tk
|
||||
]
|
||||
++ lib.optionals stdenv.hostPlatform.isDarwin [ Cocoa ];
|
||||
|
||||
# clang-11: error: argument unused during compilation: '-fno-strict-overflow' [-Werror,-Wunused-command-line-argument]
|
||||
|
||||
@@ -8428,7 +8428,6 @@ self: super: with self; {
|
||||
matplotlib = callPackage ../development/python-modules/matplotlib {
|
||||
stdenv = if stdenv.hostPlatform.isDarwin then pkgs.clangStdenv else pkgs.stdenv;
|
||||
inherit (pkgs.darwin.apple_sdk.frameworks) Cocoa;
|
||||
ghostscript = pkgs.ghostscript_headless;
|
||||
};
|
||||
|
||||
matplotlib-inline = callPackage ../development/python-modules/matplotlib-inline { };
|
||||
|
||||
Reference in New Issue
Block a user