Compare commits
5 Commits
Author | SHA256 | Date | |
---|---|---|---|
1357318fb3 | |||
90b31092c0 | |||
572dcb32e5 | |||
42a51be9be | |||
f56f8e99b0 |
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:180c8346b1186921c75dfd14d9048a6b5d46bfc499778811952c6dd6eb1ca6be
|
||||
size 12193
|
BIN
pyperclip-1.9.0.tar.gz
(Stored with Git LFS)
Normal file
BIN
pyperclip-1.9.0.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@@ -1,27 +1,3 @@
|
||||
-------------------------------------------------------------------
|
||||
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>
|
||||
|
||||
|
@@ -18,7 +18,7 @@
|
||||
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-pyperclip
|
||||
Version: 1.10.0
|
||||
Version: 1.9.0
|
||||
Release: 0
|
||||
Summary: A clipboard module for Python
|
||||
License: BSD-3-Clause
|
||||
|
59
tests.patch
59
tests.patch
@@ -1,29 +1,30 @@
|
||||
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.10.0/tests/test_pyperclip.py 2025-09-23 11:10:26.440769794 +0200
|
||||
@@ -8,7 +8,7 @@
|
||||
#import sys
|
||||
#sys.path.insert(0, os.path.join(os.path.dirname(__file__), '..'))
|
||||
|
||||
-from pyperclip import _executable_exists, HAS_DISPLAY
|
||||
+from pyperclip import _executable_exists
|
||||
from pyperclip import (init_osx_pbcopy_clipboard, init_osx_pyobjc_clipboard,
|
||||
init_dev_clipboard_clipboard,
|
||||
init_qt_clipboard,
|
||||
@@ -134,16 +134,6 @@
|
||||
clipboard = init_osx_pyobjc_clipboard()
|
||||
|
||||
|
||||
-class TestQt(_TestClipboard):
|
||||
- if HAS_DISPLAY:
|
||||
- try:
|
||||
- import PyQt5.QtWidgets
|
||||
- except ImportError:
|
||||
- pass
|
||||
- else:
|
||||
- clipboard = init_qt_clipboard()
|
||||
-
|
||||
-
|
||||
class TestXClip(_TestClipboard):
|
||||
if _executable_exists("xclip"):
|
||||
clipboard = init_xclip_clipboard()
|
||||
Index: pyperclip-1.9.0/tests/test_pyperclip.py
|
||||
===================================================================
|
||||
--- pyperclip-1.9.0.orig/tests/test_pyperclip.py
|
||||
+++ pyperclip-1.9.0/tests/test_pyperclip.py
|
||||
@@ -8,7 +8,7 @@ import platform
|
||||
#import sys
|
||||
#sys.path.insert(0, os.path.join(os.path.dirname(__file__), '..'))
|
||||
|
||||
-from pyperclip import _executable_exists, HAS_DISPLAY
|
||||
+from pyperclip import _executable_exists
|
||||
from pyperclip import (init_osx_pbcopy_clipboard, init_osx_pyobjc_clipboard,
|
||||
init_dev_clipboard_clipboard,
|
||||
init_qt_clipboard,
|
||||
@@ -134,16 +134,6 @@ class TestOSX(_TestClipboard):
|
||||
clipboard = init_osx_pyobjc_clipboard()
|
||||
|
||||
|
||||
-class TestQt(_TestClipboard):
|
||||
- if HAS_DISPLAY:
|
||||
- try:
|
||||
- import PyQt5.QtWidgets
|
||||
- except ImportError:
|
||||
- pass
|
||||
- else:
|
||||
- clipboard = init_qt_clipboard()
|
||||
-
|
||||
-
|
||||
class TestXClip(_TestClipboard):
|
||||
if _executable_exists("xclip"):
|
||||
clipboard = init_xclip_clipboard()
|
||||
|
Reference in New Issue
Block a user