From a98fceca2f6e6b9af84f467288a9e52d8c459417 Mon Sep 17 00:00:00 2001 From: Sebastian Rittau Date: Wed, 16 Jun 2021 17:22:45 +0200 Subject: [PATCH] Rename openssl-python to pyOpenSSL (#5649) Remove stubtest allowlist Set package version --- stubs/openssl-python/@tests/stubtest_allowlist.txt | 3 --- stubs/pyOpenSSL/@tests/stubtest_allowlist.txt | 4 ++++ stubs/{openssl-python => pyOpenSSL}/METADATA.toml | 3 +-- stubs/{openssl-python => pyOpenSSL}/OpenSSL/SSL.pyi | 0 stubs/{openssl-python => pyOpenSSL}/OpenSSL/__init__.pyi | 0 stubs/{openssl-python => pyOpenSSL}/OpenSSL/crypto.pyi | 0 6 files changed, 5 insertions(+), 5 deletions(-) delete mode 100644 stubs/openssl-python/@tests/stubtest_allowlist.txt create mode 100644 stubs/pyOpenSSL/@tests/stubtest_allowlist.txt rename stubs/{openssl-python => pyOpenSSL}/METADATA.toml (61%) rename stubs/{openssl-python => pyOpenSSL}/OpenSSL/SSL.pyi (100%) rename stubs/{openssl-python => pyOpenSSL}/OpenSSL/__init__.pyi (100%) rename stubs/{openssl-python => pyOpenSSL}/OpenSSL/crypto.pyi (100%) diff --git a/stubs/openssl-python/@tests/stubtest_allowlist.txt b/stubs/openssl-python/@tests/stubtest_allowlist.txt deleted file mode 100644 index b84899f82..000000000 --- a/stubs/openssl-python/@tests/stubtest_allowlist.txt +++ /dev/null @@ -1,3 +0,0 @@ -OpenSSL -OpenSSL.SSL -OpenSSL.crypto diff --git a/stubs/pyOpenSSL/@tests/stubtest_allowlist.txt b/stubs/pyOpenSSL/@tests/stubtest_allowlist.txt new file mode 100644 index 000000000..a156e4ee8 --- /dev/null +++ b/stubs/pyOpenSSL/@tests/stubtest_allowlist.txt @@ -0,0 +1,4 @@ +OpenSSL.SSL.Connection.__init__ +OpenSSL.SSL.Context.load_verify_locations +OpenSSL.SSL.Context.set_verify +OpenSSL.crypto diff --git a/stubs/openssl-python/METADATA.toml b/stubs/pyOpenSSL/METADATA.toml similarity index 61% rename from stubs/openssl-python/METADATA.toml rename to stubs/pyOpenSSL/METADATA.toml index f2e57a602..098d93d36 100644 --- a/stubs/openssl-python/METADATA.toml +++ b/stubs/pyOpenSSL/METADATA.toml @@ -1,4 +1,3 @@ -version = "0.1" +version = "20.0" python2 = true -python3 = true requires = ["types-cryptography"] diff --git a/stubs/openssl-python/OpenSSL/SSL.pyi b/stubs/pyOpenSSL/OpenSSL/SSL.pyi similarity index 100% rename from stubs/openssl-python/OpenSSL/SSL.pyi rename to stubs/pyOpenSSL/OpenSSL/SSL.pyi diff --git a/stubs/openssl-python/OpenSSL/__init__.pyi b/stubs/pyOpenSSL/OpenSSL/__init__.pyi similarity index 100% rename from stubs/openssl-python/OpenSSL/__init__.pyi rename to stubs/pyOpenSSL/OpenSSL/__init__.pyi diff --git a/stubs/openssl-python/OpenSSL/crypto.pyi b/stubs/pyOpenSSL/OpenSSL/crypto.pyi similarity index 100% rename from stubs/openssl-python/OpenSSL/crypto.pyi rename to stubs/pyOpenSSL/OpenSSL/crypto.pyi