components/python/coverage/coverage-PYVER.p5m
branchs11-update
changeset 3704 69ab8eca01c5
parent 3661 47545fb8aed4
equal deleted inserted replaced
3698:9c01a3410e89 3704:69ab8eca01c5
    16 # fields enclosed by brackets "[]" replaced with your own identifying
    16 # fields enclosed by brackets "[]" replaced with your own identifying
    17 # information: Portions Copyright [yyyy] [name of copyright owner]
    17 # information: Portions Copyright [yyyy] [name of copyright owner]
    18 #
    18 #
    19 # CDDL HEADER END
    19 # CDDL HEADER END
    20 #
    20 #
    21 # Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
    21 # Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
    22 #
    22 #
    23 
    23 
    24 set name=pkg.fmri \
    24 set name=pkg.fmri \
    25     value=pkg:/library/python-2/coverage-$(PYV)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
    25     value=pkg:/library/python/coverage-$(PYV)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
    26 set name=pkg.summary value="The coverage.py Python code coverage tool"
    26 set name=pkg.summary value="The coverage.py Python code coverage tool"
    27 set name=pkg.description \
    27 set name=pkg.description \
    28     value="Coverage is a tool for measuring code coverage of Python programs. It monitors a program, noting which parts of the code have been executed, then analyzes the source to identify code that could have been executed, but was not. Coverage measurement is typically used to gauge the effectiveness of tests. It can show which parts of your code are being exercised by tests, and which are not."
    28     value="Coverage is a tool for measuring code coverage of Python programs. It monitors a program, noting which parts of the code have been executed, then analyzes the source to identify code that could have been executed, but was not. Coverage measurement is typically used to gauge the effectiveness of tests. It can show which parts of your code are being exercised by tests, and which are not."
    29 set name=com.oracle.info.description \
    29 set name=com.oracle.info.description \
    30     value="coverage, the code coverage tool for Python"
    30     value="coverage, the code coverage tool for Python"
    85 # we need to name them differently or the tools will fail to deal with
    85 # we need to name them differently or the tools will fail to deal with
    86 # the fact that they are really different license files.
    86 # the fact that they are really different license files.
    87 license jquery.copyright license=MIT-1
    87 license jquery.copyright license=MIT-1
    88 license jquery.isonscreen.copyright license=MIT-2
    88 license jquery.isonscreen.copyright license=MIT-2
    89 
    89 
       
    90 # force the rename with an optional dependency on the old name
       
    91 depend type=optional \
       
    92     fmri=library/python-2/coverage-$(PYV)@3.5,5.11-0.175.3.0.0.16.0
       
    93 
    90 # force a dependency on the coverage package
    94 # force a dependency on the coverage package
    91 depend type=require \
    95 depend type=require \
    92     fmri=library/python-2/coverage@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
    96     fmri=library/python/coverage@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)