[MacPorts] #67537: grass @8.0.1: SyntaxError: invalid syntax

MacPorts noreply at macports.org
Wed May 31 08:17:56 UTC 2023


#67537: grass @8.0.1: SyntaxError: invalid syntax
-------------------------+--------------------
  Reporter:  ryandesign  |      Owner:  (none)
      Type:  defect      |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.8.1
Resolution:              |   Keywords:
      Port:  grass       |
-------------------------+--------------------

Comment (by nilason):

 I assume you meant grass @8.2.1 (8.0.1 would suggest the obsolete grass8
 port).

 The reinplace works correctly for me locally, the ...nos.environ... part
 is supposed to be a line break ('\n') following with 'os.environ...':
 {{{
 MACOS = sys.platform.startswith("darwin")
 os.environ["GRASS_PYTHON"] = "/opt/local/bin/python3.10"
 }}}

 Judging by the bot builds' logs, the reinplace fails to produce the
 intended result on pre-11 macOS versions. I have no idea what could be the
 reason to this.

 An alternative to the line break, could be the use of a ';'.

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


More information about the macports-tickets mailing list