aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/python/PyYAML/py3
diff options
context:
space:
mode:
authormaxim-yurchuk <maxim-yurchuk@yandex-team.com>2024-10-09 12:29:46 +0300
committermaxim-yurchuk <maxim-yurchuk@yandex-team.com>2024-10-09 13:14:22 +0300
commit9731d8a4bb7ee2cc8554eaf133bb85498a4c7d80 (patch)
treea8fb3181d5947c0d78cf402aa56e686130179049 /contrib/python/PyYAML/py3
parenta44b779cd359f06c3ebbef4ec98c6b38609d9d85 (diff)
downloadydb-9731d8a4bb7ee2cc8554eaf133bb85498a4c7d80.tar.gz
publishFullContrib: true for ydb
<HIDDEN_URL> commit_hash:c82a80ac4594723cebf2c7387dec9c60217f603e
Diffstat (limited to 'contrib/python/PyYAML/py3')
-rw-r--r--contrib/python/PyYAML/py3/.yandex_meta/yamaker.yaml4
-rw-r--r--contrib/python/PyYAML/py3/patches/01-fix-for-yson.patch5
-rw-r--r--contrib/python/PyYAML/py3/yaml/__init__.pxd0
3 files changed, 9 insertions, 0 deletions
diff --git a/contrib/python/PyYAML/py3/.yandex_meta/yamaker.yaml b/contrib/python/PyYAML/py3/.yandex_meta/yamaker.yaml
new file mode 100644
index 0000000000..0fa01f7e79
--- /dev/null
+++ b/contrib/python/PyYAML/py3/.yandex_meta/yamaker.yaml
@@ -0,0 +1,4 @@
+requirements:
+ - contrib/libs/yaml
+mark_as_cython_c:
+ - yaml/_yaml.pyx
diff --git a/contrib/python/PyYAML/py3/patches/01-fix-for-yson.patch b/contrib/python/PyYAML/py3/patches/01-fix-for-yson.patch
new file mode 100644
index 0000000000..424fbf8a6a
--- /dev/null
+++ b/contrib/python/PyYAML/py3/patches/01-fix-for-yson.patch
@@ -0,0 +1,5 @@
+--- contrib/python/PyYAML/py3/yaml/representer.py (index)
++++ contrib/python/PyYAML/py3/yaml/representer.py (working tree)
+@@ -148 +148 @@ class SafeRepresenter(BaseRepresenter):
+- return self.represent_scalar('tag:yaml.org,2002:str', data)
++ return self.represent_scalar('tag:yaml.org,2002:str', str(data))
diff --git a/contrib/python/PyYAML/py3/yaml/__init__.pxd b/contrib/python/PyYAML/py3/yaml/__init__.pxd
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/contrib/python/PyYAML/py3/yaml/__init__.pxd