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