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