components/python/jsonpatch/jsonpatch-PYVER.p5m
branchs11-update
changeset 3704 69ab8eca01c5
parent 3661 47545fb8aed4
--- a/components/python/jsonpatch/jsonpatch-PYVER.p5m	Wed Jan 28 11:07:54 2015 -0800
+++ b/components/python/jsonpatch/jsonpatch-PYVER.p5m	Wed Jan 28 08:53:43 2015 -0800
@@ -20,11 +20,11 @@
 #
 
 #
-# Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 set name=pkg.fmri \
-    value=pkg:/library/python-2/jsonpatch-$(PYV)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
+    value=pkg:/library/python/jsonpatch-$(PYV)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
 set name=pkg.summary \
     value="Python module for creating and applying JSON Patches"
 set name=pkg.description \
@@ -49,13 +49,17 @@
 #
 license jsonpatch.license license=BSD
 
+# force the rename with an optional dependency on the old name
+depend type=optional \
+    fmri=library/python-2/jsonpatch-$(PYV)@1.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 the jsonpatch package
 depend type=require \
-    fmri=library/python-2/jsonpatch@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
+    fmri=library/python/jsonpatch@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
 
 # force a dependency on jsonpointer; pkgdepend work is needed to flush this out.
-depend type=require fmri=library/python-2/jsonpointer-$(PYV)
+depend type=require fmri=library/python/jsonpointer-$(PYV)