spack/var/spack/repos/builtin/packages/python/tkinter.patch
Adam J. Stewart b43e8fcaa7
Python: optional dependencies and post-installation tests (#10335)
* Add post-installation tests to Python package

* libbsd does not build on macOS

* Make Python dependencies optional

* Add readline dep, remove ncurses patch, fix autoreconf
2019-02-23 12:36:26 -06:00

18 lines
771 B
Diff

diff -Naur a/setup.py b/setup.py
--- a/setup.py 2019-01-13 18:59:14.000000000 -0600
+++ b/setup.py 2019-01-13 19:00:31.000000000 -0600
@@ -1787,13 +1787,6 @@
if self.detect_tkinter_explicitly():
return
- # Rather than complicate the code below, detecting and building
- # AquaTk is a separate method. Only one Tkinter will be built on
- # Darwin - either AquaTk, if it is found, or X11 based Tk.
- if (host_platform == 'darwin' and
- self.detect_tkinter_darwin(inc_dirs, lib_dirs)):
- return
-
# Assume we haven't found any of the libraries or include files
# The versions with dots are used on Unix, and the versions without
# dots on Windows, for detection by cygwin.