components/desktop/dbus-python/dbus-python-PYVER.p5m
changeset 7386 f32f075026f4
parent 7332 50a475baa0cd
--- a/components/desktop/dbus-python/dbus-python-PYVER.p5m	Tue Nov 22 10:51:59 2016 -0800
+++ b/components/desktop/dbus-python/dbus-python-PYVER.p5m	Wed Nov 23 12:49:20 2016 -0800
@@ -62,3 +62,11 @@
 file path=usr/lib/python$(PYVER)/vendor-packages/dbus/service.py
 file path=usr/lib/python$(PYVER)/vendor-packages/dbus/types.py
 license COPYING license=MIT
+
+# force the rename with an optional dependency on the old name
+$(PYTHON_2.7_ONLY)depend type=optional \
+    fmri=library/python/[email protected],5.12-5.12.0.0.0.113.0
+
+# force a dependency on the dbus-python package
+depend type=require \
+    fmri=library/python/dbus-python@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)