author | Mike Sullivan <Mike.Sullivan@Oracle.COM> |
Mon, 22 Jun 2015 22:20:27 -0700 | |
branch | s11-update |
changeset 4522 | 7e88fbb75e6f |
parent 3704 | 69ab8eca01c5 |
permissions | -rw-r--r-- |
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:
3661
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:
3661
diff
changeset
|
25 |
value=pkg:/library/python/pytest-capturelog-$(PYV)@$(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="A pytest plugin to capture log messages" |
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="The capturelog pytest plugin when installed will cause log messages to be captured by default and for each failed test, standard output and error will be captured in the same manner. By default, each captured log message shows the module, line number, log level, and message. If desired, the log format and date format can be specified to anything that the logging module supports." |
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 value="the Python pytest-capturelog module" |
3661
47545fb8aed4
18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents:
2881
diff
changeset
|
30 |
set name=com.oracle.info.tpno value=$(TPNO) |
2881
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-url value=$(COMPONENT_PROJECT_URL) |
8cae3c148a42
PSARC 2013/337 unittest2 version 0.5.1
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
35 |
set name=org.opensolaris.arc-caseid value=PSARC/2013/371 |
8cae3c148a42
PSARC 2013/337 unittest2 version 0.5.1
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
36 |
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
|
37 |
file path=usr/lib/python$(PYVER)/vendor-packages/pytest_capturelog-$(COMPONENT_VERSION)-py$(PYVER).egg-info/PKG-INFO |
8cae3c148a42
PSARC 2013/337 unittest2 version 0.5.1
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
38 |
file path=usr/lib/python$(PYVER)/vendor-packages/pytest_capturelog-$(COMPONENT_VERSION)-py$(PYVER).egg-info/SOURCES.txt |
8cae3c148a42
PSARC 2013/337 unittest2 version 0.5.1
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
39 |
file path=usr/lib/python$(PYVER)/vendor-packages/pytest_capturelog-$(COMPONENT_VERSION)-py$(PYVER).egg-info/dependency_links.txt |
8cae3c148a42
PSARC 2013/337 unittest2 version 0.5.1
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
40 |
file path=usr/lib/python$(PYVER)/vendor-packages/pytest_capturelog-$(COMPONENT_VERSION)-py$(PYVER).egg-info/entry_points.txt |
8cae3c148a42
PSARC 2013/337 unittest2 version 0.5.1
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
41 |
file path=usr/lib/python$(PYVER)/vendor-packages/pytest_capturelog-$(COMPONENT_VERSION)-py$(PYVER).egg-info/not-zip-safe |
8cae3c148a42
PSARC 2013/337 unittest2 version 0.5.1
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
42 |
file path=usr/lib/python$(PYVER)/vendor-packages/pytest_capturelog-$(COMPONENT_VERSION)-py$(PYVER).egg-info/requires.txt |
8cae3c148a42
PSARC 2013/337 unittest2 version 0.5.1
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
43 |
file path=usr/lib/python$(PYVER)/vendor-packages/pytest_capturelog-$(COMPONENT_VERSION)-py$(PYVER).egg-info/top_level.txt |
8cae3c148a42
PSARC 2013/337 unittest2 version 0.5.1
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
44 |
file path=usr/lib/python$(PYVER)/vendor-packages/pytest_capturelog.py |
8cae3c148a42
PSARC 2013/337 unittest2 version 0.5.1
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
45 |
license pytest-capturelog.license license=MIT |
8cae3c148a42
PSARC 2013/337 unittest2 version 0.5.1
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
46 |
|
3704
69ab8eca01c5
PSARC 2014/009 Python pkg(5) name-space update
John Beck <John.Beck@Oracle.COM>
parents:
3661
diff
changeset
|
47 |
# 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:
3661
diff
changeset
|
48 |
depend type=optional \ |
69ab8eca01c5
PSARC 2014/009 Python pkg(5) name-space update
John Beck <John.Beck@Oracle.COM>
parents:
3661
diff
changeset
|
49 |
fmri=library/python-2/pytest-capturelog-$(PYV)@0.7,5.11-0.175.3.0.0.16.0 |
69ab8eca01c5
PSARC 2014/009 Python pkg(5) name-space update
John Beck <John.Beck@Oracle.COM>
parents:
3661
diff
changeset
|
50 |
|
2881
8cae3c148a42
PSARC 2013/337 unittest2 version 0.5.1
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
51 |
# force a dependency on the Python runtime |
8cae3c148a42
PSARC 2013/337 unittest2 version 0.5.1
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
52 |
depend type=require fmri=__TBD pkg.debug.depend.file=python$(PYVER) \ |
8cae3c148a42
PSARC 2013/337 unittest2 version 0.5.1
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
53 |
pkg.debug.depend.path=usr/bin |
8cae3c148a42
PSARC 2013/337 unittest2 version 0.5.1
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
54 |
|
8cae3c148a42
PSARC 2013/337 unittest2 version 0.5.1
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
55 |
# force a dependency on pytest |
3704
69ab8eca01c5
PSARC 2014/009 Python pkg(5) name-space update
John Beck <John.Beck@Oracle.COM>
parents:
3661
diff
changeset
|
56 |
depend type=require fmri=library/python/pytest-$(PYV) |
2881
8cae3c148a42
PSARC 2013/337 unittest2 version 0.5.1
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
57 |
|
8cae3c148a42
PSARC 2013/337 unittest2 version 0.5.1
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
58 |
# force a dependency on the pytest-capturelog package |
8cae3c148a42
PSARC 2013/337 unittest2 version 0.5.1
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
59 |
depend type=require \ |
3704
69ab8eca01c5
PSARC 2014/009 Python pkg(5) name-space update
John Beck <John.Beck@Oracle.COM>
parents:
3661
diff
changeset
|
60 |
fmri=library/python/pytest-capturelog@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION) |