From 640c95a9c307d7e15fb8c3a679419141909b2cb6 Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Wed, 8 Feb 2023 16:14:11 +0800 Subject: python3-paramiko: upgrade 2.12.0 -> 3.0.0 Bubfix: ========== -A handful of lower-level classes (notably paramiko.message.Message and paramiko.pkey.PKey) previously returned bytes objects from their implementation of __str__, even under Python 3; and there was never any __bytes__ method. -Streamline some redundant (and costly) byte conversion calls in the packetizer and the core SFTP module. This should lead to some SFTP speedups at the very least. -Remove some unnecessary __repr__ calls when handling bytes-vs-str conversions. Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- .../recipes-devtools/python/python3-paramiko_3.0.0.bb | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-paramiko_3.0.0.bb (limited to 'meta-python/recipes-devtools/python/python3-paramiko_3.0.0.bb') diff --git a/meta-python/recipes-devtools/python/python3-paramiko_3.0.0.bb b/meta-python/recipes-devtools/python/python3-paramiko_3.0.0.bb new file mode 100644 index 0000000000..9e79c36687 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-paramiko_3.0.0.bb @@ -0,0 +1,19 @@ +DESCRIPTION = "The leading native Python SSHv2 protocol library." +HOMEPAGE = "https://github.com/paramiko/paramiko/" +LICENSE = "LGPL-2.1-only" +LIC_FILES_CHKSUM = "file://LICENSE;md5=fd0120fc2e9f841c73ac707a30389af5" + +SRC_URI[sha256sum] = "fedc9b1dd43bc1d45f67f1ceca10bc336605427a46dcdf8dec6bfea3edf57965" + +PYPI_PACKAGE = "paramiko" + +inherit pypi setuptools3 + +CLEANBROKEN = "1" + +RDEPENDS:${PN} += "\ + ${PYTHON_PN}-bcrypt \ + ${PYTHON_PN}-cryptography \ + ${PYTHON_PN}-pynacl \ + ${PYTHON_PN}-unixadmin \ +" -- cgit v1.2.3-54-g00ecf