Ticket #48952: Portfile.diff

File Portfile.diff, 1.7 KB (added by lockhart (Thomas Lockhart), 9 years ago)

Add a few more files to modify python import lists. Bump the revision number.

  • Portfile

    old new  
    55
    66name                sumo
    77version             0.24.0
     8revision            1
    89categories          science devel
    910platforms           darwin
    1011maintainers         nomaintainer
     
    3637# py27-matplotlib requires perl so let it choose which version
    3738depends_lib-append \
    3839    port:python27 \
    39     port:py27-matplotlib
     40    port:py27-matplotlib \
     41    port:py27-protobuf
    4042
    4143set sharedir          ${prefix}/share/${name}
    4244set docdir            ${prefix}/share/doc/${name}
     
    5557        reinplace -E "s|^(sys.path.append)|# \\1|" $f
    5658        reinplace -E "s#^( *)from (assign|costMemory|dijkstra|duaIterate|elements|inputs|network|outputs|routeChoices|statisticsElements|tables)#\\1from sumolib.assign.\\2#" $f
    5759        reinplace -E "s#^( *)from (miscutils|OrderedMultiSet|output|testUtil)#\\1from sumolib.\\2#" $f
    58         reinplace -E "s#^import (xsd|collectinghandler|connections|turndefinitions|rmsd)#from sumolib import \\1#" $f
     60        reinplace -E "s#^import (xsd|xml2csv|collectinghandler|connections|netshiftadaptor|route_departOffset|turndefinitions|rmsd|xml2protobuf)#from sumolib import \\1#" $f
    5961        reinplace -E "s#^import (os,.*), helpers#import \\1, sumolib.helpers as helpers#" $f
    6062    }
    6163}
     
    177179    tools/assign/tables.py \
    178180    tools/net/netshiftadaptor.py \
    179181    tools/net/OrderedMultiSet.py \
     182    tools/route/route_departOffset.py \
    180183    tools/sumolib/geomhelper.py \
    181184    tools/trigger/csv2vss.py \
    182185    tools/turn-defs/connections.py \
    183186    tools/turn-defs/turndefinitions.py \
    184187    tools/xml/xml2csv.py \
     188    tools/xml/xml2protobuf.py \
    185189    tools/xml/xsd.py \
    186190]
    187191