Opened 10 years ago

Closed 10 years ago

#44950 closed defect (fixed)

sumo @ 0.21.0 Python script patching needs to preserve leading whitespace

Reported by: lockhart (Thomas Lockhart) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.3.1
Keywords: haspatch Cc:
Port: sumo

Description

SUMO has a large number of python scripts and library modules but these are intended to be run from the code tree, not from an installation. The current Portfile patches these files to look for modules in the python site-packages/sumolib directory, but in at least one case the modified import statement loses some required whitespace. Modify the reinplace substitutions to preserve leading whitespace.

Attachments (1)

Portfile.diff (1.4 KB) - added by lockhart (Thomas Lockhart) 10 years ago.
Preserve whitespace in front of import statements.

Download all attachments as: .zip

Change History (3)

Changed 10 years ago by lockhart (Thomas Lockhart)

Attachment: Portfile.diff added

Preserve whitespace in front of import statements.

comment:1 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Keywords: maintainer removed
Owner: changed from macports-tickets@… to ryandesign@…
Status: newassigned

comment:2 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.