--- a/components/python/iso8601/iso8601-PYVER.p5m Mon Jan 27 15:13:46 2014 -0800
+++ b/components/python/iso8601/iso8601-PYVER.p5m Mon Jan 27 17:48:58 2014 -0800
@@ -18,11 +18,11 @@
#
# CDDL HEADER END
#
-# Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2012, 2014, Oracle and/or its affiliates. All rights reserved.
#
set name=pkg.fmri \
- value=pkg:/library/python-2/iso8601-$(PYV)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
+ value=pkg:/library/python/iso8601-$(PYV)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
set name=pkg.summary value="Simple Python module to parse ISO 8601 dates"
set name=pkg.description \
value="This Python module parses the most common forms of ISO 8601 date strings into datetime objects."
@@ -50,4 +50,8 @@
# force a dependency on the iso8601 package
depend type=require \
- fmri=library/python-2/iso8601@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
+ fmri=library/python/iso8601@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
+
+# force the rename with an optional dependency on the old name
+depend type=optional \
+ fmri=library/python-2/iso8601-$(PYV)@0.1.4,5.12-5.12.0.0.0.41.0