components/python/unittest2/unittest2.p5m
author John Beck <John.Beck@Oracle.COM>
Mon, 27 Jan 2014 17:48:58 -0800
changeset 1666 69d14d547e77
parent 1534 a8d33afff3d5
child 1948 2d1537e7942d
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:
1534
a8d33afff3d5 PSARC 2013/337 unittest2 version 0.5.1
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     1
#
a8d33afff3d5 PSARC 2013/337 unittest2 version 0.5.1
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     2
# CDDL HEADER START
a8d33afff3d5 PSARC 2013/337 unittest2 version 0.5.1
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     3
#
a8d33afff3d5 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
a8d33afff3d5 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").
a8d33afff3d5 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.
a8d33afff3d5 PSARC 2013/337 unittest2 version 0.5.1
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
     7
#
a8d33afff3d5 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
a8d33afff3d5 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.
a8d33afff3d5 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
a8d33afff3d5 PSARC 2013/337 unittest2 version 0.5.1
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    11
# and limitations under the License.
a8d33afff3d5 PSARC 2013/337 unittest2 version 0.5.1
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    12
#
a8d33afff3d5 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
a8d33afff3d5 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.
a8d33afff3d5 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
a8d33afff3d5 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
a8d33afff3d5 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]
a8d33afff3d5 PSARC 2013/337 unittest2 version 0.5.1
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    18
#
a8d33afff3d5 PSARC 2013/337 unittest2 version 0.5.1
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    19
# CDDL HEADER END
a8d33afff3d5 PSARC 2013/337 unittest2 version 0.5.1
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: 1534
diff changeset
    21
# Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
1534
a8d33afff3d5 PSARC 2013/337 unittest2 version 0.5.1
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    22
#
a8d33afff3d5 PSARC 2013/337 unittest2 version 0.5.1
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    23
a8d33afff3d5 PSARC 2013/337 unittest2 version 0.5.1
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: 1534
diff changeset
    25
    value=pkg:/library/python/unittest2@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
1534
a8d33afff3d5 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"
a8d33afff3d5 PSARC 2013/337 unittest2 version 0.5.1
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    27
set name=pkg.description \
a8d33afff3d5 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."
a8d33afff3d5 PSARC 2013/337 unittest2 version 0.5.1
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    29
set name=com.oracle.info.description \
a8d33afff3d5 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"
a8d33afff3d5 PSARC 2013/337 unittest2 version 0.5.1
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    31
set name=com.oracle.info.tpno value=14503
a8d33afff3d5 PSARC 2013/337 unittest2 version 0.5.1
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    32
set name=info.classification \
a8d33afff3d5 PSARC 2013/337 unittest2 version 0.5.1
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    33
    value=org.opensolaris.category.2008:Development/Python
a8d33afff3d5 PSARC 2013/337 unittest2 version 0.5.1
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    34
set name=info.source-url value=$(COMPONENT_ARCHIVE_URL)
a8d33afff3d5 PSARC 2013/337 unittest2 version 0.5.1
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    35
set name=info.upstream value="Michael Foord <[email protected]>"
a8d33afff3d5 PSARC 2013/337 unittest2 version 0.5.1
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    36
set name=info.upstream-url value=$(COMPONENT_PROJECT_URL)
a8d33afff3d5 PSARC 2013/337 unittest2 version 0.5.1
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    37
set name=org.opensolaris.arc-caseid value=PSARC/2012/XXX
a8d33afff3d5 PSARC 2013/337 unittest2 version 0.5.1
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    38
set name=org.opensolaris.consolidation value=$(CONSOLIDATION)
a8d33afff3d5 PSARC 2013/337 unittest2 version 0.5.1
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    39
depend type=conditional \
1666
69d14d547e77 PSARC 2014/009 Python pkg(5) name-space update
John Beck <John.Beck@Oracle.COM>
parents: 1534
diff changeset
    40
    fmri=library/python/unittest2-26@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION) \
1534
a8d33afff3d5 PSARC 2013/337 unittest2 version 0.5.1
Rich Burridge <rich.burridge@oracle.com>
parents:
diff changeset
    41
    predicate=runtime/python-26
1666
69d14d547e77 PSARC 2014/009 Python pkg(5) name-space update
John Beck <John.Beck@Oracle.COM>
parents: 1534
diff changeset
    42
69d14d547e77 PSARC 2014/009 Python pkg(5) name-space update
John Beck <John.Beck@Oracle.COM>
parents: 1534
diff changeset
    43
# 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: 1534
diff changeset
    44
depend type=optional fmri=library/python-2/[email protected],5.12-5.12.0.0.0.41.0