forked from pool/python-pyperclip
Compare commits
7 Commits
Author | SHA256 | Date | |
---|---|---|---|
25e5be9fb5 | |||
3f797403ec | |||
2a6c78500a | |||
b5990c4403 | |||
7790229e40 | |||
767fca65a7 | |||
492e6bdef0 |
3
pyperclip-1.10.0.tar.gz
Normal file
3
pyperclip-1.10.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:180c8346b1186921c75dfd14d9048a6b5d46bfc499778811952c6dd6eb1ca6be
|
||||||
|
size 12193
|
BIN
pyperclip-1.9.0.tar.gz
(Stored with Git LFS)
BIN
pyperclip-1.9.0.tar.gz
(Stored with Git LFS)
Binary file not shown.
@@ -1,3 +1,27 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Sep 23 09:10:49 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||||
|
|
||||||
|
- Update to 1.10.0
|
||||||
|
* docs: fix simple typo, deteremine -> determine
|
||||||
|
* Remove PyGtk references
|
||||||
|
* Remove PyQt4 references
|
||||||
|
* Update docs to remove references to pygtk, PyQt4
|
||||||
|
* Remove try-except ladder
|
||||||
|
* Update index.rst
|
||||||
|
* wayland: request text type to wl-paste This fixes UnicodeDecodeError
|
||||||
|
while the clipboards contains images or other types of content
|
||||||
|
* Fixed wsl encoding
|
||||||
|
* Fixed wsl encoding
|
||||||
|
* Add instructions for Wayland
|
||||||
|
* Updated pytest and dependencies
|
||||||
|
* Removing detox dependency (I'm rethinking the testing setup.)
|
||||||
|
* Removing references to gtk module since we dropped it.
|
||||||
|
* make wayland work without DISPLAY variable
|
||||||
|
* Adding new authors.
|
||||||
|
* Mention Wayland in error message
|
||||||
|
* Update __init__.py
|
||||||
|
- Refresh tests.patch
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Jun 11 05:49:30 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
Wed Jun 11 05:49:30 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
@@ -18,7 +18,7 @@
|
|||||||
|
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-pyperclip
|
Name: python-pyperclip
|
||||||
Version: 1.9.0
|
Version: 1.10.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: A clipboard module for Python
|
Summary: A clipboard module for Python
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
|
59
tests.patch
59
tests.patch
@@ -1,30 +1,29 @@
|
|||||||
Index: pyperclip-1.9.0/tests/test_pyperclip.py
|
diff -Nru pyperclip-1.10.0.orig/tests/test_pyperclip.py pyperclip-1.10.0/tests/test_pyperclip.py
|
||||||
===================================================================
|
--- pyperclip-1.10.0.orig/tests/test_pyperclip.py 2025-09-18 02:38:44.000000000 +0200
|
||||||
--- pyperclip-1.9.0.orig/tests/test_pyperclip.py
|
+++ pyperclip-1.10.0/tests/test_pyperclip.py 2025-09-23 11:10:26.440769794 +0200
|
||||||
+++ pyperclip-1.9.0/tests/test_pyperclip.py
|
@@ -8,7 +8,7 @@
|
||||||
@@ -8,7 +8,7 @@ import platform
|
#import sys
|
||||||
#import sys
|
#sys.path.insert(0, os.path.join(os.path.dirname(__file__), '..'))
|
||||||
#sys.path.insert(0, os.path.join(os.path.dirname(__file__), '..'))
|
|
||||||
|
-from pyperclip import _executable_exists, HAS_DISPLAY
|
||||||
-from pyperclip import _executable_exists, HAS_DISPLAY
|
+from pyperclip import _executable_exists
|
||||||
+from pyperclip import _executable_exists
|
from pyperclip import (init_osx_pbcopy_clipboard, init_osx_pyobjc_clipboard,
|
||||||
from pyperclip import (init_osx_pbcopy_clipboard, init_osx_pyobjc_clipboard,
|
init_dev_clipboard_clipboard,
|
||||||
init_dev_clipboard_clipboard,
|
init_qt_clipboard,
|
||||||
init_qt_clipboard,
|
@@ -134,16 +134,6 @@
|
||||||
@@ -134,16 +134,6 @@ class TestOSX(_TestClipboard):
|
clipboard = init_osx_pyobjc_clipboard()
|
||||||
clipboard = init_osx_pyobjc_clipboard()
|
|
||||||
|
|
||||||
|
-class TestQt(_TestClipboard):
|
||||||
-class TestQt(_TestClipboard):
|
- if HAS_DISPLAY:
|
||||||
- if HAS_DISPLAY:
|
- try:
|
||||||
- try:
|
- import PyQt5.QtWidgets
|
||||||
- import PyQt5.QtWidgets
|
- except ImportError:
|
||||||
- except ImportError:
|
- pass
|
||||||
- pass
|
- else:
|
||||||
- else:
|
- clipboard = init_qt_clipboard()
|
||||||
- clipboard = init_qt_clipboard()
|
-
|
||||||
-
|
-
|
||||||
-
|
class TestXClip(_TestClipboard):
|
||||||
class TestXClip(_TestClipboard):
|
if _executable_exists("xclip"):
|
||||||
if _executable_exists("xclip"):
|
clipboard = init_xclip_clipboard()
|
||||||
clipboard = init_xclip_clipboard()
|
|
||||||
|
Reference in New Issue
Block a user