components/python/paste/paste-PYVER.p5m
branchs11-update
changeset 3704 69ab8eca01c5
parent 3661 47545fb8aed4
--- a/components/python/paste/paste-PYVER.p5m	Wed Jan 28 11:07:54 2015 -0800
+++ b/components/python/paste/paste-PYVER.p5m	Wed Jan 28 08:53:43 2015 -0800
@@ -18,11 +18,11 @@
 #
 # 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.
 #
 
 set name=pkg.fmri \
-    value=pkg:/library/python-2/paste-$(PYV)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
+    value=pkg:/library/python/paste-$(PYV)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
 set name=pkg.summary \
     value="Tools for using a Web Server Gateway Interface stack"
 set name=pkg.description \
@@ -136,14 +136,18 @@
 file path=usr/lib/python$(PYVER)/vendor-packages/paste/wsgiwrappers.py
 license paste.license license="MIT, PSF"
 
+# force the rename with an optional dependency on the old name
+depend type=optional \
+    fmri=library/python-2/paste-$(PYV)@1.7.5.1,5.11-0.175.3.0.0.16.0
+
 # force a dependency on the Python runtime
 depend type=require fmri=__TBD pkg.debug.depend.file=python$(PYVER) \
     pkg.debug.depend.path=usr/bin
 
 # force a dependency on paste.deploy; pkgdepend work is needed to flush this
 # out.
-depend type=require fmri=library/python-2/paste.deploy-$(PYV)
+depend type=require fmri=library/python/paste.deploy-$(PYV)
 
 # force a dependency on the paste package
 depend type=require \
-    fmri=library/python-2/paste@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
+    fmri=library/python/paste@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)