aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/python/ipython/py2/patches/02-fix-ya.make.patch
diff options
context:
space:
mode:
authorarcadia-devtools <arcadia-devtools@yandex-team.ru>2022-02-28 11:48:30 +0300
committerarcadia-devtools <arcadia-devtools@yandex-team.ru>2022-02-28 11:48:30 +0300
commitfe01c5041a843ee05cf4bf58b020eba53b909caf (patch)
tree39e7cfe9de8ae629e9aca17c222f72195afefb67 /contrib/python/ipython/py2/patches/02-fix-ya.make.patch
parented2cd4470267ae1bbe21e78e8319a02376e609ad (diff)
downloadydb-fe01c5041a843ee05cf4bf58b020eba53b909caf.tar.gz
intermediate changes
ref:a9d4234963219fc3b778fe9667bd10e632ddd89b
Diffstat (limited to 'contrib/python/ipython/py2/patches/02-fix-ya.make.patch')
-rw-r--r--contrib/python/ipython/py2/patches/02-fix-ya.make.patch45
1 files changed, 45 insertions, 0 deletions
diff --git a/contrib/python/ipython/py2/patches/02-fix-ya.make.patch b/contrib/python/ipython/py2/patches/02-fix-ya.make.patch
new file mode 100644
index 0000000000..9a613d6870
--- /dev/null
+++ b/contrib/python/ipython/py2/patches/02-fix-ya.make.patch
@@ -0,0 +1,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()