aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/python/ipython/py2/patches/02-fix-ya.make.patch
blob: 24ef771a3487a4b5c7171dc2760b688e262b1fcd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
--- contrib/python/ipython/py2/ya.make	(index)
+++ contrib/python/ipython/py2/ya.make	(working tree)
@@ -13,7 +11,6 @@ PEERDIR(
     contrib/python/backports.shutil-get-terminal-size
     contrib/python/decorator
     contrib/python/pathlib2
-    contrib/python/pexpect
     contrib/python/pickleshare
     contrib/python/prompt-toolkit
     contrib/python/setuptools
@@ -21,6 +18,23 @@ PEERDIR(
     contrib/python/traitlets
 )
 
+IF (OS_WINDOWS)
+    PEERDIR(
+        contrib/python/colorama
+        contrib/python/win-unicode-console
+    )
+ELSE ()
+    PEERDIR(
+        contrib/python/pexpect
+    )
+ENDIF ()
+
+IF (OS_DARWIN)
+    PEERDIR(
+        contrib/python/appnope
+    )
+ENDIF ()
+
 NO_LINT()
 
 NO_CHECK_IMPORTS(