--- a/components/python/argparse/argparse-26.p5m Mon Jan 27 15:13:46 2014 -0800
+++ b/components/python/argparse/argparse-26.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/argparse-26@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
+ value=pkg:/library/python/argparse-26@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
set name=pkg.summary value="Python argparse command-line parsing library"
set name=pkg.description \
value="The argparse module makes it easy to write user-friendly command-line interfaces. The program defines what arguments it requires, and argparse will figure out how to parse those out of sys.argv. The argparse module also automatically generates help and usage messages and issues errors when users give the program invalid arguments."
@@ -43,10 +43,14 @@
file path=usr/lib/python2.6/vendor-packages/argparse.py
license argparse.license license=PSFv2
+# force the rename with an optional dependency on the old name
+depend type=optional \
+ fmri=library/python-2/[email protected],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=python2.6 \
pkg.debug.depend.path=usr/bin
# force a dependency on the argparse package
depend type=require \
- fmri=library/python-2/argparse@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
+ fmri=library/python/argparse@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)