aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorshadchin <shadchin@yandex-team.com>2023-10-13 13:44:31 +0300
committershadchin <shadchin@yandex-team.com>2023-10-13 15:29:54 +0300
commit825052956da85d8505821bab38142d5744196f8e (patch)
treedccc16757e5b451b62ed6b80f3305900e73ab6d4
parent2813c106add264e6141e39b371511a7380a171f1 (diff)
downloadydb-825052956da85d8505821bab38142d5744196f8e.tar.gz
Split certifi on py2/py3
-rw-r--r--contrib/python/certifi/py2/ya.make9
-rw-r--r--contrib/python/certifi/py3/ya.make9
-rw-r--r--contrib/python/certifi/ya.make15
3 files changed, 30 insertions, 3 deletions
diff --git a/contrib/python/certifi/py2/ya.make b/contrib/python/certifi/py2/ya.make
new file mode 100644
index 0000000000..274da44efc
--- /dev/null
+++ b/contrib/python/certifi/py2/ya.make
@@ -0,0 +1,9 @@
+PY2_LIBRARY()
+
+LICENSE(Service-Py23-Proxy)
+
+PEERDIR(
+ library/python/certifi
+)
+
+END()
diff --git a/contrib/python/certifi/py3/ya.make b/contrib/python/certifi/py3/ya.make
new file mode 100644
index 0000000000..fa3aa2c9d0
--- /dev/null
+++ b/contrib/python/certifi/py3/ya.make
@@ -0,0 +1,9 @@
+PY3_LIBRARY()
+
+LICENSE(Service-Py23-Proxy)
+
+PEERDIR(
+ library/python/certifi
+)
+
+END()
diff --git a/contrib/python/certifi/ya.make b/contrib/python/certifi/ya.make
index 6b203f0615..0835df974c 100644
--- a/contrib/python/certifi/ya.make
+++ b/contrib/python/certifi/ya.make
@@ -2,8 +2,17 @@ PY23_LIBRARY()
LICENSE(Service-Py23-Proxy)
-PEERDIR(
- library/python/certifi
-)
+IF (PYTHON2)
+ PEERDIR(contrib/python/certifi/py2)
+ELSE()
+ PEERDIR(contrib/python/certifi/py3)
+ENDIF()
+
+NO_LINT()
END()
+
+RECURSE(
+ py2
+ py3
+)