#19717: gnome-keyring @2.26.1 build failure -------------------------------------+-------------------------------------- Reporter: christophe.haro@… | Owner: nox@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: gnome-keyring -------------------------------------+-------------------------------------- Comment(by gale@…): That is one of many incompatibilities with Python 3. There are a number of breaking changes between Python 2 and Python 3. One is this. Another is that print is now a function and requires parens. There are others. In the upcoming version of Python, the string format operator % will be removed, in favor of the totally incompatible format method. That will break many things in this port. The bottom line is that upstream is just not supporting Python 3 yet. If you want to take on that responsibility until they do, that's great. Otherwise, we may need this port to depend on some specific Python 2 version, and hard-code all the shell bangs (and other places where the python interpreter is invoked) to refer to it. Or perhaps we need some enhancement to the python_select system that will easily allow a port to avoid Python 3 when needed. -- Ticket URL: <http://trac.macports.org/ticket/19717#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS