author | Laszlo Peter <laszlo.peter@oracle.com> |
Wed, 07 Sep 2016 14:48:31 -0700 | |
changeset 6795 | 832c5da5f7f1 |
parent 3732 | 0f62cc221c7e |
permissions | -rw-r--r-- |
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 |
# |
|
6795
832c5da5f7f1
23207011 Upgrade mock to 1.3.0
Laszlo Peter <laszlo.peter@oracle.com>
parents:
3732
diff
changeset
|
21 |
# Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights reserved. |
1231 | 22 |
# |
23 |
||
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 | 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" |
|
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 | 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 |
|
6795
832c5da5f7f1
23207011 Upgrade mock to 1.3.0
Laszlo Peter <laszlo.peter@oracle.com>
parents:
3732
diff
changeset
|
40 |
# |
1231 | 41 |
file path=usr/lib/python$(PYVER)/vendor-packages/mock-$(COMPONENT_VERSION)-py$(PYVER).egg-info/dependency_links.txt |
6795
832c5da5f7f1
23207011 Upgrade mock to 1.3.0
Laszlo Peter <laszlo.peter@oracle.com>
parents:
3732
diff
changeset
|
42 |
file path=usr/lib/python$(PYVER)/vendor-packages/mock-$(COMPONENT_VERSION)-py$(PYVER).egg-info/not-zip-safe |
832c5da5f7f1
23207011 Upgrade mock to 1.3.0
Laszlo Peter <laszlo.peter@oracle.com>
parents:
3732
diff
changeset
|
43 |
file path=usr/lib/python$(PYVER)/vendor-packages/mock-$(COMPONENT_VERSION)-py$(PYVER).egg-info/pbr.json |
832c5da5f7f1
23207011 Upgrade mock to 1.3.0
Laszlo Peter <laszlo.peter@oracle.com>
parents:
3732
diff
changeset
|
44 |
file path=usr/lib/python$(PYVER)/vendor-packages/mock-$(COMPONENT_VERSION)-py$(PYVER).egg-info/requires.txt |
1231 | 45 |
file path=usr/lib/python$(PYVER)/vendor-packages/mock-$(COMPONENT_VERSION)-py$(PYVER).egg-info/top_level.txt |
6795
832c5da5f7f1
23207011 Upgrade mock to 1.3.0
Laszlo Peter <laszlo.peter@oracle.com>
parents:
3732
diff
changeset
|
46 |
file path=usr/lib/python$(PYVER)/vendor-packages/mock/__init__.py |
832c5da5f7f1
23207011 Upgrade mock to 1.3.0
Laszlo Peter <laszlo.peter@oracle.com>
parents:
3732
diff
changeset
|
47 |
file path=usr/lib/python$(PYVER)/vendor-packages/mock/mock.py |
832c5da5f7f1
23207011 Upgrade mock to 1.3.0
Laszlo Peter <laszlo.peter@oracle.com>
parents:
3732
diff
changeset
|
48 |
# |
832c5da5f7f1
23207011 Upgrade mock to 1.3.0
Laszlo Peter <laszlo.peter@oracle.com>
parents:
3732
diff
changeset
|
49 |
license LICENSE.txt license=BSD |
1231 | 50 |
|
3732
0f62cc221c7e
20440737 pkgfmt all Userland pkg(5) manifests
John Beck <John.Beck@Oracle.COM>
parents:
1948
diff
changeset
|
51 |
# 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
|
52 |
depend type=optional \ |
0f62cc221c7e
20440737 pkgfmt all Userland pkg(5) manifests
John Beck <John.Beck@Oracle.COM>
parents:
1948
diff
changeset
|
53 |
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
|
54 |
|
6795
832c5da5f7f1
23207011 Upgrade mock to 1.3.0
Laszlo Peter <laszlo.peter@oracle.com>
parents:
3732
diff
changeset
|
55 |
# force a dependency on the Python runtime |
1231 | 56 |
depend type=require fmri=__TBD pkg.debug.depend.file=python$(PYVER) \ |
57 |
pkg.debug.depend.path=usr/bin |
|
58 |
||
6795
832c5da5f7f1
23207011 Upgrade mock to 1.3.0
Laszlo Peter <laszlo.peter@oracle.com>
parents:
3732
diff
changeset
|
59 |
# force a dependency on funcsigs; pkgdepend work is needed to flush this out. |
832c5da5f7f1
23207011 Upgrade mock to 1.3.0
Laszlo Peter <laszlo.peter@oracle.com>
parents:
3732
diff
changeset
|
60 |
depend type=require fmri=library/python/funcsigs-$(PYV) |
832c5da5f7f1
23207011 Upgrade mock to 1.3.0
Laszlo Peter <laszlo.peter@oracle.com>
parents:
3732
diff
changeset
|
61 |
|
1231 | 62 |
# force a dependency on the mock package |
63 |
depend type=require \ |
|
1666
69d14d547e77
PSARC 2014/009 Python pkg(5) name-space update
John Beck <John.Beck@Oracle.COM>
parents:
1251
diff
changeset
|
64 |
fmri=library/python/mock@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION) |
6795
832c5da5f7f1
23207011 Upgrade mock to 1.3.0
Laszlo Peter <laszlo.peter@oracle.com>
parents:
3732
diff
changeset
|
65 |
|
832c5da5f7f1
23207011 Upgrade mock to 1.3.0
Laszlo Peter <laszlo.peter@oracle.com>
parents:
3732
diff
changeset
|
66 |
# force a dependency on pbr; pkgdepend work is needed to flush this out. |
832c5da5f7f1
23207011 Upgrade mock to 1.3.0
Laszlo Peter <laszlo.peter@oracle.com>
parents:
3732
diff
changeset
|
67 |
depend type=require fmri=library/python/pbr-$(PYV) |
832c5da5f7f1
23207011 Upgrade mock to 1.3.0
Laszlo Peter <laszlo.peter@oracle.com>
parents:
3732
diff
changeset
|
68 |
|
832c5da5f7f1
23207011 Upgrade mock to 1.3.0
Laszlo Peter <laszlo.peter@oracle.com>
parents:
3732
diff
changeset
|
69 |
# force a dependency on six; pkgdepend work is needed to flush this out. |
832c5da5f7f1
23207011 Upgrade mock to 1.3.0
Laszlo Peter <laszlo.peter@oracle.com>
parents:
3732
diff
changeset
|
70 |
depend type=require fmri=library/python/six-$(PYV) |