[MacPorts] #64419: Spaces in distname no longer work

MacPorts noreply at macports.org
Wed Jan 12 21:34:42 UTC 2022


#64419: Spaces in distname no longer work
------------------------+--------------------
 Reporter:  ryandesign  |      Owner:  (none)
     Type:  defect      |     Status:  new
 Priority:  Normal      |  Milestone:
Component:  base        |    Version:  2.7.1
 Keywords:              |       Port:
------------------------+--------------------
 I assume MacPorts used to support values of `distname` containing spaces
 because [changeset:4db99a89ecb601e28f3d4c07d7fabcd080933b13/macports-ports
 the mandelbrot-set-viewer port was added] having this line:

 {{{
 distname            Mandelbrot Set Viewer ${version}
 }}}

 The current version of MacPorts at that time was 2.3.1. MacPorts 2.7.1
 however tries to fetch four separate distfiles ("Mandelbrot", "Set",
 "Viewer", and "5.01.zip").

 https://build.macports.org/builders/jobs-
 mirror/builds/359583/steps/mirror/logs/stdio
 {{{
 --->  Attempting to fetch Mandelbrot from
 http://www.geometrian.com/data/programming/projects/Mandelbrot%20Set/Viewer%205.01/
 }}}

 Quoting it doesn't work either:

 {{{
 distname            "Mandelbrot Set Viewer ${version}"
 }}}
 {{{
 $ port distf
 --->  Distfiles for mandelbrot-set-viewer
 Error: Failed to distfiles mandelbrot-set-viewer: list element in braces
 followed by ".zip" instead of space
 }}}


 I didn't find any other Portfiles using spaces in `distname` and I expect
 I'll work around this problem as I update this port to a newer version but
 base should support distfiles having spaces in their names.

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


More information about the macports-tickets mailing list