Ticket #54191: Portfile.diff
File Portfile.diff, 4.4 KB (added by lockhart (Thomas Lockhart), 7 years ago) |
---|
-
Portfile
old new 3 3 PortSystem 1.0 4 4 5 5 name sumo 6 version 0. 29.06 version 0.30.0 7 7 categories science devel 8 8 platforms darwin 9 9 maintainers gmail.com:tlockhart1976 openmaintainer … … 22 22 distname ${name}-src-${version} 23 23 worksrcdir ${name}-${version} 24 24 25 checksums rmd160 56b42d5a7c7a967ae4c17ccd8dda50db5887115e\26 sha256 50b627869f829343cc874879317d238615e68b91083f7c401aac198235a690d125 checksums rmd160 4b17e0a4b95f0d6a8f4d24e5ff9ceead2f810ec3 \ 26 sha256 2f0825507d756979658061847f47c5d91ec2e5c07e7ebd8839a31ab08ecde742 27 27 28 28 default_variants +subseconds +messages 29 29 … … 61 61 reinplace -locale C "s#./PHEMlight/#${sharedir}/data/PHEMlight/#" src/tools/emissionsMap_main.cpp 62 62 set python_bin ${frameworks_dir}/Python.framework/Versions/2.7/bin/python2.7 63 63 foreach f [list {*}$python_scripts {*}$python_libs {*}$python_tutorials] { 64 reinplace "s#/usr/bin/env python#${python_bin}#" $f65 reinplace - E "s|^( *)(sys.path.append)|\\1# \\2|" $f66 reinplace - E "s|^( *)(.*__file__.*\\.\\.)|\\1# \\2|" $f67 reinplace - E "s|^( *)(os.path.join.*\\.\\.)|\\1# \\2|" $f68 reinplace - E "s|^( *)(SUMO_HOME =)|\\1 # \\2|" $f69 reinplace - E "s|^(if .*SUMO_HOME)|if True: # \\1|" $f70 reinplace - E "s|^( +)(.*os.path.join.*SUMO_HOME)|\\1# \\2|" $f71 reinplace - E "s#^( *)from (assign|costMemory|dijkstra|duaIterate|elements|inputs|network|outputs|routeChoices|statisticsElements|tables)#\\1from sumolib.assign.\\2#" $f72 reinplace - E "s#^( *)from (miscutils|OrderedMultiSet|output|testUtil)#\\1from sumolib.\\2#" $f73 reinplace - E "s#^import (detector|route2trips|xsd|xml2csv|collectinghandler|connections|netshiftadaptor|route_departOffset|sort_routes|turndefinitions|rmsd|xml2protobuf)#from sumolib import \\1#" $f74 reinplace - E "s#^import (os,.*), helpers#import \\1, sumolib.helpers as helpers#" $f64 reinplace -q "s#/usr/bin/env python#${python_bin}#" $f 65 reinplace -q -E "s|^( *)(sys.path.append)|\\1# \\2|" $f 66 reinplace -q -E "s|^( *)(.*__file__.*\\.\\.)|\\1# \\2|" $f 67 reinplace -q -E "s|^( *)(os.path.join.*\\.\\.)|\\1# \\2|" $f 68 reinplace -q -E "s|^( *)(SUMO_HOME =)|\\1 # \\2|" $f 69 reinplace -q -E "s|^(if .*SUMO_HOME)|if True: # \\1|" $f 70 reinplace -q -E "s|^( +)(.*os.path.join.*SUMO_HOME)|\\1# \\2|" $f 71 reinplace -q -E "s#^( *)from (assign|costMemory|dijkstra|duaIterate|elements|inputs|network|outputs|routeChoices|statisticsElements|tables)#\\1from sumolib.assign.\\2#" $f 72 reinplace -q -E "s#^( *)from (miscutils|OrderedMultiSet|output|testUtil)#\\1from sumolib.\\2#" $f 73 reinplace -q -E "s#^import (detector|route2trips|xsd|xml2csv|collectinghandler|connections|netshiftadaptor|route_departOffset|sort_routes|turndefinitions|rmsd|xml2protobuf)#from sumolib import \\1#" $f 74 reinplace -q -E "s#^import (os,.*), helpers#import \\1, sumolib.helpers as helpers#" $f 75 75 } 76 76 reinplace -E "s#@BINDIR@#${bindir}#" README.macosx 77 77 reinplace -E "s#@LIBDIR@#${libdir}#" README.macosx … … 81 81 82 82 # List of all python scripts. Used later to ensure usage of python27 83 83 # (instead of the currently active python) 84 # available in the next release:85 # tools/tlsCoordinator.py86 84 set python_scripts [list \ 85 tools/createVehTypeDistribution.py \ 87 86 tools/districts2poly.py \ 88 87 tools/edgesInDistricts.py \ 88 tools/extractTest.py \ 89 89 tools/generateBidiDistricts.py \ 90 tools/osmBuild.py \ 91 tools/osmGet.py \ 92 tools/osmWebWizard.py \ 90 93 tools/pedestrianFlow.py \ 91 94 tools/randomTrips.py \ 92 tools/route2trips.py \93 95 tools/route2sel.py \ 96 tools/route2trips.py \ 97 tools/showDepartsAndArrivalsPerEdge.py \ 98 tools/tlsCoordinator.py \ 94 99 tools/traceExporter.py \ 95 100 tools/assign/Assignment.py \ 96 101 tools/assign/cadytsIterate.py \ … … 157 162 tools/purgatory/kShortest.py \ 158 163 tools/purgatory/routes2OD.py \ 159 164 tools/route/cutRoutes.py \ 165 tools/route/implausibleRoutes.py \ 160 166 tools/route/route2alts.py \ 161 167 tools/route/route2poly.py \ 162 tools/route/route DiffStats.py \168 tools/route/routeStats.py \ 163 169 tools/route/route_1htoDay.py \ 164 170 tools/route/route_departOffset.py \ 165 171 tools/route/routecheck.py \