18 # |
18 # |
19 # CDDL HEADER END |
19 # CDDL HEADER END |
20 # |
20 # |
21 |
21 |
22 # |
22 # |
23 # Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved. |
23 # Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved. |
24 # |
24 # |
25 |
25 |
26 set name=pkg.fmri \ |
26 set name=pkg.fmri \ |
27 value=pkg:/library/python/swiftclient-$(PYV)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION) |
27 value=pkg:/library/python/swiftclient-$(PYV)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION) |
28 set name=pkg.summary \ |
28 set name=pkg.summary \ |
29 value="Python and command-line clients for the OpenStack Swift API" |
29 value="Python and command-line clients for the OpenStack Object Storage API" |
30 set name=pkg.description \ |
30 set name=pkg.description \ |
31 value="A python client for the OpenStack Object Storage API. There's a Python API (the 'swiftclient' module), and a command-line script ('swift')." |
31 value="A python client for the OpenStack Object Storage API. There's a Python API (the 'swiftclient' module), and a command-line script ('swift')." |
32 set name=com.oracle.info.description \ |
32 set name=com.oracle.info.description \ |
33 value="swiftclient, the Python bindings to the OpenStack Object Storage API" |
33 value="swiftclient, the Python bindings to the OpenStack Object Storage API" |
34 set name=com.oracle.info.tpno value=$(TPNO) |
34 set name=com.oracle.info.tpno value=$(TPNO) |
39 set name=info.source-url value=$(COMPONENT_ARCHIVE_URL) |
39 set name=info.source-url value=$(COMPONENT_ARCHIVE_URL) |
40 set name=info.upstream value="OpenStack <[email protected]>" |
40 set name=info.upstream value="OpenStack <[email protected]>" |
41 set name=info.upstream-url value=$(COMPONENT_PROJECT_URL) |
41 set name=info.upstream-url value=$(COMPONENT_PROJECT_URL) |
42 set name=org.opensolaris.arc-caseid value=PSARC/2014/007 |
42 set name=org.opensolaris.arc-caseid value=PSARC/2014/007 |
43 set name=org.opensolaris.consolidation value=$(CONSOLIDATION) |
43 set name=org.opensolaris.consolidation value=$(CONSOLIDATION) |
|
44 # |
44 link path=usr/bin/swift target=swift-$(PYVER) mediator=python \ |
45 link path=usr/bin/swift target=swift-$(PYVER) mediator=python \ |
45 mediator-version=$(PYVER) |
46 mediator-version=$(PYVER) |
46 file path=usr/bin/swift-$(PYVER) |
47 file path=usr/bin/swift-$(PYVER) |
47 file path=usr/lib/python$(PYVER)/vendor-packages/python_swiftclient-$(COMPONENT_VERSION)-py$(PYVER).egg-info/PKG-INFO |
48 file path=usr/lib/python$(PYVER)/vendor-packages/python_swiftclient-$(COMPONENT_VERSION)-py$(PYVER).egg-info/PKG-INFO |
48 file path=usr/lib/python$(PYVER)/vendor-packages/python_swiftclient-$(COMPONENT_VERSION)-py$(PYVER).egg-info/SOURCES.txt |
49 file path=usr/lib/python$(PYVER)/vendor-packages/python_swiftclient-$(COMPONENT_VERSION)-py$(PYVER).egg-info/SOURCES.txt |
49 file path=usr/lib/python$(PYVER)/vendor-packages/python_swiftclient-$(COMPONENT_VERSION)-py$(PYVER).egg-info/dependency_links.txt |
50 file path=usr/lib/python$(PYVER)/vendor-packages/python_swiftclient-$(COMPONENT_VERSION)-py$(PYVER).egg-info/dependency_links.txt |
|
51 file path=usr/lib/python$(PYVER)/vendor-packages/python_swiftclient-$(COMPONENT_VERSION)-py$(PYVER).egg-info/entry_points.txt |
50 file path=usr/lib/python$(PYVER)/vendor-packages/python_swiftclient-$(COMPONENT_VERSION)-py$(PYVER).egg-info/not-zip-safe |
52 file path=usr/lib/python$(PYVER)/vendor-packages/python_swiftclient-$(COMPONENT_VERSION)-py$(PYVER).egg-info/not-zip-safe |
51 file path=usr/lib/python$(PYVER)/vendor-packages/python_swiftclient-$(COMPONENT_VERSION)-py$(PYVER).egg-info/requires.txt |
53 file path=usr/lib/python$(PYVER)/vendor-packages/python_swiftclient-$(COMPONENT_VERSION)-py$(PYVER).egg-info/requires.txt |
52 file path=usr/lib/python$(PYVER)/vendor-packages/python_swiftclient-$(COMPONENT_VERSION)-py$(PYVER).egg-info/top_level.txt |
54 file path=usr/lib/python$(PYVER)/vendor-packages/python_swiftclient-$(COMPONENT_VERSION)-py$(PYVER).egg-info/top_level.txt |
53 file path=usr/lib/python$(PYVER)/vendor-packages/swiftclient/__init__.py |
55 file path=usr/lib/python$(PYVER)/vendor-packages/swiftclient/__init__.py |
54 file path=usr/lib/python$(PYVER)/vendor-packages/swiftclient/client.py |
56 file path=usr/lib/python$(PYVER)/vendor-packages/swiftclient/client.py |
55 file path=usr/lib/python$(PYVER)/vendor-packages/swiftclient/command_helpers.py |
57 file path=usr/lib/python$(PYVER)/vendor-packages/swiftclient/command_helpers.py |
56 file path=usr/lib/python$(PYVER)/vendor-packages/swiftclient/exceptions.py |
58 file path=usr/lib/python$(PYVER)/vendor-packages/swiftclient/exceptions.py |
57 file path=usr/lib/python$(PYVER)/vendor-packages/swiftclient/multithreading.py |
59 file path=usr/lib/python$(PYVER)/vendor-packages/swiftclient/multithreading.py |
58 file path=usr/lib/python$(PYVER)/vendor-packages/swiftclient/shell.py \ |
60 file path=usr/lib/python$(PYVER)/vendor-packages/swiftclient/service.py |
59 pkg.depend.bypass-generate=.*/six.* |
61 file path=usr/lib/python$(PYVER)/vendor-packages/swiftclient/shell.py |
60 file path=usr/lib/python$(PYVER)/vendor-packages/swiftclient/utils.py |
62 file path=usr/lib/python$(PYVER)/vendor-packages/swiftclient/utils.py |
61 file path=usr/lib/python$(PYVER)/vendor-packages/swiftclient/version.py |
63 file path=usr/lib/python$(PYVER)/vendor-packages/swiftclient/version.py |
|
64 # |
62 license swiftclient.license license="Apache v2.0" |
65 license swiftclient.license license="Apache v2.0" |
63 |
66 |
64 # force a group dependency on the optional keystoneclient; pkgdepend work is |
67 # force a group dependency on the optional keystoneclient; pkgdepend work is |
65 # needed to flush this out. |
68 # needed to flush this out. |
66 depend type=group fmri=library/python/keystoneclient-$(PYV) |
69 depend type=group fmri=library/python/keystoneclient-$(PYV) |
67 |
70 |
68 # force a group dependency on the optional pbr; pkgdepend work is needed to |
71 # force a group dependency on the optional simplejson; pkgdepend work is needed |
69 # flush this out. |
72 # to flush this out. |
70 depend type=group fmri=library/python/pbr-$(PYV) |
73 depend type=group fmri=library/python/simplejson-$(PYV) |
71 |
74 |
72 # force a group dependency on the optional simplejson; pkgdepend work is |
75 # force a dependency on futures; pkgdepend work is needed to flush this out. |
73 # needed to flush this out. |
76 depend type=require fmri=library/python/futures-$(PYV) |
74 depend type=group fmri=library/python/simplejson-$(PYV) |
|
75 |
77 |
76 # force a dependency on requests; pkgdepend work is needed to flush this out. |
78 # force a dependency on requests; pkgdepend work is needed to flush this out. |
77 depend type=require fmri=library/python/requests-$(PYV) |
79 depend type=require fmri=library/python/requests-$(PYV) |
78 |
80 |
79 # force a dependency on setuptools; pkgdepend work is needed to flush this out. |
81 # force a dependency on setuptools; pkgdepend work is needed to flush this out. |
80 depend type=require fmri=library/python/setuptools-$(PYV) |
82 depend type=require fmri=library/python/setuptools-$(PYV) |
81 |
83 |
|
84 # force a dependency on six; pkgdepend work is needed to flush this out. |
|
85 depend type=require fmri=library/python/six-$(PYV) |
|
86 |
82 # force a dependency on the swiftclient package |
87 # force a dependency on the swiftclient package |
83 depend type=require \ |
88 depend type=require \ |
84 fmri=library/python/swiftclient@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION) |
89 fmri=library/python/swiftclient@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION) |