14
0

9 Commits

Author SHA256 Message Date
1e808cd426 Accepting request 1310637 from devel:languages:python
- update to 1.11.0:
  * Fix pyproject

  * Pyperclip now "stringifies" all data types by passing it to str() (or
    globals()['__builtins__'].unicode on Python 2), so passing [1, 2, 3] would
  * shutil.which() replaces the custom code (except in 2.7 and below which doesn't
  * Remove waitForPaste() and waitForNewPaste() functions, these aren't something
  + no changes available
- Update to upstream version 1.5.24
- First initial package of version 1.5.11

OBS-URL: https://build.opensuse.org/request/show/1310637
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyperclip?expand=0&rev=15
2025-10-11 20:48:32 +00:00
62283b74dd - update to 1.11.0:
* Fix pyproject
  * Pyperclip now "stringifies" all data types by passing it to str() (or
    globals()['__builtins__'].unicode on Python 2), so passing [1, 2, 3] would
  * shutil.which() replaces the custom code (except in 2.7 and below which doesn't
  * Remove waitForPaste() and waitForNewPaste() functions, these aren't something
  + no changes available
- Update to upstream version 1.5.24
- First initial package of version 1.5.11

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyperclip?expand=0&rev=32
2025-10-10 21:00:35 +00:00
25e5be9fb5 Accepting request 1306746 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1306746
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyperclip?expand=0&rev=14
2025-09-25 16:44:09 +00:00
3f797403ec Accepting request 1306676 from home:glaubitz:branches:devel:languages:python
- 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

OBS-URL: https://build.opensuse.org/request/show/1306676
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyperclip?expand=0&rev=30
2025-09-23 13:27:10 +00:00
2a6c78500a Accepting request 1284642 from devel:languages:python
- Switch to pyproject macros.

OBS-URL: https://build.opensuse.org/request/show/1284642
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyperclip?expand=0&rev=13
2025-06-11 14:19:10 +00:00
b5990c4403 - Switch to pyproject macros.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyperclip?expand=0&rev=28
2025-06-11 06:20:45 +00:00
7790229e40 Accepting request 1208665 from devel:languages:python
Forwarded request #1207975 from mcalabkova

- Update to 1.9.0
    * Automatically cast the copy() argument to a string for all data types.
    * _py3_executable_exists and _py2_executable_exists had swapped names; fixed.
    * 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.
- Update to 1.9.0
  * Automatically cast the copy() argument to a string for all data types.
  * _py3_executable_exists and _py2_executable_exists had swapped names; fixed.
  * 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.
- Add tests.patch to fix tests

OBS-URL: https://build.opensuse.org/request/show/1208665
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyperclip?expand=0&rev=12
2024-10-18 13:53:00 +00:00
767fca65a7 - Add tests.patch to fix tests
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyperclip?expand=0&rev=26
2024-10-17 14:54:04 +00:00
492e6bdef0 - Update to 1.9.0
* Automatically cast the copy() argument to a string for all data types.
  * _py3_executable_exists and _py2_executable_exists had swapped names; fixed.
  * 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.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyperclip?expand=0&rev=25
2024-10-17 08:05:39 +00:00
5 changed files with 71 additions and 42 deletions

3
pyperclip-1.11.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:244035963e4428530d9e3a6101a1ef97209c6825edab1567beac148ccc1db1b6
size 12185

BIN
pyperclip-1.9.0.tar.gz (Stored with Git LFS)

Binary file not shown.

View File

@@ -1,3 +1,33 @@
-------------------------------------------------------------------
Fri Oct 10 20:59:21 UTC 2025 - Dirk Müller <dmueller@suse.com>
- update to 1.11.0:
* Fix pyproject
-------------------------------------------------------------------
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>
@@ -9,12 +39,12 @@ Mon Oct 14 15:27:29 UTC 2024 - Markéta Machová <mmachova@suse.com>
- Update to 1.9.0
* Automatically cast the copy() argument to a string for all data types.
* _py3_executable_exists and _py2_executable_exists had swapped names; fixed.
* Pyperclip now "stringifies" all data types by passing it to str() (or
globals()['__builtins__'].unicode on Python 2), so passing [1, 2, 3] would
* 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
* 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
* 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.
- Add tests.patch to fix tests
@@ -39,7 +69,7 @@ Mon Mar 8 09:05:06 UTC 2021 - Dirk Müller <dmueller@suse.com>
Sat Dec 19 10:32:51 UTC 2020 - Dirk Müller <dmueller@suse.com>
- update to 1.8.1:
+ no changes available
+ no changes available
-------------------------------------------------------------------
Wed Apr 29 10:32:41 UTC 2020 - Dirk Mueller <dmueller@suse.com>
@@ -104,10 +134,10 @@ Mon Mar 6 19:28:45 UTC 2017 - aloisio@gmx.com
-------------------------------------------------------------------
Sun Jan 3 21:36:53 UTC 2016 - freitag@opensuse.org
- Update to upstream version 1.5.24
- Update to upstream version 1.5.24
-------------------------------------------------------------------
Mon Aug 24 19:00:22 UTC 2015 - freitag@opensuse.org
- First initial package of version 1.5.11
- First initial package of version 1.5.11

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-pyperclip
#
# Copyright (c) 2025 SUSE LLC
# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
%{?sle15_python_module_pythons}
Name: python-pyperclip
Version: 1.9.0
Version: 1.11.0
Release: 0
Summary: A clipboard module for Python
License: BSD-3-Clause

View File

@@ -1,30 +1,29 @@
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()
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()