|
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 |
|
22 # |
|
23 # Copyright (c) 2014, 2016, Oracle and/or its affiliates. All rights reserved. |
|
24 # |
|
25 |
|
26 set name=pkg.fmri \ |
|
27 value=pkg:/library/python/testscenarios-$(PYV)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION) |
|
28 set name=pkg.summary value="Extensions to Python unittest to support scenarios" |
|
29 set name=pkg.description \ |
|
30 value="testscenarios provides clean dependency injection for Python unittest style tests. This can be used for interface testing (testing many implementations via a single test suite) or for classic dependency injection (provide tests with dependencies externally to the test code itself, allowing easy testing in different situations)." |
|
31 set name=com.oracle.info.description value="the Python testscenarios module" |
|
32 set name=com.oracle.info.tpno value=$(TPNO) |
|
33 set name=info.classification \ |
|
34 value=org.opensolaris.category.2008:Development/Python |
|
35 set name=info.source-url value=$(COMPONENT_ARCHIVE_URL) |
|
36 set name=info.upstream value="Robert Collins <[email protected]>" |
|
37 set name=info.upstream-url value=$(COMPONENT_PROJECT_URL) |
|
38 set name=org.opensolaris.arc-caseid value=PSARC/2015/473 |
|
39 set name=org.opensolaris.consolidation value=$(CONSOLIDATION) |
|
40 # |
|
41 file path=usr/lib/python$(PYVER)/vendor-packages/testscenarios-$(COMPONENT_VERSION)-py$(PYVER).egg-info/PKG-INFO |
|
42 file path=usr/lib/python$(PYVER)/vendor-packages/testscenarios-$(COMPONENT_VERSION)-py$(PYVER).egg-info/SOURCES.txt |
|
43 file path=usr/lib/python$(PYVER)/vendor-packages/testscenarios-$(COMPONENT_VERSION)-py$(PYVER).egg-info/dependency_links.txt |
|
44 file path=usr/lib/python$(PYVER)/vendor-packages/testscenarios-$(COMPONENT_VERSION)-py$(PYVER).egg-info/not-zip-safe |
|
45 file path=usr/lib/python$(PYVER)/vendor-packages/testscenarios-$(COMPONENT_VERSION)-py$(PYVER).egg-info/pbr.json |
|
46 file path=usr/lib/python$(PYVER)/vendor-packages/testscenarios-$(COMPONENT_VERSION)-py$(PYVER).egg-info/requires.txt |
|
47 file path=usr/lib/python$(PYVER)/vendor-packages/testscenarios-$(COMPONENT_VERSION)-py$(PYVER).egg-info/top_level.txt |
|
48 file path=usr/lib/python$(PYVER)/vendor-packages/testscenarios/__init__.py |
|
49 file path=usr/lib/python$(PYVER)/vendor-packages/testscenarios/scenarios.py |
|
50 file path=usr/lib/python$(PYVER)/vendor-packages/testscenarios/testcase.py |
|
51 # |
|
52 license testscenarios.license license="Apache v2.0, BSD" |
|
53 |
|
54 # force a dependency on the Python runtime |
|
55 depend type=require fmri=__TBD pkg.debug.depend.file=python$(PYVER) \ |
|
56 pkg.debug.depend.path=usr/bin |
|
57 |
|
58 # force a dependency on the testscenarios package |
|
59 depend type=require \ |
|
60 fmri=library/python/testscenarios@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION) |
|
61 |
|
62 # force a dependency on testtools; pkgdepend work is needed to flush this out. |
|
63 depend type=require fmri=library/python/testtools-$(PYV) |