Sync from SUSE:SLFO:Main python-pyperclip revision bb857595245188a04eb718852fc7d9b8

This commit is contained in:
Adrian Schröter 2024-05-03 22:13:12 +02:00
commit 1e15885e6c
4 changed files with 179 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

BIN
pyperclip-1.8.2.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

92
python-pyperclip.changes Normal file
View File

@ -0,0 +1,92 @@
-------------------------------------------------------------------
Fri Apr 21 12:31:07 UTC 2023 - Dirk Müller <dmueller@suse.com>
- add sle15_python_module_pythons (jsc#PED-68)
-------------------------------------------------------------------
Thu Apr 13 22:43:51 UTC 2023 - Matej Cepl <mcepl@suse.com>
- Make calling of %{sle15modernpython} optional.
-------------------------------------------------------------------
Mon Mar 8 09:05:06 UTC 2021 - Dirk Müller <dmueller@suse.com>
- update to 1.8.2:
+ no changes available
-------------------------------------------------------------------
Sat Dec 19 10:32:51 UTC 2020 - Dirk Müller <dmueller@suse.com>
- update to 1.8.1:
+ no changes available
-------------------------------------------------------------------
Wed Apr 29 10:32:41 UTC 2020 - Dirk Mueller <dmueller@suse.com>
- update to 1.8.0
+ no changes available
-------------------------------------------------------------------
Wed Mar 11 16:55:59 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
- Fix build without python2
-------------------------------------------------------------------
Mon Oct 14 14:16:16 UTC 2019 - Matej Cepl <mcepl@suse.com>
- Replace %fdupes -s with plain %fdupes; hardlinks are better.
-------------------------------------------------------------------
Fri Apr 12 13:44:27 UTC 2019 - pgajdos@suse.com
- version update to 1.7.0
* Added ability to read/write clipboard by running `python -m pyperclip`
- added sources
https://github.com/asweigart/pyperclip/issues/17
+ LICENSE.txt
-------------------------------------------------------------------
Tue Dec 4 12:52:38 UTC 2018 - Matej Cepl <mcepl@suse.com>
- Remove superfluous devel dependency for noarch package
-------------------------------------------------------------------
Tue Feb 13 08:08:27 UTC 2018 - 9+suse@cirno.systems
- Update to version 1.6.0
* Capture stderr of xclip subprocess, fixed issue where emojii
cut off the last character, allowed selection between PRIMARY
and CLIPBOARD for xsel and xclip
* Pyperclip works with qtpy module, set pyqt as lower priority
than xsel/xclip/klipper, add support for PyQt5
* Fixed the encoding that was set to "uft-8"
* Added lazy loading
-------------------------------------------------------------------
Sat Mar 11 21:00:33 UTC 2017 - jengelh@inai.de
- Trim redundant words from descriptions.
-------------------------------------------------------------------
Mon Mar 6 19:28:45 UTC 2017 - aloisio@gmx.com
- Update to version 1.5.27
* Disable broken cygwin implementation until issue 55 can be
fixed
* Fix #51, Replace wcscpy_s with memmove for Windows XP.
* Fix #53, PEP8 changes, STRING_FUNCTION rename
- Converted to single-spec
- Updated source URL, license and homepage
-------------------------------------------------------------------
Sun Jan 3 21:36:53 UTC 2016 - freitag@opensuse.org
- 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

61
python-pyperclip.spec Normal file
View File

@ -0,0 +1,61 @@
#
# spec file for package python-pyperclip
#
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%{?sle15_python_module_pythons}
Name: python-pyperclip
Version: 1.8.2
Release: 0
Summary: A clipboard module for Python
License: BSD-3-Clause
URL: https://github.com/asweigart/pyperclip
Source0: https://files.pythonhosted.org/packages/source/p/pyperclip/pyperclip-%{version}.tar.gz
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRequires: unzip
Requires: xclip
Requires: xsel
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module pytest}
# /SECTION
%python_subpackages
%description
A clipboard module for Python. It only handles plain text.
%prep
%setup -q -n pyperclip-%{version}
%build
%python_build
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pytest
%files %{python_files}
%license LICENSE.txt
%{python_sitelib}/pyperclip
%{python_sitelib}/pyperclip-%{version}-py*.egg-info
%changelog