components/python/coverage/coverage-PYVER.p5m
branchs11-update
changeset 3704 69ab8eca01c5
parent 3661 47545fb8aed4
--- a/components/python/coverage/coverage-PYVER.p5m	Wed Jan 28 11:07:54 2015 -0800
+++ b/components/python/coverage/coverage-PYVER.p5m	Wed Jan 28 08:53:43 2015 -0800
@@ -18,11 +18,11 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 set name=pkg.fmri \
-    value=pkg:/library/python-2/coverage-$(PYV)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
+    value=pkg:/library/python/coverage-$(PYV)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
 set name=pkg.summary value="The coverage.py Python code coverage tool"
 set name=pkg.description \
     value="Coverage is a tool for measuring code coverage of Python programs. It monitors a program, noting which parts of the code have been executed, then analyzes the source to identify code that could have been executed, but was not. Coverage measurement is typically used to gauge the effectiveness of tests. It can show which parts of your code are being exercised by tests, and which are not."
@@ -87,6 +87,10 @@
 license jquery.copyright license=MIT-1
 license jquery.isonscreen.copyright license=MIT-2
 
+# force the rename with an optional dependency on the old name
+depend type=optional \
+    fmri=library/python-2/coverage-$(PYV)@3.5,5.11-0.175.3.0.0.16.0
+
 # force a dependency on the coverage package
 depend type=require \
-    fmri=library/python-2/coverage@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
+    fmri=library/python/coverage@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)