16 # fields enclosed by brackets "[]" replaced with your own identifying |
16 # fields enclosed by brackets "[]" replaced with your own identifying |
17 # information: Portions Copyright [yyyy] [name of copyright owner] |
17 # information: Portions Copyright [yyyy] [name of copyright owner] |
18 # |
18 # |
19 # CDDL HEADER END |
19 # CDDL HEADER END |
20 # |
20 # |
21 # Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved. |
21 # Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved. |
22 # |
22 # |
23 |
23 |
24 set name=pkg.fmri \ |
24 set name=pkg.fmri \ |
25 value=pkg:/library/python-2/stevedore-$(PYV)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION) |
25 value=pkg:/library/python/stevedore-$(PYV)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION) |
26 set name=pkg.summary value="Manage dynamic plugins for Python applications" |
26 set name=pkg.summary value="Manage dynamic plugins for Python applications" |
27 set name=pkg.description \ |
27 set name=pkg.description \ |
28 value="Python makes loading code dynamically easy, allowing you to configure and extend your application by discovering and loading extensions ('plugins') at runtime. Many applications implement their own library for doing this, using __import__ or importlib. stevedore avoids creating yet another extension mechanism by building on top of setuptools entry points. The code for managing entry points tends to be repetitive, though, so stevedore provides manager classes for implementing common patterns for using dynamically loaded extensions." |
28 value="Python makes loading code dynamically easy, allowing you to configure and extend your application by discovering and loading extensions ('plugins') at runtime. Many applications implement their own library for doing this, using __import__ or importlib. stevedore avoids creating yet another extension mechanism by building on top of setuptools entry points. The code for managing entry points tends to be repetitive, though, so stevedore provides manager classes for implementing common patterns for using dynamically loaded extensions." |
29 set name=com.oracle.info.description value="the Python stevedore module" |
29 set name=com.oracle.info.description value="the Python stevedore module" |
30 set name=com.oracle.info.tpno value=$(TPNO) |
30 set name=com.oracle.info.tpno value=$(TPNO) |
66 file path=usr/lib/python$(PYVER)/vendor-packages/stevedore/tests/test_extension.py |
66 file path=usr/lib/python$(PYVER)/vendor-packages/stevedore/tests/test_extension.py |
67 file path=usr/lib/python$(PYVER)/vendor-packages/stevedore/tests/test_hook.py |
67 file path=usr/lib/python$(PYVER)/vendor-packages/stevedore/tests/test_hook.py |
68 file path=usr/lib/python$(PYVER)/vendor-packages/stevedore/tests/test_named.py |
68 file path=usr/lib/python$(PYVER)/vendor-packages/stevedore/tests/test_named.py |
69 license LICENSE license="Apache v2.0" |
69 license LICENSE license="Apache v2.0" |
70 |
70 |
|
71 # force the rename with an optional dependency on the old name |
|
72 depend type=optional \ |
|
73 fmri=library/python-2/stevedore-$(PYV)@0.10,5.11-0.175.3.0.0.16.0 |
|
74 |
71 # force a dependency on the Python runtime |
75 # force a dependency on the Python runtime |
72 depend type=require fmri=__TBD pkg.debug.depend.file=python$(PYVER) \ |
76 depend type=require fmri=__TBD pkg.debug.depend.file=python$(PYVER) \ |
73 pkg.debug.depend.path=usr/bin |
77 pkg.debug.depend.path=usr/bin |
74 |
78 |
75 # force a dependency on the stevedore package |
79 # force a dependency on the stevedore package |
76 depend type=require \ |
80 depend type=require \ |
77 fmri=library/python-2/stevedore@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION) |
81 fmri=library/python/stevedore@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION) |