1231
|
1 |
#
|
|
2 |
# CDDL HEADER START
|
|
3 |
#
|
|
4 |
# The contents of this file are subject to the terms of the
|
|
5 |
# Common Development and Distribution License (the "License").
|
|
6 |
# You may not use this file except in compliance with the License.
|
|
7 |
#
|
|
8 |
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
|
|
9 |
# or http://www.opensolaris.org/os/licensing.
|
|
10 |
# See the License for the specific language governing permissions
|
|
11 |
# and limitations under the License.
|
|
12 |
#
|
|
13 |
# When distributing Covered Code, include this CDDL HEADER in each
|
|
14 |
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
|
|
15 |
# If applicable, add the following below this CDDL HEADER, with the
|
|
16 |
# fields enclosed by brackets "[]" replaced with your own identifying
|
|
17 |
# information: Portions Copyright [yyyy] [name of copyright owner]
|
|
18 |
#
|
|
19 |
# CDDL HEADER END
|
|
20 |
#
|
|
21 |
# Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.
|
|
22 |
#
|
|
23 |
|
|
24 |
set name=pkg.fmri \
|
|
25 |
value=pkg:/library/python-2/mock-$(PYV)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
|
|
26 |
set name=pkg.summary value="A unittest library for creating mock objects"
|
|
27 |
set name=pkg.description \
|
|
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."
|
|
29 |
set name=com.oracle.info.description \
|
|
30 |
value="Mock, a library for creating mock objects for testing in Python"
|
|
31 |
set name=com.oracle.info.tpno value=12679
|
|
32 |
set name=info.classification \
|
|
33 |
value=org.opensolaris.category.2008:Development/Python
|
|
34 |
set name=info.source-url value=$(COMPONENT_ARCHIVE_URL)
|
|
35 |
set name=info.upstream-url value=$(COMPONENT_PROJECT_URL)
|
|
36 |
set name=org.opensolaris.arc-caseid value=PSARC/2013/061
|
|
37 |
set name=org.opensolaris.consolidation value=$(CONSOLIDATION)
|
|
38 |
file path=usr/lib/python$(PYVER)/vendor-packages/mock-$(COMPONENT_VERSION)-py$(PYVER).egg-info/PKG-INFO
|
|
39 |
file path=usr/lib/python$(PYVER)/vendor-packages/mock-$(COMPONENT_VERSION)-py$(PYVER).egg-info/SOURCES.txt
|
|
40 |
file path=usr/lib/python$(PYVER)/vendor-packages/mock-$(COMPONENT_VERSION)-py$(PYVER).egg-info/dependency_links.txt
|
|
41 |
file path=usr/lib/python$(PYVER)/vendor-packages/mock-$(COMPONENT_VERSION)-py$(PYVER).egg-info/top_level.txt
|
|
42 |
file path=usr/lib/python$(PYVER)/vendor-packages/mock.py
|
|
43 |
license mock.license license=BSD
|
|
44 |
|
|
45 |
# force a dependency on the correct Python runtime package
|
|
46 |
depend type=require fmri=__TBD pkg.debug.depend.file=python$(PYVER) \
|
|
47 |
pkg.debug.depend.path=usr/bin
|
|
48 |
|
|
49 |
# force a dependency on the mock package
|
|
50 |
depend type=require \
|
|
51 |
fmri=library/python-2/mock@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
|