components/lcms/lcms-py27.p5m
branchs11-update
changeset 3704 69ab8eca01c5
parent 3661 47545fb8aed4
--- a/components/lcms/lcms-py27.p5m	Wed Jan 28 11:07:54 2015 -0800
+++ b/components/lcms/lcms-py27.p5m	Wed Jan 28 08:53:43 2015 -0800
@@ -18,27 +18,28 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2012, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 <transform file path=usr.*/man/.+ -> default mangler.man.stability uncommitted>
 set name=pkg.fmri \
-    value=pkg:/library/python-2/lcms-27@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
-set name=pkg.summary value="Python 2.7 bindings for the Little Color Management System"
-set name=com.oracle.info.description value="the Python 2.7 bindings for the Little Color Management System"
+    value=pkg:/library/python/lcms-27@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
+set name=pkg.summary \
+    value="Python 2.7 bindings for the Little Color Management System"
+set name=com.oracle.info.description \
+    value="the Python 2.7 bindings for the Little Color Management System"
 set name=com.oracle.info.tpno value=$(TPNO)
 set name=info.classification \
     value=org.opensolaris.category.2008:System/Libraries
 set name=info.source-url value=$(COMPONENT_ARCHIVE_URL)
 set name=info.upstream-url value=$(COMPONENT_PROJECT_URL)
-set name=org.opensolaris.arc-caseid \
-    value=PSARC/2008/071
+set name=org.opensolaris.arc-caseid value=PSARC/2008/071
 set name=org.opensolaris.consolidation value=$(CONSOLIDATION)
 #
-dir path=usr
-dir path=usr/lib
-dir path=usr/lib/python2.7
-dir path=usr/lib/python2.7/vendor-packages
-dir path=usr/lib/python2.7/vendor-packages/64
+dir  path=usr
+dir  path=usr/lib
+dir  path=usr/lib/python2.7
+dir  path=usr/lib/python2.7/vendor-packages
+dir  path=usr/lib/python2.7/vendor-packages/64
 #
 file path=usr/lib/python2.7/vendor-packages/64/_lcms.so
 file path=usr/lib/python2.7/vendor-packages/_lcms.so
@@ -46,6 +47,9 @@
 #
 license lcms.license license=MIT
 
+# force the rename with an optional dependency on the old name
+depend type=optional fmri=library/python-2/[email protected],5.11-0.175.3.0.0.16.0
+
 # force a dependency on the Python 2.7 runtime
-depend fmri=__TBD pkg.debug.depend.file=python2.7 \
-       pkg.debug.depend.path=usr/bin type=require
+depend type=require fmri=__TBD pkg.debug.depend.file=python2.7 \
+    pkg.debug.depend.path=usr/bin