aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/python/ipython/py2/patches/02-fix-ya.make.patch
blob: 9a613d687081d8ceb73d72e80869d327952e43bd (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
35
36
37
38
39
40
41
42
43
44
45
--- 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(
@@ -257,10 +271,6 @@ RESOURCE_FILES(
     .dist-info/entry_points.txt
     .dist-info/top_level.txt
     IPython/core/profile/README_STARTUP
-    IPython/testing/plugin/README.txt
-    IPython/testing/plugin/test_combo.txt
-    IPython/testing/plugin/test_example.txt
-    IPython/testing/plugin/test_exampleip.txt
 )
 
 END()