[MacPorts] #42191: python*: IDLE requires py*-tkinter

MacPorts noreply at macports.org
Sun Jul 21 06:12:12 UTC 2019


#42191: python*: IDLE requires py*-tkinter
-------------------------------------------------+-------------------------
  Reporter:  LenoreHorner                        |      Owner:
                                                 |  jyrkiwahlstedt
      Type:  defect                              |     Status:  new
  Priority:  Normal                              |  Milestone:
 Component:  ports                               |    Version:  2.2.1
Resolution:                                      |   Keywords:
      Port:  python26 python27 python32          |
  python33 python34 python35 python36 python37   |
-------------------------------------------------+-------------------------

Comment (by GitHubRepositoryX):

 I recently checked: https://github.com/macports/macports-
 ports/blob/master/lang/python37/files/patch-setup.py.diff#L11


 {{{
          # 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
 +        self.announce("INFO: Not using Tcl/Tk", 2)
 +        return
 }}}

 There is AquaTk mentioned, that make sense, so I believe I was right, they
 use different implementations of Tkinter namely AquaTk and the X11 based
 Tk. This leads to those problems, becouse the IDLE.app is written for
 AquaTk and not X11.

-- 
Ticket URL: <https://trac.macports.org/ticket/42191#comment:10>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list