components/python/websockify/websockify-PYVER.p5m
branchs11-update
changeset 3152 1572f2692c01
parent 2946 74c77317f502
child 3167 a3bacff5653e
equal deleted inserted replaced
3151:0dbc999aeec2 3152:1572f2692c01
    24 #
    24 #
    25 
    25 
    26 # python-extra is part of python 2.6 only
    26 # python-extra is part of python 2.6 only
    27 <transform depend type=require fmri=library/python-2/python-extra-27 -> drop>
    27 <transform depend type=require fmri=library/python-2/python-extra-27 -> drop>
    28 set name=pkg.fmri \
    28 set name=pkg.fmri \
    29     value=pkg:/library/python-2/websockify-$(PYV)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
    29     value=pkg:/library/python/websockify-$(PYV)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
    30 set name=pkg.summary value="WebSocket to TCP proxy/bridge"
    30 set name=pkg.summary value="WebSocket to TCP proxy/bridge"
    31 set name=pkg.description \
    31 set name=pkg.description \
    32     value="Websockify translates WebSockets traffic to normal socket traffic. Websockify accepts the WebSockets handshake, parses it, and then begins forwarding traffic between the client and the target in both directions."
    32     value="Websockify translates WebSockets traffic to normal socket traffic. Websockify accepts the WebSockets handshake, parses it, and then begins forwarding traffic between the client and the target in both directions."
    33 set name=com.oracle.info.description \
    33 set name=com.oracle.info.description \
    34     value="Websockify, the WebSockets translater"
    34     value="Websockify, the WebSockets translater"
    35 set name=com.oracle.info.tpno value=14503
    35 set name=com.oracle.info.tpno value=16167
    36 set name=info.classification \
    36 set name=info.classification \
    37     value=org.opensolaris.category.2008:Development/Python \
    37     value=org.opensolaris.category.2008:Development/Python \
    38     value="org.opensolaris.category.2008:Web Services/Communications"
    38     value="org.opensolaris.category.2008:Web Services/Communications"
    39 set name=info.source-url value=$(COMPONENT_ARCHIVE_URL)
    39 set name=info.source-url value=$(COMPONENT_ARCHIVE_URL)
    40 set name=info.upstream value="Joel Martin <[email protected]>"
    40 set name=info.upstream value="Joel Martin <[email protected]>"
    58 file path=usr/lib/python$(PYVER)/vendor-packages/websockify/websocketproxy.py \
    58 file path=usr/lib/python$(PYVER)/vendor-packages/websockify/websocketproxy.py \
    59     pkg.depend.bypass-generate=.*/urllib.*
    59     pkg.depend.bypass-generate=.*/urllib.*
    60 #
    60 #
    61 license websockify.license license="LGPL3, BSD, MIT"
    61 license websockify.license license="LGPL3, BSD, MIT"
    62 
    62 
    63 # force a dependency on python-extra; pkgdepend work is needed to flush this
    63 # force a group dependency on the optional python-extra; pkgdepend work is
    64 # out.
    64 # needed to flush this out.
    65 depend type=require fmri=library/python-2/python-extra-$(PYV)
    65 depend type=group fmri=library/python-2/python-extra-$(PYV)
       
    66 
       
    67 # force the rename with an optional dependency on the old name
       
    68 depend type=optional \
       
    69     fmri=library/python-2/websockify-$(PYV)@0.3.0,5.11-0.175.2.0.0.41.0
    66 
    70 
    67 # force a dependency on the websockify package
    71 # force a dependency on the websockify package
    68 depend type=require \
    72 depend type=require \
    69     fmri=library/python-2/websockify@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
    73     fmri=library/python/websockify@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)