Browse Source

Restoring authorship annotation for <torkve@yandex-team.ru>. Commit 2 of 2.

torkve 3 years ago
parent
commit
d2e3ef74ae

+ 3 - 3
build/rules/contrib_python.policy

@@ -169,7 +169,7 @@ ALLOW weather/workers/common/clean_satellite/utils -> contrib/deprecated/python/
 ALLOW yql/udfs/common/python/python_arc -> contrib/deprecated/python/mipp
 DENY .* -> contrib/deprecated/python/mipp
 DENY .* -> contrib/deprecated/python/mpop
- 
+
 DENY .* -> contrib/python/pdbpp
 
 ALLOW contrib/python/pdbpp -> contrib/python/fancycompleter
@@ -177,7 +177,7 @@ DENY .* -> contrib/python/fancycompleter
 
 ALLOW infra/procman -> contrib/python/skynet_pyro4
 ALLOW skynet -> contrib/python/skynet_pyro4
-DENY .* -> contrib/python/skynet_pyro4 
+DENY .* -> contrib/python/skynet_pyro4
 
 ALLOW contrib/deprecated/python/cyordereddict -> contrib/deprecated/python/cyordereddict
 ALLOW contrib/deprecated/python/cyordereddict/cyordereddict/tests -> contrib/deprecated/python/cyordereddict
@@ -195,7 +195,7 @@ ALLOW contrib/deprecated/python/xmpppy -> contrib/deprecated/python/xmpppy
 ALLOW ads/libs/py_notifier -> contrib/deprecated/python/xmpppy
 ALLOW yql/udfs/common/python/python_arc -> contrib/deprecated/python/xmpppy
 DENY .* -> contrib/deprecated/python/xmpppy
- 
+
 ALLOW contrib/python/fancycompleter -> contrib/python/pyrepl
 DENY .* -> contrib/python/pyrepl
 

+ 5 - 5
build/rules/go/vendor.policy

@@ -1024,11 +1024,11 @@ ALLOW trust/psp/core/handler -> vendor/github.com/gorilla/mux
 # CONTRIB-2337 Cloud GPU migration: validator for structs and fields
 ALLOW cloud/compute/go-common/pkg/validation -> vendor/github.com/go-playground/validator/v10
 
-# CONTRIB-2412 
-ALLOW infra/infractl/.* -> vendor/github.com/google/gnostic/openapiv3 
-ALLOW infra/infractl/.* -> vendor/github.com/google/gnostic/compiler 
-ALLOW infra/infractl/.* -> vendor/gopkg.in/yaml.v3 
- 
+# CONTRIB-2412
+ALLOW infra/infractl/.* -> vendor/github.com/google/gnostic/openapiv3
+ALLOW infra/infractl/.* -> vendor/github.com/google/gnostic/compiler
+ALLOW infra/infractl/.* -> vendor/gopkg.in/yaml.v3
+
 # CONTRIB-2445
 ALLOW psp -> vendor/github.com/zimmski/go-mutesting
 

+ 1 - 1
build/ya.conf.json

