mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-03-09 22:00:00 +00:00
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>
This commit is contained in:
@@ -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"
|
||||
Reference in New Issue
Block a user