components/python/pyparsing/pyparsing-PYVER.p5m
changeset 1666 69d14d547e77
parent 1608 ad73e8a08980
child 1907 446472de62e9
--- a/components/python/pyparsing/pyparsing-PYVER.p5m	Mon Jan 27 15:13:46 2014 -0800
+++ b/components/python/pyparsing/pyparsing-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/pyparsing-$(PYV)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
+    value=pkg:/library/python/pyparsing-$(PYV)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
 set name=pkg.summary value="Python parsing module"
 set name=pkg.description \
     value="The pyparsing module is an alternative approach to creating and executing simple grammars, vs. the traditional lex/yacc approach, or the use of regular expressions. The pyparsing module provides a library of classes that client code uses to construct the grammar directly in Python code."
@@ -39,10 +39,13 @@
 file path=usr/lib/python$(PYVER)/vendor-packages/pyparsing.py
 license pyparsing.license license="MIT, GPLv3, BSD"
 
+# 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=python$(PYVER) \
     pkg.debug.depend.path=usr/bin
 
 # force a dependency on the pyparsing package
 depend type=require \
-    fmri=library/python-2/pyparsing@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
+    fmri=library/python/pyparsing@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)