@@ -6853,7 +6853,7 @@
         "yd-migrate": {
             "formula": {
                 "sandbox_id": [
-                    990283171 
+                    990283171
                 ],
                 "match": "yd_migrate"
             },

+ 1 - 1
contrib/python/Pygments/py2/ya.make

@@ -5,7 +5,7 @@ PY2_LIBRARY()
 OWNER(blinkov g:python-contrib)
 
 VERSION(2.5.2)
- 
+
 LICENSE(BSD-3-Clause)
 
 NO_LINT()

+ 1 - 1
contrib/python/Pygments/py3/ya.make

@@ -7,7 +7,7 @@ OWNER(blinkov g:python-contrib)
 VERSION(2.11.2)
 
 LICENSE(BSD-3-Clause)
- 
+
 NO_LINT()
 
 NO_CHECK_IMPORTS(

+ 1 - 1
contrib/python/Pygments/ya.make

@@ -9,7 +9,7 @@ IF (PYTHON2)
 ELSE()
     PEERDIR(contrib/python/Pygments/py3)
 ENDIF()
- 
+
 NO_LINT()
 
 END()

+ 30 - 30
contrib/python/cryptography/.dist-info/METADATA

@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: cryptography
-Version: 3.3.2 
+Version: 3.3.2
 Summary: cryptography is a package which provides cryptographic recipes and primitives to Python developers.
 Home-page: https://github.com/pyca/cryptography
 Author: The cryptography developers
@@ -23,38 +23,38 @@ Classifier: Programming Language :: Python :: 2.7
 Classifier: Programming Language :: Python :: 3
 Classifier: Programming Language :: Python :: 3.6
 Classifier: Programming Language :: Python :: 3.7
-Classifier: Programming Language :: Python :: 3.8 
-Classifier: Programming Language :: Python :: 3.9 
+Classifier: Programming Language :: Python :: 3.8
+Classifier: Programming Language :: Python :: 3.9
 Classifier: Programming Language :: Python :: Implementation :: CPython
 Classifier: Programming Language :: Python :: Implementation :: PyPy
 Classifier: Topic :: Security :: Cryptography
-Requires-Python: >=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.* 
-Description-Content-Type: text/x-rst 
+Requires-Python: >=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*
+Description-Content-Type: text/x-rst
 Requires-Dist: six (>=1.4.1)
-Requires-Dist: cffi (>=1.12) 
-Requires-Dist: enum34 ; python_version < '3' 
-Requires-Dist: ipaddress ; python_version < '3' 
+Requires-Dist: cffi (>=1.12)
+Requires-Dist: enum34 ; python_version < '3'
+Requires-Dist: ipaddress ; python_version < '3'
 Provides-Extra: docs
-Requires-Dist: sphinx (!=1.8.0,!=3.1.0,!=3.1.1,>=1.6.5) ; extra == 'docs' 
-Requires-Dist: sphinx-rtd-theme ; extra == 'docs' 
+Requires-Dist: sphinx (!=1.8.0,!=3.1.0,!=3.1.1,>=1.6.5) ; extra == 'docs'
+Requires-Dist: sphinx-rtd-theme ; extra == 'docs'
 Provides-Extra: docstest
-Requires-Dist: doc8 ; extra == 'docstest' 
-Requires-Dist: pyenchant (>=1.6.11) ; extra == 'docstest' 
-Requires-Dist: twine (>=1.12.0) ; extra == 'docstest' 
-Requires-Dist: sphinxcontrib-spelling (>=4.0.1) ; extra == 'docstest' 
+Requires-Dist: doc8 ; extra == 'docstest'
+Requires-Dist: pyenchant (>=1.6.11) ; extra == 'docstest'
+Requires-Dist: twine (>=1.12.0) ; extra == 'docstest'
+Requires-Dist: sphinxcontrib-spelling (>=4.0.1) ; extra == 'docstest'
 Provides-Extra: pep8test
-Requires-Dist: black ; extra == 'pep8test' 
-Requires-Dist: flake8 ; extra == 'pep8test' 
-Requires-Dist: flake8-import-order ; extra == 'pep8test' 
-Requires-Dist: pep8-naming ; extra == 'pep8test' 
-Provides-Extra: ssh 
-Requires-Dist: bcrypt (>=3.1.5) ; extra == 'ssh' 
+Requires-Dist: black ; extra == 'pep8test'
+Requires-Dist: flake8 ; extra == 'pep8test'
+Requires-Dist: flake8-import-order ; extra == 'pep8test'
+Requires-Dist: pep8-naming ; extra == 'pep8test'
+Provides-Extra: ssh
+Requires-Dist: bcrypt (>=3.1.5) ; extra == 'ssh'
 Provides-Extra: test
-Requires-Dist: pytest (!=3.9.0,!=3.9.1,!=3.9.2,>=3.6.0) ; extra == 'test' 
-Requires-Dist: pretend ; extra == 'test' 
-Requires-Dist: iso8601 ; extra == 'test' 
-Requires-Dist: pytz ; extra == 'test' 
-Requires-Dist: hypothesis (!=3.79.2,>=1.11.4) ; extra == 'test' 
+Requires-Dist: pytest (!=3.9.0,!=3.9.1,!=3.9.2,>=3.6.0) ; extra == 'test'
+Requires-Dist: pretend ; extra == 'test'
+Requires-Dist: iso8601 ; extra == 'test'
+Requires-Dist: pytz ; extra == 'test'
+Requires-Dist: hypothesis (!=3.79.2,>=1.11.4) ; extra == 'test'
 
 pyca/cryptography
 =================
@@ -67,8 +67,8 @@ pyca/cryptography
     :target: https://cryptography.io
     :alt: Latest Docs
 
-.. image:: https://github.com/pyca/cryptography/workflows/CI/badge.svg?branch=master 
-    :target: https://github.com/pyca/cryptography/actions?query=workflow%3ACI+branch%3Amaster 
+.. image:: https://github.com/pyca/cryptography/workflows/CI/badge.svg?branch=master
+    :target: https://github.com/pyca/cryptography/actions?query=workflow%3ACI+branch%3Amaster
 
 .. image:: https://codecov.io/github/pyca/cryptography/coverage.svg?branch=master
     :target: https://codecov.io/github/pyca/cryptography?branch=master
@@ -76,7 +76,7 @@ pyca/cryptography
 
 ``cryptography`` is a package which provides cryptographic recipes and
 primitives to Python developers.  Our goal is for it to be your "cryptographic
-standard library". It supports Python 2.7, Python 3.6+, and PyPy 5.4+. 
+standard library". It supports Python 2.7, Python 3.6+, and PyPy 5.4+.
 
 ``cryptography`` includes both high level recipes and low level interfaces to
 common cryptographic algorithms such as symmetric ciphers, message digests, and
@@ -123,9 +123,9 @@ documentation.
 
 
 .. _`documentation`: https://cryptography.io/
-.. _`the installation documentation`: https://cryptography.io/en/latest/installation.html 
+.. _`the installation documentation`: https://cryptography.io/en/latest/installation.html
 .. _`issue tracker`: https://github.com/pyca/cryptography/issues
 .. _`cryptography-dev`: https://mail.python.org/mailman/listinfo/cryptography-dev
-.. _`security reporting`: https://cryptography.io/en/latest/security.html 
+.. _`security reporting`: https://cryptography.io/en/latest/security.html
 
 

+ 2 - 2
contrib/python/cryptography/.dist-info/top_level.txt

@@ -1,3 +1,3 @@
-_openssl 
-_padding 
+_openssl
+_padding
 cryptography

+ 56 - 56
contrib/python/cryptography/_cffi_src/build_openssl.py

@@ -6,71 +6,71 @@ from __future__ import absolute_import, division, print_function
 
 import os
 import sys
-from distutils import dist 
-from distutils.ccompiler import get_default_compiler 
-from distutils.command.config import config 
+from distutils import dist
+from distutils.ccompiler import get_default_compiler
+from distutils.command.config import config
 
 from _cffi_src.utils import (
-    build_ffi_for_binding, 
-    compiler_type, 
-    extra_link_args, 
+    build_ffi_for_binding,
+    compiler_type,
+    extra_link_args,
 )
 
 
 def _get_openssl_libraries(platform):
-    if os.environ.get("CRYPTOGRAPHY_SUPPRESS_LINK_FLAGS", None): 
-        return [] 
+    if os.environ.get("CRYPTOGRAPHY_SUPPRESS_LINK_FLAGS", None):
+        return []
     # OpenSSL goes by a different library name on different operating systems.
-    if platform == "win32" and compiler_type() == "msvc": 
-        return [ 
-            "libssl", 
-            "libcrypto", 
-            "advapi32", 
-            "crypt32", 
-            "gdi32", 
-            "user32", 
-            "ws2_32", 
-        ] 
+    if platform == "win32" and compiler_type() == "msvc":
+        return [
+            "libssl",
+            "libcrypto",
+            "advapi32",
+            "crypt32",
+            "gdi32",
+            "user32",
+            "ws2_32",
+        ]
     else:
-        # darwin, linux, mingw all use this path 
+        # darwin, linux, mingw all use this path
         # In some circumstances, the order in which these libs are
         # specified on the linker command-line is significant;
         # libssl must come before libcrypto
-        # (https://marc.info/?l=openssl-users&m=135361825921871) 
-        # -lpthread required due to usage of pthread an potential 
-        # existance of a static part containing e.g. pthread_atfork 
-        # (https://github.com/pyca/cryptography/issues/5084) 
-        if sys.platform == "zos": 
-            return ["ssl", "crypto"] 
-        else: 
-            return ["ssl", "crypto", "pthread"] 
+        # (https://marc.info/?l=openssl-users&m=135361825921871)
+        # -lpthread required due to usage of pthread an potential
+        # existance of a static part containing e.g. pthread_atfork
+        # (https://github.com/pyca/cryptography/issues/5084)
+        if sys.platform == "zos":
+            return ["ssl", "crypto"]
+        else:
+            return ["ssl", "crypto", "pthread"]
 
 
-def _extra_compile_args(platform): 
-    """ 
-    We set -Wconversion args here so that we only do Wconversion checks on the 
-    code we're compiling and not on cffi itself (as passing -Wconversion in 
-    CFLAGS would do). We set no error on sign conversion because some 
-    function signatures in LibreSSL differ from OpenSSL have changed on long 
-    vs. unsigned long in the past. Since that isn't a precision issue we don't 
-    care. 
-    """ 
-    # make sure the compiler used supports the flags to be added 
-    is_gcc = False 
-    if get_default_compiler() == "unix": 
-        d = dist.Distribution() 
-        cmd = config(d) 
-        cmd._check_compiler() 
-        is_gcc = ( 
-            "gcc" in cmd.compiler.compiler[0] 
-            or "clang" in cmd.compiler.compiler[0] 
-        ) 
-    if is_gcc or not ( 
-        platform in ["win32", "hp-ux11", "sunos5"] 
-        or platform.startswith("aix") 
-    ): 
-        return ["-Wconversion", "-Wno-error=sign-conversion"] 
-    else: 
+def _extra_compile_args(platform):
+    """
+    We set -Wconversion args here so that we only do Wconversion checks on the
+    code we're compiling and not on cffi itself (as passing -Wconversion in
+    CFLAGS would do). We set no error on sign conversion because some
+    function signatures in LibreSSL differ from OpenSSL have changed on long
+    vs. unsigned long in the past. Since that isn't a precision issue we don't
+    care.
+    """
+    # make sure the compiler used supports the flags to be added
+    is_gcc = False
+    if get_default_compiler() == "unix":
+        d = dist.Distribution()
+        cmd = config(d)
+        cmd._check_compiler()
+        is_gcc = (
+            "gcc" in cmd.compiler.compiler[0]
+            or "clang" in cmd.compiler.compiler[0]
+        )
+    if is_gcc or not (
+        platform in ["win32", "hp-ux11", "sunos5"]
+        or platform.startswith("aix")
+    ):
+        return ["-Wconversion", "-Wno-error=sign-conversion"]
+    else:
         return []
 
 
@@ -87,7 +87,7 @@ ffi = build_ffi_for_binding(
         "cmac",
         "conf",
         "crypto",
-        "ct", 
+        "ct",
         "dh",
         "dsa",
         "ec",
@@ -96,13 +96,13 @@ ffi = build_ffi_for_binding(
         "engine",
         "err",
         "evp",
-        "fips", 
+        "fips",
         "hmac",
         "nid",
         "objects",
         "ocsp",
         "opensslv",
-        "osrandom_engine", 
+        "osrandom_engine",
         "pem",
         "pkcs12",
         "rand",
@@ -116,6 +116,6 @@ ffi = build_ffi_for_binding(
         "callbacks",
     ],
     libraries=_get_openssl_libraries(sys.platform),
-    extra_compile_args=_extra_compile_args(sys.platform), 
+    extra_compile_args=_extra_compile_args(sys.platform),
     extra_link_args=extra_link_args(compiler_type()),
 )

+ 6 - 6
contrib/python/cryptography/_cffi_src/build_padding.py

@@ -9,14 +9,14 @@ import os
 from _cffi_src.utils import build_ffi, compiler_type, extra_link_args
 
 
-with open( 
-    os.path.join(os.path.dirname(__file__), "hazmat_src/padding.h") 
-) as f: 
+with open(
+    os.path.join(os.path.dirname(__file__), "hazmat_src/padding.h")
+) as f:
     types = f.read()
 
-with open( 
-    os.path.join(os.path.dirname(__file__), "hazmat_src/padding.c") 
-) as f: 
+with open(
+    os.path.join(os.path.dirname(__file__), "hazmat_src/padding.c")
+) as f:
     functions = f.read()
 
 ffi = build_ffi(

Some files were not shown because too many files changed in this diff