components/python/unittest2/unittest2.p5m
author Brian Reitz <Brian.Reitz@Oracle.COM>
Thu, 28 May 2015 10:11:41 -0700
branchs11-update
changeset 4448 a1595889821c
parent 3704 69ab8eca01c5
permissions -rw-r--r--
21035315 swift missing dependency on network/rsync
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2881
8cae3c148a42 PSARC 2013/337 unittest2 version 0.5.1
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     1
#
8cae3c148a42 PSARC 2013/337 unittest2 version 0.5.1
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     2
# CDDL HEADER START
8cae3c148a42 PSARC 2013/337 unittest2 version 0.5.1
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     3
#
8cae3c148a42 PSARC 2013/337 unittest2 version 0.5.1
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
8cae3c148a42 PSARC 2013/337 unittest2 version 0.5.1
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
8cae3c148a42 PSARC 2013/337 unittest2 version 0.5.1
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
8cae3c148a42 PSARC 2013/337 unittest2 version 0.5.1
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     7
#
8cae3c148a42 PSARC 2013/337 unittest2 version 0.5.1
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
8cae3c148a42 PSARC 2013/337 unittest2 version 0.5.1
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
8cae3c148a42 PSARC 2013/337 unittest2 version 0.5.1
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    10
# See the License for the specific language governing permissions
8cae3c148a42 PSARC 2013/337 unittest2 version 0.5.1
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    11
# and limitations under the License.
8cae3c148a42 PSARC 2013/337 unittest2 version 0.5.1
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    12
#
8cae3c148a42 PSARC 2013/337 unittest2 version 0.5.1
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
8cae3c148a42 PSARC 2013/337 unittest2 version 0.5.1
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
8cae3c148a42 PSARC 2013/337 unittest2 version 0.5.1
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
8cae3c148a42 PSARC 2013/337 unittest2 version 0.5.1
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
8cae3c148a42 PSARC 2013/337 unittest2 version 0.5.1
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
8cae3c148a42 PSARC 2013/337 unittest2 version 0.5.1
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    18
#
8cae3c148a42 PSARC 2013/337 unittest2 version 0.5.1
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    19
# CDDL HEADER END
8cae3c148a42 PSARC 2013/337 unittest2 version 0.5.1
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    20
#
3704
69ab8eca01c5 PSARC 2014/009 Python pkg(5) name-space update
John Beck <John.Beck@Oracle.COM>
parents: 3532
diff changeset
    21
# Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
2881
8cae3c148a42 PSARC 2013/337 unittest2 version 0.5.1
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    22
#
8cae3c148a42 PSARC 2013/337 unittest2 version 0.5.1
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    23
8cae3c148a42 PSARC 2013/337 unittest2 version 0.5.1
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    24
set name=pkg.fmri \
3704
69ab8eca01c5 PSARC 2014/009 Python pkg(5) name-space update
John Beck <John.Beck@Oracle.COM>
parents: 3532
diff changeset
    25
    value=pkg:/library/python/unittest2@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
2881
8cae3c148a42 PSARC 2013/337 unittest2 version 0.5.1
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    26
set name=pkg.summary value="Python unit testing framework"
8cae3c148a42 PSARC 2013/337 unittest2 version 0.5.1
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    27
set name=pkg.description \
8cae3c148a42 PSARC 2013/337 unittest2 version 0.5.1
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    28
    value="Many new features were added to unittest in Python 2.7, including test discovery. unittest2 allows you to use these features with earlier versions of Python."
8cae3c148a42 PSARC 2013/337 unittest2 version 0.5.1
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    29
set name=com.oracle.info.description \
8cae3c148a42 PSARC 2013/337 unittest2 version 0.5.1
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    30
    value="the unittest2 Python unit testing framework"
8cae3c148a42 PSARC 2013/337 unittest2 version 0.5.1
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    31
set name=info.classification \
8cae3c148a42 PSARC 2013/337 unittest2 version 0.5.1
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    32
    value=org.opensolaris.category.2008:Development/Python
8cae3c148a42 PSARC 2013/337 unittest2 version 0.5.1
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    33
set name=info.source-url value=$(COMPONENT_ARCHIVE_URL)
8cae3c148a42 PSARC 2013/337 unittest2 version 0.5.1
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    34
set name=info.upstream value="Michael Foord <[email protected]>"
8cae3c148a42 PSARC 2013/337 unittest2 version 0.5.1
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    35
set name=info.upstream-url value=$(COMPONENT_PROJECT_URL)
8cae3c148a42 PSARC 2013/337 unittest2 version 0.5.1
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    36
set name=org.opensolaris.arc-caseid value=PSARC/2012/XXX
8cae3c148a42 PSARC 2013/337 unittest2 version 0.5.1
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    37
set name=org.opensolaris.consolidation value=$(CONSOLIDATION)
8cae3c148a42 PSARC 2013/337 unittest2 version 0.5.1
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    38
depend type=conditional \
3704
69ab8eca01c5 PSARC 2014/009 Python pkg(5) name-space update
John Beck <John.Beck@Oracle.COM>
parents: 3532
diff changeset
    39
    fmri=library/python/unittest2-26@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION) \
2881
8cae3c148a42 PSARC 2013/337 unittest2 version 0.5.1
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    40
    predicate=runtime/python-26
3704
69ab8eca01c5 PSARC 2014/009 Python pkg(5) name-space update
John Beck <John.Beck@Oracle.COM>
parents: 3532
diff changeset
    41
69ab8eca01c5 PSARC 2014/009 Python pkg(5) name-space update
John Beck <John.Beck@Oracle.COM>
parents: 3532
diff changeset
    42
# force the rename with an optional dependency on the old name
69ab8eca01c5 PSARC 2014/009 Python pkg(5) name-space update
John Beck <John.Beck@Oracle.COM>
parents: 3532
diff changeset
    43
depend type=optional fmri=library/python-2/[email protected],5.11-0.175.3.0.0.16.0