--- a/components/python/nose-cover3/nose-cover3-PYVER.p5m Mon Jan 27 15:13:46 2014 -0800
+++ b/components/python/nose-cover3/nose-cover3-PYVER.p5m Mon Jan 27 17:48:58 2014 -0800
@@ -18,11 +18,11 @@
#
# CDDL HEADER END
#
-# Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
#
set name=pkg.fmri \
- value=pkg:/library/python-2/nose-cover3-$(PYV)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
+ value=pkg:/library/python/nose-cover3-$(PYV)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
set name=pkg.summary value="Coverage support for Nose"
set name=pkg.description \
value="The nosecover3 module provides support for generating Python code coverage reports through the Nose test framework."
@@ -43,16 +43,20 @@
file path=usr/lib/python$(PYVER)/vendor-packages/nosecover3/__init__.py
license LICENSE license=LGPLv2.1
+# force the rename with an optional dependency on the old name
+depend type=optional \
+ fmri=library/python-2/nose-cover3-$(PYV)@0.0.4,5.12-5.12.0.0.0.41.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 coverage; pkgdepend work is needed to flush this out.
-depend type=require fmri=library/python-2/coverage-$(PYV)
+depend type=require fmri=library/python/coverage-$(PYV)
# force a dependency on nose; pkgdepend work is needed to flush this out.
-depend type=require fmri=library/python-2/nose-$(PYV)
+depend type=require fmri=library/python/nose-$(PYV)
# force a dependency on the nose-cover3 package
depend type=require \
- fmri=library/python-2/nose-cover3@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
+ fmri=library/python/nose-cover3@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)