components/python/argparse/argparse.p5m
changeset 4984 7145b15b7f0d
parent 4983 db2589571faa
child 4985 eed3576cafd0
equal deleted inserted replaced
4983:db2589571faa 4984:7145b15b7f0d
     1 #
       
     2 # CDDL HEADER START
       
     3 #
       
     4 # The contents of this file are subject to the terms of the
       
     5 # Common Development and Distribution License (the "License").
       
     6 # You may not use this file except in compliance with the License.
       
     7 #
       
     8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
       
     9 # or http://www.opensolaris.org/os/licensing.
       
    10 # See the License for the specific language governing permissions
       
    11 # and limitations under the License.
       
    12 #
       
    13 # When distributing Covered Code, include this CDDL HEADER in each
       
    14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
       
    15 # If applicable, add the following below this CDDL HEADER, with the
       
    16 # fields enclosed by brackets "[]" replaced with your own identifying
       
    17 # information: Portions Copyright [yyyy] [name of copyright owner]
       
    18 #
       
    19 # CDDL HEADER END
       
    20 #
       
    21 # Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
       
    22 #
       
    23 
       
    24 set name=pkg.fmri \
       
    25     value=pkg:/library/python/argparse@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
       
    26 set name=pkg.summary value="Python argparse command-line parsing library"
       
    27 set name=pkg.description \
       
    28     value="The argparse module makes it easy to write user-friendly command-line interfaces. The program defines what arguments it requires, and argparse will figure out how to parse those out of sys.argv. The argparse module also automatically generates help and usage messages and issues errors when users give the program invalid arguments."
       
    29 set name=com.oracle.info.description \
       
    30     value="the Python argparse command-line parsing library"
       
    31 set name=info.classification \
       
    32     value=org.opensolaris.category.2008:Development/Python
       
    33 set name=info.source-url value=$(COMPONENT_ARCHIVE_URL)
       
    34 set name=info.upstream value="Steven Bethard <[email protected]>"
       
    35 set name=info.upstream-url value=$(COMPONENT_PROJECT_URL)
       
    36 set name=org.opensolaris.arc-caseid value=PSARC/2013/096
       
    37 set name=org.opensolaris.consolidation value=$(CONSOLIDATION)
       
    38 depend type=conditional \
       
    39     fmri=library/python/argparse-26@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION) \
       
    40     predicate=runtime/python-26
       
    41 
       
    42 # force the rename with an optional dependency on the old name
       
    43 depend type=optional fmri=library/python-2/[email protected],5.12-5.12.0.0.0.41.0