components/python/cherrypy/cherrypy-26.p5m
changeset 706 6e61f0012046
parent 609 775168282b2f
child 751 32bfb3fa9b60
--- a/components/python/cherrypy/cherrypy-26.p5m	Thu Feb 23 15:58:00 2012 -0800
+++ b/components/python/cherrypy/cherrypy-26.p5m	Fri Feb 24 13:30:24 2012 -0800
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
 #
 
 set name=pkg.fmri value=pkg:/library/python-2/[email protected]$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
@@ -34,7 +34,13 @@
 
 license cherrypy.copyright license=BSD
 
-depend fmri=library/python-2/[email protected] type=optional
+# force a dependency on the Python 2.6 runtime
+depend fmri=__TBD pkg.debug.depend.file=python2.6 \
+       pkg.debug.depend.path=usr/bin type=require
+
+# force a dependency on the cherrypy package
+depend fmri=library/python-2/[email protected]$(IPS_COMPONENT_VERSION),$(BUILD_VERSION) \
+       type=require
 
 dir path=usr
 dir path=usr/bin