20929494 python 2.7 dependency on tkinter should be conditional
authorJohn Beck <John.Beck@Oracle.COM>
Wed, 22 Apr 2015 07:27:42 -0700
changeset 4168 20b690e10e65
parent 4165 cd344a63e64f
child 4169 287ebf81b849
20929494 python 2.7 dependency on tkinter should be conditional
components/python/python27/python-27.p5m
--- a/components/python/python27/python-27.p5m	Wed Apr 22 06:22:45 2015 -0700
+++ b/components/python/python27/python-27.p5m	Wed Apr 22 07:27:42 2015 -0700
@@ -563,7 +563,9 @@
 file path=usr/lib/python2.7/idlelib/PathBrowser.py
 file path=usr/lib/python2.7/idlelib/Percolator.py
 file path=usr/lib/python2.7/idlelib/PyParse.py
-file path=usr/lib/python2.7/idlelib/PyShell.py
+# pkgdepend would (incorrectly) turn our conditional dependency on tkinter
+# into a require dependency.
+file path=usr/lib/python2.7/idlelib/PyShell.py pkg.depend.bypass-generate=.*
 file path=usr/lib/python2.7/idlelib/README.txt
 file path=usr/lib/python2.7/idlelib/RemoteDebugger.py
 file path=usr/lib/python2.7/idlelib/RemoteObjectBrowser.py
@@ -899,7 +901,9 @@
 file path=usr/lib/python2.7/pty.py
 file path=usr/lib/python2.7/py_compile.py
 file path=usr/lib/python2.7/pyclbr.py
-file path=usr/lib/python2.7/pydoc.py
+# pkgdepend would (incorrectly) turn our conditional dependency on tkinter
+# into a require dependency.
+file path=usr/lib/python2.7/pydoc.py pkg.depend.bypass-generate=.*
 file path=usr/lib/python2.7/pydoc_data/__init__.py
 file path=usr/lib/python2.7/pydoc_data/topics.py
 file path=usr/lib/python2.7/quopri.py