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

MacPorts noreply at macports.org
Wed May 31 03:36:43 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
 Keywords:              |       Port:  grass
------------------------+--------------------
 /opt/local/bin/grass is syntactically invalid, as shown by this failed
 build of gdal-grass which depends on grass:

 https://build.macports.org/builders/ports-10.13_x86_64-builder/builds/193782/steps
 /install-port/logs/stdio
 {{{
 Error: Failed to configure gdal-grass:   File "/opt/local/bin/grass", line
 107
     MACOS = sys.platform.startswith("darwin")nos.environ["GRASS_PYTHON"] =
 "/opt/local/bin/python3.10"
                                              ^^^
 SyntaxError: invalid syntax
 DEBUG: Error code: NONE
 }}}

 I think the problem was introduced in
 [fb098cb6c9a5df0e16d138b692fdf81abdf61e27/macports-ports]:

 https://github.com/macports/macports-
 ports/blob/1dc28c18e4e00b033b04bd0b710c129c36be7043/gis/grass/Portfile#L132-L133

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


More information about the macports-tickets mailing list