From 952e7cc37e992f84db3ff29e9457678e95d73b06 Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Fri, 21 Jun 2024 14:34:55 +0300 Subject: python3-pyperclip: Upgrade 1.8.2 -> 1.9.0 Upgrade to release 1.9.0: - Automatically cast the copy() argument to a string for all data types. - Fix _py3_executable_exists and _py2_executable_exists that had swapped names. - Pyperclip now "stringifies" all data types by passing it to str() (or globals()['__builtins__'].unicode on Python 2), so passing [1, 2, 3] would put '[1, 2, 3]' on the clipboard. - shutil.which() replaces the custom code (except in 2.7 and below which doesn't have shutil.which()). - Remove waitForPaste() and waitForNewPaste() functions, these aren't something the core library should have. - Reordered so that xclip is chosen before xsel since xclip is more popular. Signed-off-by: Leon Anavi Signed-off-by: Khem Raj --- .../recipes-devtools/python/python3-pyperclip_1.8.2.bb | 14 -------------- .../recipes-devtools/python/python3-pyperclip_1.9.0.bb | 14 ++++++++++++++ 2 files changed, 14 insertions(+), 14 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-pyperclip_1.8.2.bb create mode 100644 meta-python/recipes-devtools/python/python3-pyperclip_1.9.0.bb (limited to 'meta-python/recipes-devtools/python') diff --git a/meta-python/recipes-devtools/python/python3-pyperclip_1.8.2.bb b/meta-python/recipes-devtools/python/python3-pyperclip_1.8.2.bb deleted file mode 100644 index dcf0015c59..0000000000 --- a/meta-python/recipes-devtools/python/python3-pyperclip_1.8.2.bb +++ /dev/null @@ -1,14 +0,0 @@ -DESCRIPTION = "A cross-platform clipboard module for Python. (only handles plain text for now)" -HOMEPAGE = "https://github.com/asweigart/pyperclip" -LICENSE = "BSD-3-Clause" -LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=d7dd4b0d1f7153322a546e89b5a0a632" - -SRC_URI[sha256sum] = "105254a8b04934f0bc84e9c24eb360a591aaf6535c9def5f29d92af107a9bf57" - -inherit pypi setuptools3 - -RDEPENDS:${PN} += " \ - python3-ctypes \ -" - -BBCLASSEXTEND = "native nativesdk" diff --git a/meta-python/recipes-devtools/python/python3-pyperclip_1.9.0.bb b/meta-python/recipes-devtools/python/python3-pyperclip_1.9.0.bb new file mode 100644 index 0000000000..80af514fab --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pyperclip_1.9.0.bb @@ -0,0 +1,14 @@ +DESCRIPTION = "A cross-platform clipboard module for Python. (only handles plain text for now)" +HOMEPAGE = "https://github.com/asweigart/pyperclip" +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=d7dd4b0d1f7153322a546e89b5a0a632" + +SRC_URI[sha256sum] = "b7de0142ddc81bfc5c7507eea19da920b92252b548b96186caf94a5e2527d310" + +inherit pypi setuptools3 + +RDEPENDS:${PN} += " \ + python3-ctypes \ +" + +BBCLASSEXTEND = "native nativesdk" -- cgit v1.2.3-54-g00ecf