Ticket #44950: Portfile.diff
File Portfile.diff, 1.4 KB (added by lockhart (Thomas Lockhart), 10 years ago) |
---|
-
Portfile
old new 6 6 name sumo 7 7 conflicts sumo-devel 8 8 version 0.21.0 9 revision 19 revision 2 10 10 categories science devel 11 11 platforms darwin 12 12 maintainers nomaintainer … … 56 56 foreach f [list {*}$python_scripts {*}$python_libs {*}$python_tutorials] { 57 57 reinplace "s#/usr/bin/env python#${python_bin}#" $f 58 58 reinplace -E "s|^(sys.path.append)|# \\1|" $f 59 reinplace -E "s#^ *from (assign|costMemory|dijkstra|duaIterate|elements|inputs|network|outputs|routeChoices|statisticsElements|tables)#from sumolib.assign.\\1#" $f60 reinplace -E "s#^ *from (miscutils|OrderedMultiSet|output|testUtil)#from sumolib.\\1#" $f59 reinplace -E "s#^( *)from (assign|costMemory|dijkstra|duaIterate|elements|inputs|network|outputs|routeChoices|statisticsElements|tables)#\\1from sumolib.assign.\\2#" $f 60 reinplace -E "s#^( *)from (miscutils|OrderedMultiSet|output|testUtil)#\\1from sumolib.\\2#" $f 61 61 reinplace -E "s#^import (xsd|collectinghandler|connections|turndefinitions|rmsd)#from sumolib import \\1#" $f 62 62 reinplace -E "s#^import (os,.*), helpers#import \\1, sumolib.helpers as helpers#" $f 63 63 }