components/python/mock/mock-PYVER.p5m
author Mike Sullivan <Mike.Sullivan@Oracle.COM>
Wed, 28 Oct 2015 10:24:22 -0700
changeset 5021 c5e330e6831f
parent 3732 0f62cc221c7e
child 6795 832c5da5f7f1
permissions -rw-r--r--
Close of build 86.1.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1231
44cd216060fd PSARC/2013/061 Mock 1.0.1
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
     1
#
44cd216060fd PSARC/2013/061 Mock 1.0.1
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
     2
# CDDL HEADER START
44cd216060fd PSARC/2013/061 Mock 1.0.1
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
     3
#
44cd216060fd PSARC/2013/061 Mock 1.0.1
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
44cd216060fd PSARC/2013/061 Mock 1.0.1
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
44cd216060fd PSARC/2013/061 Mock 1.0.1
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
44cd216060fd PSARC/2013/061 Mock 1.0.1
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
     7
#
44cd216060fd PSARC/2013/061 Mock 1.0.1
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
44cd216060fd PSARC/2013/061 Mock 1.0.1
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
44cd216060fd PSARC/2013/061 Mock 1.0.1
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    10
# See the License for the specific language governing permissions
44cd216060fd PSARC/2013/061 Mock 1.0.1
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    11
# and limitations under the License.
44cd216060fd PSARC/2013/061 Mock 1.0.1
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    12
#
44cd216060fd PSARC/2013/061 Mock 1.0.1
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
44cd216060fd PSARC/2013/061 Mock 1.0.1
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
44cd216060fd PSARC/2013/061 Mock 1.0.1
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
44cd216060fd PSARC/2013/061 Mock 1.0.1
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
44cd216060fd PSARC/2013/061 Mock 1.0.1
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
44cd216060fd PSARC/2013/061 Mock 1.0.1
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    18
#
44cd216060fd PSARC/2013/061 Mock 1.0.1
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    19
# CDDL HEADER END
44cd216060fd PSARC/2013/061 Mock 1.0.1
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    20
#
3732
0f62cc221c7e 20440737 pkgfmt all Userland pkg(5) manifests
John Beck <John.Beck@Oracle.COM>
parents: 1948
diff changeset
    21
# Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
1231
44cd216060fd PSARC/2013/061 Mock 1.0.1
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    22
#
44cd216060fd PSARC/2013/061 Mock 1.0.1
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    23
44cd216060fd PSARC/2013/061 Mock 1.0.1
Drew Fisher <drew.fisher@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: 1251
diff changeset
    25
    value=pkg:/library/python/mock-$(PYV)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
1231
44cd216060fd PSARC/2013/061 Mock 1.0.1
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    26
set name=pkg.summary value="A unittest library for creating mock objects"
44cd216060fd PSARC/2013/061 Mock 1.0.1
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    27
set name=pkg.description \
44cd216060fd PSARC/2013/061 Mock 1.0.1
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    28
    value="Mock is a library for testing in Python. It allows you to replace parts of your system under test with mock objects and make assertions about how they have been used."
44cd216060fd PSARC/2013/061 Mock 1.0.1
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    29
set name=com.oracle.info.description \
44cd216060fd PSARC/2013/061 Mock 1.0.1
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    30
    value="Mock, a library for creating mock objects for testing in Python"
1948
2d1537e7942d 18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents: 1666
diff changeset
    31
set name=com.oracle.info.tpno value=$(TPNO)
1231
44cd216060fd PSARC/2013/061 Mock 1.0.1
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    32
set name=info.classification \
44cd216060fd PSARC/2013/061 Mock 1.0.1
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    33
    value=org.opensolaris.category.2008:Development/Python
44cd216060fd PSARC/2013/061 Mock 1.0.1
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    34
set name=info.source-url value=$(COMPONENT_ARCHIVE_URL)
44cd216060fd PSARC/2013/061 Mock 1.0.1
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    35
set name=info.upstream-url value=$(COMPONENT_PROJECT_URL)
44cd216060fd PSARC/2013/061 Mock 1.0.1
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    36
set name=org.opensolaris.arc-caseid value=PSARC/2013/061
44cd216060fd PSARC/2013/061 Mock 1.0.1
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    37
set name=org.opensolaris.consolidation value=$(CONSOLIDATION)
44cd216060fd PSARC/2013/061 Mock 1.0.1
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    38
file path=usr/lib/python$(PYVER)/vendor-packages/mock-$(COMPONENT_VERSION)-py$(PYVER).egg-info/PKG-INFO
44cd216060fd PSARC/2013/061 Mock 1.0.1
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    39
file path=usr/lib/python$(PYVER)/vendor-packages/mock-$(COMPONENT_VERSION)-py$(PYVER).egg-info/SOURCES.txt
44cd216060fd PSARC/2013/061 Mock 1.0.1
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    40
file path=usr/lib/python$(PYVER)/vendor-packages/mock-$(COMPONENT_VERSION)-py$(PYVER).egg-info/dependency_links.txt
44cd216060fd PSARC/2013/061 Mock 1.0.1
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    41
file path=usr/lib/python$(PYVER)/vendor-packages/mock-$(COMPONENT_VERSION)-py$(PYVER).egg-info/top_level.txt
44cd216060fd PSARC/2013/061 Mock 1.0.1
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    42
file path=usr/lib/python$(PYVER)/vendor-packages/mock.py
44cd216060fd PSARC/2013/061 Mock 1.0.1
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    43
license mock.license license=BSD
44cd216060fd PSARC/2013/061 Mock 1.0.1
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    44
3732
0f62cc221c7e 20440737 pkgfmt all Userland pkg(5) manifests
John Beck <John.Beck@Oracle.COM>
parents: 1948
diff changeset
    45
# force the rename with an optional dependency on the old name
0f62cc221c7e 20440737 pkgfmt all Userland pkg(5) manifests
John Beck <John.Beck@Oracle.COM>
parents: 1948
diff changeset
    46
depend type=optional \
0f62cc221c7e 20440737 pkgfmt all Userland pkg(5) manifests
John Beck <John.Beck@Oracle.COM>
parents: 1948
diff changeset
    47
    fmri=library/python-2/mock-$(PYV)@1.0.1,5.12-5.12.0.0.0.41.0
0f62cc221c7e 20440737 pkgfmt all Userland pkg(5) manifests
John Beck <John.Beck@Oracle.COM>
parents: 1948
diff changeset
    48
1231
44cd216060fd PSARC/2013/061 Mock 1.0.1
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    49
# force a dependency on the correct Python runtime package
44cd216060fd PSARC/2013/061 Mock 1.0.1
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    50
depend type=require fmri=__TBD pkg.debug.depend.file=python$(PYVER) \
44cd216060fd PSARC/2013/061 Mock 1.0.1
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    51
    pkg.debug.depend.path=usr/bin
44cd216060fd PSARC/2013/061 Mock 1.0.1
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    52
44cd216060fd PSARC/2013/061 Mock 1.0.1
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    53
# force a dependency on the mock package
44cd216060fd PSARC/2013/061 Mock 1.0.1
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    54
depend type=require \
1666
69d14d547e77 PSARC 2014/009 Python pkg(5) name-space update
John Beck <John.Beck@Oracle.COM>
parents: 1251
diff changeset
    55
    fmri=library/python/mock@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)