aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/deprecated/python/subprocess32/ya.make
diff options
context:
space:
mode:
authornkozlovskiy <nmk@ydb.tech>2023-10-02 18:57:38 +0300
committernkozlovskiy <nmk@ydb.tech>2023-10-02 19:39:06 +0300
commit6295ef4d23465c11296e898b9dc4524ad9592b5d (patch)
treefc0c852877b2c52f365a1f6ed0710955844338c2 /contrib/deprecated/python/subprocess32/ya.make
parentde63c80b75948ecc13894854514d147840ff8430 (diff)
downloadydb-6295ef4d23465c11296e898b9dc4524ad9592b5d.tar.gz
oss ydb: fix dstool building and test run
Diffstat (limited to 'contrib/deprecated/python/subprocess32/ya.make')
-rw-r--r--contrib/deprecated/python/subprocess32/ya.make35
1 files changed, 35 insertions, 0 deletions
diff --git a/contrib/deprecated/python/subprocess32/ya.make b/contrib/deprecated/python/subprocess32/ya.make
new file mode 100644
index 0000000000..9613acd8c0
--- /dev/null
+++ b/contrib/deprecated/python/subprocess32/ya.make
@@ -0,0 +1,35 @@
+PY2_LIBRARY() # Backport from Python 3.
+
+LICENSE(PSF-2.0)
+
+VERSION(3.5.4)
+
+COPY_FILE(subprocess32.py subprocess.py)
+
+PY_SRCS(
+ TOP_LEVEL
+ subprocess32.py
+)
+
+IF (NOT OS_WINDOWS)
+ NO_COMPILER_WARNINGS()
+
+ SRCS(
+ _posixsubprocess.c
+ )
+
+ PY_REGISTER(_posixsubprocess32)
+
+ PY_SRCS(
+ TOP_LEVEL
+ subprocess.py
+ )
+ENDIF ()
+
+NO_LINT()
+
+END()
+
+RECURSE_FOR_TESTS(
+ testdata
+)