diff mbox series

[meta-python,1/5] python3-pyperclip: Upgrade 1.8.2 -> 1.9.0

Message ID 20240621113459.2188274-1-leon.anavi@konsulko.com
State Accepted
Headers show
Series [meta-python,1/5] python3-pyperclip: Upgrade 1.8.2 -> 1.9.0 | expand

Commit Message

Leon Anavi June 21, 2024, 11:34 a.m. UTC
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 <leon.anavi@konsulko.com>
---
 .../{python3-pyperclip_1.8.2.bb => python3-pyperclip_1.9.0.bb}  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-python/recipes-devtools/python/{python3-pyperclip_1.8.2.bb => python3-pyperclip_1.9.0.bb} (81%)
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python3-pyperclip_1.8.2.bb b/meta-python/recipes-devtools/python/python3-pyperclip_1.9.0.bb
similarity index 81%
rename from meta-python/recipes-devtools/python/python3-pyperclip_1.8.2.bb
rename to meta-python/recipes-devtools/python/python3-pyperclip_1.9.0.bb
index dcf0015c5..80af514fa 100644
--- a/meta-python/recipes-devtools/python/python3-pyperclip_1.8.2.bb
+++ b/meta-python/recipes-devtools/python/python3-pyperclip_1.9.0.bb
@@ -3,7 +3,7 @@  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"
+SRC_URI[sha256sum] = "b7de0142ddc81bfc5c7507eea19da920b92252b548b96186caf94a5e2527d310"
 
 inherit pypi setuptools3