components/python/prettytable/prettytable-PYVER.p5m
branchs11-update
changeset 3704 69ab8eca01c5
parent 3661 47545fb8aed4
child 3778 35735ffdda43
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) 2012, 2014, Oracle and/or its affiliates. All rights reserved.
    21 # Copyright (c) 2012, 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/prettytable-$(PYV)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
    25     value=pkg:/library/python/prettytable-$(PYV)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
    26 set name=pkg.summary \
    26 set name=pkg.summary \
    27     value="A simple Python library for displaying data in an ASCII table"
    27     value="A simple Python library for displaying data in an ASCII table"
    28 set name=pkg.description \
    28 set name=pkg.description \
    29     value="PrettyTable is a simple Python library designed to make it quick and easy to represent tabular data in visually appealing ASCII tables."
    29     value="PrettyTable is a simple Python library designed to make it quick and easy to represent tabular data in visually appealing ASCII tables."
    30 set name=com.oracle.info.description value="the Python prettytable module"
    30 set name=com.oracle.info.description value="the Python prettytable module"
    43 # When and only when running under Python 3.x, PrettyTable imports "html".
    43 # When and only when running under Python 3.x, PrettyTable imports "html".
    44 file path=usr/lib/python$(PYVER)/vendor-packages/prettytable.py \
    44 file path=usr/lib/python$(PYVER)/vendor-packages/prettytable.py \
    45     pkg.depend.bypass-generate=.*html.*
    45     pkg.depend.bypass-generate=.*html.*
    46 license prettytable.license license=BSD
    46 license prettytable.license license=BSD
    47 
    47 
       
    48 # force the rename with an optional dependency on the old name
       
    49 depend type=optional \
       
    50     fmri=library/python-2/prettytable-$(PYV)@0.7.2,5.11-0.175.3.0.0.16.0
       
    51 
    48 # force a dependency on the Python runtime
    52 # force a dependency on the Python runtime
    49 depend type=require fmri=__TBD pkg.debug.depend.file=python$(PYVER) \
    53 depend type=require fmri=__TBD pkg.debug.depend.file=python$(PYVER) \
    50     pkg.debug.depend.path=usr/bin
    54     pkg.debug.depend.path=usr/bin
    51 
    55 
    52 # force a dependency on the prettytable package
    56 # force a dependency on the prettytable package
    53 depend type=require \
    57 depend type=require \
    54     fmri=library/python-2/prettytable@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
    58     fmri=library/python/prettytable@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)