components/python/virtualenv/virtualenv-PYVER.p5m
branchs11-update
changeset 3704 69ab8eca01c5
parent 3661 47545fb8aed4
child 4072 db0cec748ec0
--- a/components/python/virtualenv/virtualenv-PYVER.p5m	Wed Jan 28 11:07:54 2015 -0800
+++ b/components/python/virtualenv/virtualenv-PYVER.p5m	Wed Jan 28 08:53:43 2015 -0800
@@ -18,11 +18,11 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
 set name=pkg.fmri \
-    value=pkg:/library/python-2/virtualenv-$(PYV)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
+    value=pkg:/library/python/virtualenv-$(PYV)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
 set name=pkg.summary value="Virtual Python Environment builder"
 set name=pkg.description \
     value="virtualenv is a tool to create isolated Python environments. It creates an environment that has its own installation directories, that doesn't share libraries with other virtualenv environments (and optionally doesn't access the globally installed libraries either)."
@@ -51,6 +51,10 @@
 file path=usr/lib/python$(PYVER)/vendor-packages/virtualenv_support/setuptools-0.6c11-py$(PYVER).egg
 license virtualenv.license license="MIT, LGPLv2.1, PSF, ZPL"
 
+# force the rename with an optional dependency on the old name
+depend type=optional \
+    fmri=library/python-2/virtualenv-$(PYV)@1.9.1,5.11-0.175.3.0.0.16.0
+
 # force a dependency on the virtualenv package
 depend type=require \
-    fmri=library/python-2/virtualenv@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
+    fmri=library/python/virtualenv@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)