components/python/argparse/argparse.p5m
author John Beck <John.Beck@Oracle.COM>
Mon, 27 Jan 2014 17:48:58 -0800
changeset 1666 69d14d547e77
parent 1314 aa76e58a37ce
permissions -rw-r--r--
PSARC 2014/009 Python pkg(5) name-space update 18141589 Userland instance of s|/library/python-2/|/library/python/|g
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1314
aa76e58a37ce PSARC 2013/096 argparse version 1.2.1 - Python command-line parsing library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     1
#
aa76e58a37ce PSARC 2013/096 argparse version 1.2.1 - Python command-line parsing library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     2
# CDDL HEADER START
aa76e58a37ce PSARC 2013/096 argparse version 1.2.1 - Python command-line parsing library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     3
#
aa76e58a37ce PSARC 2013/096 argparse version 1.2.1 - Python command-line parsing library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
aa76e58a37ce PSARC 2013/096 argparse version 1.2.1 - Python command-line parsing library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
aa76e58a37ce PSARC 2013/096 argparse version 1.2.1 - Python command-line parsing library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
aa76e58a37ce PSARC 2013/096 argparse version 1.2.1 - Python command-line parsing library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     7
#
aa76e58a37ce PSARC 2013/096 argparse version 1.2.1 - Python command-line parsing library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
aa76e58a37ce PSARC 2013/096 argparse version 1.2.1 - Python command-line parsing library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
aa76e58a37ce PSARC 2013/096 argparse version 1.2.1 - Python command-line parsing library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    10
# See the License for the specific language governing permissions
aa76e58a37ce PSARC 2013/096 argparse version 1.2.1 - Python command-line parsing library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    11
# and limitations under the License.
aa76e58a37ce PSARC 2013/096 argparse version 1.2.1 - Python command-line parsing library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    12
#
aa76e58a37ce PSARC 2013/096 argparse version 1.2.1 - Python command-line parsing library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
aa76e58a37ce PSARC 2013/096 argparse version 1.2.1 - Python command-line parsing library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
aa76e58a37ce PSARC 2013/096 argparse version 1.2.1 - Python command-line parsing library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
aa76e58a37ce PSARC 2013/096 argparse version 1.2.1 - Python command-line parsing library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
aa76e58a37ce PSARC 2013/096 argparse version 1.2.1 - Python command-line parsing library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
aa76e58a37ce PSARC 2013/096 argparse version 1.2.1 - Python command-line parsing library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    18
#
aa76e58a37ce PSARC 2013/096 argparse version 1.2.1 - Python command-line parsing library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    19
# CDDL HEADER END
aa76e58a37ce PSARC 2013/096 argparse version 1.2.1 - Python command-line parsing library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    20
#
1666
69d14d547e77 PSARC 2014/009 Python pkg(5) name-space update
John Beck <John.Beck@Oracle.COM>
parents: 1314
diff changeset
    21
# Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
1314
aa76e58a37ce PSARC 2013/096 argparse version 1.2.1 - Python command-line parsing library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    22
#
aa76e58a37ce PSARC 2013/096 argparse version 1.2.1 - Python command-line parsing library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    23
aa76e58a37ce PSARC 2013/096 argparse version 1.2.1 - Python command-line parsing library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    24
set name=pkg.fmri \
1666
69d14d547e77 PSARC 2014/009 Python pkg(5) name-space update
John Beck <John.Beck@Oracle.COM>
parents: 1314
diff changeset
    25
    value=pkg:/library/python/argparse@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
1314
aa76e58a37ce PSARC 2013/096 argparse version 1.2.1 - Python command-line parsing library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    26
set name=pkg.summary value="Python argparse command-line parsing library"
aa76e58a37ce PSARC 2013/096 argparse version 1.2.1 - Python command-line parsing library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    27
set name=pkg.description \
aa76e58a37ce PSARC 2013/096 argparse version 1.2.1 - Python command-line parsing library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    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."
aa76e58a37ce PSARC 2013/096 argparse version 1.2.1 - Python command-line parsing library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    29
set name=com.oracle.info.description \
aa76e58a37ce PSARC 2013/096 argparse version 1.2.1 - Python command-line parsing library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    30
    value="the Python argparse command-line parsing library"
aa76e58a37ce PSARC 2013/096 argparse version 1.2.1 - Python command-line parsing library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    31
set name=info.classification \
aa76e58a37ce PSARC 2013/096 argparse version 1.2.1 - Python command-line parsing library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    32
    value=org.opensolaris.category.2008:Development/Python
aa76e58a37ce PSARC 2013/096 argparse version 1.2.1 - Python command-line parsing library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    33
set name=info.source-url value=$(COMPONENT_ARCHIVE_URL)
aa76e58a37ce PSARC 2013/096 argparse version 1.2.1 - Python command-line parsing library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    34
set name=info.upstream value="Steven Bethard <[email protected]>"
aa76e58a37ce PSARC 2013/096 argparse version 1.2.1 - Python command-line parsing library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    35
set name=info.upstream-url value=$(COMPONENT_PROJECT_URL)
aa76e58a37ce PSARC 2013/096 argparse version 1.2.1 - Python command-line parsing library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    36
set name=org.opensolaris.arc-caseid value=PSARC/2013/096
aa76e58a37ce PSARC 2013/096 argparse version 1.2.1 - Python command-line parsing library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    37
set name=org.opensolaris.consolidation value=$(CONSOLIDATION)
aa76e58a37ce PSARC 2013/096 argparse version 1.2.1 - Python command-line parsing library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    38
depend type=conditional \
1666
69d14d547e77 PSARC 2014/009 Python pkg(5) name-space update
John Beck <John.Beck@Oracle.COM>
parents: 1314
diff changeset
    39
    fmri=library/python/argparse-26@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION) \
1314
aa76e58a37ce PSARC 2013/096 argparse version 1.2.1 - Python command-line parsing library
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    40
    predicate=runtime/python-26
1666
69d14d547e77 PSARC 2014/009 Python pkg(5) name-space update
John Beck <John.Beck@Oracle.COM>
parents: 1314
diff changeset
    41
69d14d547e77 PSARC 2014/009 Python pkg(5) name-space update
John Beck <John.Beck@Oracle.COM>
parents: 1314
diff changeset
    42
# force the rename with an optional dependency on the old name
69d14d547e77 PSARC 2014/009 Python pkg(5) name-space update
John Beck <John.Beck@Oracle.COM>
parents: 1314
diff changeset
    43
depend type=optional fmri=library/python-2/[email protected],5.12-5.12.0.0.0.41.0