components/gnome/pyatspi/pyatspi-PYVER.p5m
changeset 6982 d3b6a08a1ea2
parent 6955 c48eb02e201d
--- a/components/gnome/pyatspi/pyatspi-PYVER.p5m	Mon Sep 26 16:23:01 2016 -0700
+++ b/components/gnome/pyatspi/pyatspi-PYVER.p5m	Mon Sep 26 13:09:41 2016 -0700
@@ -24,7 +24,7 @@
 #
 
 set name=pkg.fmri \
-    value=pkg:/library/python/pyatspi-$(PYV)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
+    value=pkg:/library/python/pyatspi2-$(PYV)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
 set name=pkg.summary value="Python API to AT-SPI on D-Bus"
 set name=com.oracle.info.description value="Python API to AT-SPI on D-Bus"
 set name=com.oracle.info.tpno value=$(TPNO)
@@ -65,9 +65,13 @@
 license COPYING.GPL license=GPLv2
 license COPYING license=LGPLv2.1
 
+# force the rename with an optional dependency on the old name
+$(PYTHON_2.7_ONLY)depend type=optional \
+    fmri=library/python/[email protected]
+
 # force a dependency on the unversioned package
 depend type=require \
-    fmri=library/python/[email protected]$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
+    fmri=library/python/[email protected]$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
 
 # force a dependency on the Python runtime
 depend type=require fmri=runtime/python-$(PYV)