--- a/components/python/ply/ply-26.p5m Thu Feb 23 15:58:00 2012 -0800
+++ b/components/python/ply/ply-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/ply-26@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
@@ -34,8 +34,13 @@
license ply.copyright license=LGPLv2.1
-depend fmri=runtime/python-26 type=require
-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 ply package
+depend fmri=library/python-2/ply@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION) \
+ type=require
dir path=usr
dir path=usr/lib