components/logilab-astng/logilab-astng.p5m
changeset 1666 69d14d547e77
parent 1251 f1fb66b52f41
child 1948 2d1537e7942d
--- a/components/logilab-astng/logilab-astng.p5m	Mon Jan 27 15:13:46 2014 -0800
+++ b/components/logilab-astng/logilab-astng.p5m	Mon Jan 27 17:48:58 2014 -0800
@@ -18,12 +18,12 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
 #
 
 <transform file path=usr.*/man/.+ -> default mangler.man.stability uncommitted>
 set name=pkg.fmri \
-    value=pkg:/library/python-2/logilab-astng@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
+    value=pkg:/library/python/logilab-astng@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
 set name=pkg.description \
     value="logilab-astng provides a common base representation of python source code for projects such as pylint."
 set name=pkg.summary \
@@ -40,10 +40,14 @@
 file logilab-astng.3 path=usr/share/man/man3/logilab-astng.3
 license logilab-astng.license license=LGPLv2.1,GPLv2
 
-depend fmri=library/python-2/logilab-astng-26@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION) \
+depend fmri=library/python/logilab-astng-26@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION) \
     predicate=runtime/python-26 \
     type=conditional
 
-depend fmri=library/python-2/logilab-astng-27@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION) \
+depend fmri=library/python/logilab-astng-27@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION) \
     predicate=runtime/python-27 \
     type=conditional
+
+# 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