|
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, 2015, Oracle and/or its affiliates. All rights reserved. |
|
24 # |
|
25 |
|
26 set name=pkg.fmri \ |
|
27 value=pkg:/library/python/pecan-$(PYV)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION) |
|
28 set name=pkg.summary value="A WSGI object-dispatching web framework" |
|
29 set name=pkg.description \ |
|
30 value="Pecan is a lean Python web framework inspired by CherryPy, TurboGears, and Pylons. It was created to fill a void in the Python web-framework world - a very lightweight framework that provides object-dispatch style routing. Pecan does not aim to be a 'full stack' framework, and therefore includes no out of the box support for things like sessions or databases (although tutorials are included for integrating these yourself in just a few lines of code). Pecan instead focuses on HTTP itself. Although it is lightweight, Pecan does offer an extensive feature set for building HTTP-based applications, including: object-dispatch for easy routing; full support for REST-style controllers; extensible security framework; extensible template language support; extensible JSON support; easy Python-based configuration." |
|
31 set name=com.oracle.info.description \ |
|
32 value="the Pecan WSGI object-dispatching web framework" |
|
33 set name=com.oracle.info.tpno value=$(TPNO) |
|
34 set name=info.classification \ |
|
35 value=org.opensolaris.category.2008:Development/Python \ |
|
36 value="org.opensolaris.category.2008:Web Services/Application and Web Servers" |
|
37 set name=info.source-url value=$(COMPONENT_ARCHIVE_URL) |
|
38 set name=info.upstream value="Pecan <[email protected]>" |
|
39 set name=info.upstream-url value=$(COMPONENT_PROJECT_URL) |
|
40 set name=org.opensolaris.arc-caseid value=PSARC/2015/070 |
|
41 set name=org.opensolaris.consolidation value=$(CONSOLIDATION) |
|
42 # |
|
43 link path=usr/bin/pecan target=pecan-$(PYVER) mediator=python \ |
|
44 mediator-version=$(PYVER) |
|
45 file path=usr/bin/pecan-$(PYVER) |
|
46 file path=usr/lib/python$(PYVER)/vendor-packages/pecan-$(COMPONENT_VERSION)-py$(PYVER).egg-info/PKG-INFO |
|
47 file path=usr/lib/python$(PYVER)/vendor-packages/pecan-$(COMPONENT_VERSION)-py$(PYVER).egg-info/SOURCES.txt |
|
48 file path=usr/lib/python$(PYVER)/vendor-packages/pecan-$(COMPONENT_VERSION)-py$(PYVER).egg-info/dependency_links.txt |
|
49 file path=usr/lib/python$(PYVER)/vendor-packages/pecan-$(COMPONENT_VERSION)-py$(PYVER).egg-info/entry_points.txt |
|
50 file path=usr/lib/python$(PYVER)/vendor-packages/pecan-$(COMPONENT_VERSION)-py$(PYVER).egg-info/not-zip-safe |
|
51 file path=usr/lib/python$(PYVER)/vendor-packages/pecan-$(COMPONENT_VERSION)-py$(PYVER).egg-info/requires.txt |
|
52 file path=usr/lib/python$(PYVER)/vendor-packages/pecan-$(COMPONENT_VERSION)-py$(PYVER).egg-info/top_level.txt |
|
53 file path=usr/lib/python$(PYVER)/vendor-packages/pecan/__init__.py |
|
54 file path=usr/lib/python$(PYVER)/vendor-packages/pecan/commands/__init__.py |
|
55 file path=usr/lib/python$(PYVER)/vendor-packages/pecan/commands/base.py |
|
56 file path=usr/lib/python$(PYVER)/vendor-packages/pecan/commands/create.py |
|
57 file path=usr/lib/python$(PYVER)/vendor-packages/pecan/commands/serve.py |
|
58 file path=usr/lib/python$(PYVER)/vendor-packages/pecan/commands/shell.py |
|
59 file path=usr/lib/python$(PYVER)/vendor-packages/pecan/compat/__init__.py |
|
60 file path=usr/lib/python$(PYVER)/vendor-packages/pecan/configuration.py |
|
61 file path=usr/lib/python$(PYVER)/vendor-packages/pecan/core.py |
|
62 file path=usr/lib/python$(PYVER)/vendor-packages/pecan/decorators.py |
|
63 file path=usr/lib/python$(PYVER)/vendor-packages/pecan/deploy.py |
|
64 file path=usr/lib/python$(PYVER)/vendor-packages/pecan/ext/__init__.py |
|
65 file path=usr/lib/python$(PYVER)/vendor-packages/pecan/extensions.py |
|
66 file path=usr/lib/python$(PYVER)/vendor-packages/pecan/hooks.py |
|
67 file path=usr/lib/python$(PYVER)/vendor-packages/pecan/jsonify.py |
|
68 file path=usr/lib/python$(PYVER)/vendor-packages/pecan/log.py |
|
69 file path=usr/lib/python$(PYVER)/vendor-packages/pecan/middleware/__init__.py |
|
70 file path=usr/lib/python$(PYVER)/vendor-packages/pecan/middleware/debug.py |
|
71 file path=usr/lib/python$(PYVER)/vendor-packages/pecan/middleware/errordocument.py |
|
72 file path=usr/lib/python$(PYVER)/vendor-packages/pecan/middleware/recursive.py |
|
73 file path=usr/lib/python$(PYVER)/vendor-packages/pecan/middleware/resources/XRegExp.js |
|
74 file path=usr/lib/python$(PYVER)/vendor-packages/pecan/middleware/resources/__init__.py |
|
75 file path=usr/lib/python$(PYVER)/vendor-packages/pecan/middleware/resources/brush-python.js |
|
76 file path=usr/lib/python$(PYVER)/vendor-packages/pecan/middleware/resources/pecan.png |
|
77 file path=usr/lib/python$(PYVER)/vendor-packages/pecan/middleware/resources/shCore.js |
|
78 file path=usr/lib/python$(PYVER)/vendor-packages/pecan/middleware/resources/syntax.css |
|
79 file path=usr/lib/python$(PYVER)/vendor-packages/pecan/middleware/resources/theme.css |
|
80 file path=usr/lib/python$(PYVER)/vendor-packages/pecan/middleware/static.py |
|
81 file path=usr/lib/python$(PYVER)/vendor-packages/pecan/rest.py |
|
82 file path=usr/lib/python$(PYVER)/vendor-packages/pecan/routing.py |
|
83 file path=usr/lib/python$(PYVER)/vendor-packages/pecan/scaffolds/__init__.py |
|
84 file path=usr/lib/python$(PYVER)/vendor-packages/pecan/scaffolds/base/+package+/__init__.py |
|
85 file path=usr/lib/python$(PYVER)/vendor-packages/pecan/scaffolds/base/+package+/app.py_tmpl |
|
86 file path=usr/lib/python$(PYVER)/vendor-packages/pecan/scaffolds/base/+package+/controllers/__init__.py |
|
87 file path=usr/lib/python$(PYVER)/vendor-packages/pecan/scaffolds/base/+package+/controllers/root.py |
|
88 file path=usr/lib/python$(PYVER)/vendor-packages/pecan/scaffolds/base/+package+/model/__init__.py |
|
89 file path=usr/lib/python$(PYVER)/vendor-packages/pecan/scaffolds/base/+package+/templates/error.html |
|
90 file path=usr/lib/python$(PYVER)/vendor-packages/pecan/scaffolds/base/+package+/templates/index.html |
|
91 file path=usr/lib/python$(PYVER)/vendor-packages/pecan/scaffolds/base/+package+/templates/layout.html |
|
92 file path=usr/lib/python$(PYVER)/vendor-packages/pecan/scaffolds/base/+package+/tests/__init__.py_tmpl |
|
93 file path=usr/lib/python$(PYVER)/vendor-packages/pecan/scaffolds/base/+package+/tests/config.py_tmpl |
|
94 file path=usr/lib/python$(PYVER)/vendor-packages/pecan/scaffolds/base/+package+/tests/test_functional.py_tmpl |
|
95 file path=usr/lib/python$(PYVER)/vendor-packages/pecan/scaffolds/base/+package+/tests/test_units.py |
|
96 file path=usr/lib/python$(PYVER)/vendor-packages/pecan/scaffolds/base/MANIFEST.in |
|
97 file path=usr/lib/python$(PYVER)/vendor-packages/pecan/scaffolds/base/config.py_tmpl |
|
98 file path=usr/lib/python$(PYVER)/vendor-packages/pecan/scaffolds/base/public/css/style.css |
|
99 file path=usr/lib/python$(PYVER)/vendor-packages/pecan/scaffolds/base/public/images/logo.png |
|
100 file path=usr/lib/python$(PYVER)/vendor-packages/pecan/scaffolds/base/setup.cfg_tmpl |
|
101 file path=usr/lib/python$(PYVER)/vendor-packages/pecan/scaffolds/base/setup.py_tmpl |
|
102 file path=usr/lib/python$(PYVER)/vendor-packages/pecan/scaffolds/rest-api/+package+/__init__.py |
|
103 file path=usr/lib/python$(PYVER)/vendor-packages/pecan/scaffolds/rest-api/+package+/app.py_tmpl |
|
104 file path=usr/lib/python$(PYVER)/vendor-packages/pecan/scaffolds/rest-api/+package+/controllers/__init__.py |
|
105 file path=usr/lib/python$(PYVER)/vendor-packages/pecan/scaffolds/rest-api/+package+/controllers/root.py |
|
106 file path=usr/lib/python$(PYVER)/vendor-packages/pecan/scaffolds/rest-api/+package+/errors.py |
|
107 file path=usr/lib/python$(PYVER)/vendor-packages/pecan/scaffolds/rest-api/+package+/model/__init__.py |
|
108 file path=usr/lib/python$(PYVER)/vendor-packages/pecan/scaffolds/rest-api/+package+/tests/__init__.py_tmpl |
|
109 file path=usr/lib/python$(PYVER)/vendor-packages/pecan/scaffolds/rest-api/+package+/tests/config.py_tmpl |
|
110 file path=usr/lib/python$(PYVER)/vendor-packages/pecan/scaffolds/rest-api/+package+/tests/test_functional.py_tmpl |
|
111 file path=usr/lib/python$(PYVER)/vendor-packages/pecan/scaffolds/rest-api/+package+/tests/test_units.py |
|
112 file path=usr/lib/python$(PYVER)/vendor-packages/pecan/scaffolds/rest-api/config.py_tmpl |
|
113 file path=usr/lib/python$(PYVER)/vendor-packages/pecan/scaffolds/rest-api/setup.cfg_tmpl |
|
114 file path=usr/lib/python$(PYVER)/vendor-packages/pecan/scaffolds/rest-api/setup.py_tmpl |
|
115 file path=usr/lib/python$(PYVER)/vendor-packages/pecan/secure.py |
|
116 file path=usr/lib/python$(PYVER)/vendor-packages/pecan/templating.py |
|
117 file path=usr/lib/python$(PYVER)/vendor-packages/pecan/testing.py |
|
118 file path=usr/lib/python$(PYVER)/vendor-packages/pecan/util.py |
|
119 # |
|
120 license LICENSE license=BSD |
|
121 |
|
122 # force a group dependency on the optional jinja2; pkgdepend work is needed to |
|
123 # flush this out. |
|
124 depend type=group fmri=library/python/jinja2-$(PYV) |
|
125 |
|
126 # force a group dependency on the optional simplejson; pkgdepend work is needed |
|
127 # to flush this out. |
|
128 depend type=group fmri=library/python/simplejson-$(PYV) |
|
129 |
|
130 # force a group dependency on the optional sqlalchemy; pkgdepend work is needed |
|
131 # to flush this out. |
|
132 depend type=group fmri=library/python/sqlalchemy-$(PYV) |
|
133 |
|
134 # force a dependency on argparse; pkgdepend work is needed to flush this out. |
|
135 depend type=require fmri=library/python/argparse-$(PYV) |
|
136 |
|
137 # force a dependency on logutils; pkgdepend work is needed to flush this out. |
|
138 depend type=require fmri=library/python/logutils-$(PYV) |
|
139 |
|
140 # force a dependency on mako; pkgdepend work is needed to flush this out. |
|
141 depend type=require fmri=library/python/mako-$(PYV) |
|
142 |
|
143 # force a dependency on the pecan package |
|
144 depend type=require \ |
|
145 fmri=library/python/pecan@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION) |
|
146 |
|
147 # force a dependency on singledispatch; pkgdepend work is needed to flush this |
|
148 # out. |
|
149 depend type=require fmri=library/python/singledispatch-$(PYV) |
|
150 |
|
151 # force a dependency on six; pkgdepend work is needed to flush this out. |
|
152 depend type=require fmri=library/python/six-$(PYV) |
|
153 |
|
154 # force a dependency on webob; pkgdepend work is needed to flush this out. |
|
155 depend type=require fmri=library/python/webob-$(PYV) |
|
156 |
|
157 # force a dependency on webtest; pkgdepend work is needed to flush this out. |
|
158 depend type=require fmri=library/python/webtest-$(PYV) |