aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/python/six
diff options
context:
space:
mode:
authorarcadia-devtools <arcadia-devtools@yandex-team.ru>2022-02-18 18:53:55 +0300
committerarcadia-devtools <arcadia-devtools@yandex-team.ru>2022-02-18 18:53:55 +0300
commit27ee4528d5db1a125f8d8def9e1bdf7a477b7492 (patch)
tree6e2278cdb027f115086f1d35768473d8b2b87515 /contrib/python/six
parent6bb39bdb243edc3adf72eedf5700c691617c615d (diff)
downloadydb-27ee4528d5db1a125f8d8def9e1bdf7a477b7492.tar.gz
intermediate changes
ref:4c3887b325a2b9c0b2481e44130c092b3c8d545f
Diffstat (limited to 'contrib/python/six')
-rw-r--r--contrib/python/six/.yandex_meta/yamaker.yaml2
-rw-r--r--contrib/python/six/patches/01-arcadia.patch11
-rw-r--r--contrib/python/six/ya.make10
3 files changed, 19 insertions, 4 deletions
diff --git a/contrib/python/six/.yandex_meta/yamaker.yaml b/contrib/python/six/.yandex_meta/yamaker.yaml
new file mode 100644
index 0000000000..2502bc85b9
--- /dev/null
+++ b/contrib/python/six/.yandex_meta/yamaker.yaml
@@ -0,0 +1,2 @@
+keep:
+- tests/test_six.py
diff --git a/contrib/python/six/patches/01-arcadia.patch b/contrib/python/six/patches/01-arcadia.patch
new file mode 100644
index 0000000000..57f85cb6d9
--- /dev/null
+++ b/contrib/python/six/patches/01-arcadia.patch
@@ -0,0 +1,11 @@
+--- contrib/python/six/six.py (index)
++++ contrib/python/six/six.py (working tree)
+@@ -274,7 +274,7 @@ _moved_attributes = [
+ MovedModule("collections_abc", "collections", "collections.abc" if sys.version_info >= (3, 3) else "collections"),
+ MovedModule("copyreg", "copy_reg"),
+ MovedModule("dbm_gnu", "gdbm", "dbm.gnu"),
+- MovedModule("dbm_ndbm", "dbm", "dbm.ndbm"),
++ # MovedModule("dbm_ndbm", "dbm", "dbm.ndbm"),
+ MovedModule("_dummy_thread", "dummy_thread", "_dummy_thread" if sys.version_info < (3, 9) else "_thread"),
+ MovedModule("http_cookiejar", "cookielib", "http.cookiejar"),
+ MovedModule("http_cookies", "Cookie", "http.cookies"),
diff --git a/contrib/python/six/ya.make b/contrib/python/six/ya.make
index e0c7849214..096129b1e5 100644
--- a/contrib/python/six/ya.make
+++ b/contrib/python/six/ya.make
@@ -1,11 +1,15 @@
-OWNER(g:python-contrib)
+# Generated by devtools/yamaker (pypi).
PY23_LIBRARY()
-LICENSE(MIT)
+OWNER(g:python-contrib)
VERSION(1.16.0)
+LICENSE(MIT)
+
+NO_LINT()
+
PY_SRCS(
TOP_LEVEL
six.py
@@ -17,8 +21,6 @@ RESOURCE_FILES(
.dist-info/top_level.txt
)
-NO_LINT()
-
END()
RECURSE_FOR_TESTS(