meta-openembedded/meta-python/recipes-devtools/python/python3-pyperclip_1.9.0.bb
Leon Anavi 952e7cc37e
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 <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-06-21 21:45:10 -07:00

15 lines
466 B
BlitzBasic

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"