17
0
2025-05-12 06:40:57 +00:00
committed by Git OBS Bridge
commit c1b84bb5dc
6 changed files with 188 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

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
.osc

27
LICENSE.txt Normal file
View File

@@ -0,0 +1,27 @@
Copyright (c) 2014, Al Sweigart
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
* Neither the name of the PyAutoGUI nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

3
PyAutoGUI-0.9.54.tar.gz Normal file
View File

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

68
python-PyAutoGUI.changes Normal file
View File

@@ -0,0 +1,68 @@
-------------------------------------------------------------------
Tue May 6 12:19:50 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to pip-based build
-------------------------------------------------------------------
Wed Dec 27 13:46:16 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 0.9.54:
* package metadata and testsuite fixes
-------------------------------------------------------------------
Thu Sep 22 20:52:45 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
- v0.9.53
-- Fixed a compatibility issue with the pystray module.
- 0.9.52
-- Fixed hotkey() to work with PAUSE.
- v0.9.51
-- Added the hold() context manager, several bug fixes for mac mouse functions.
- v0.9.50
-- The 0.9.49 changes were incredibly buggy and have been reverted.
- v0.9.49
-- Migrated from Quartz to Rubicon
- v0.9.46
-- Added mouseinfo module.
- v0.9.45
-- Added left-click, made mouse buttons more explicit and fixed it so that the right mouse button is 2 and middle mouse button is 3.
Added failsafe points in all corners. Added screenshot logging. Fixed _autoPause().
- v0.9.44
-- Adding ability to pass 4-integer box tuples to click() and other functions.
- v0.9.43
-- Renamed getFocusedWindow to getActiveWindow to keep it up to date with pygetwindow.
- v0.9.40
-- Created FAILSAFE_POINT constant instead of hard coding (0, 0), add move(), drag(), write() names. Adding PyGetWindow.
- v0.9.39
-- Added tox and fixed setup.py for Python 2 compatibility.
- v0.9.38
-- Removing non-ascii characters from readme because it causes failures when displaying on Windows.
- v0.9.37
-- Updating setup.py
- v0.9.36
-- Fixed Windows XP problem with the DPI scaling API call.
-------------------------------------------------------------------
Thu Nov 7 15:12:43 UTC 2019 - Matej Cepl <mcepl@suse.com>
- Run through spec-cleaner
-------------------------------------------------------------------
Tue Dec 4 12:51:55 UTC 2018 - Matej Cepl <mcepl@suse.com>
- Remove superfluous devel dependency for noarch package
-------------------------------------------------------------------
Tue Mar 6 07:49:37 UTC 2018 - alarrosa@suse.com
- Added missing requires python-python-xlib
-------------------------------------------------------------------
Mon Mar 5 19:30:23 UTC 2018 - jengelh@inai.de
- Trim filler wording from description.
-------------------------------------------------------------------
Mon Mar 5 18:15:55 UTC 2018 - alarrosa@suse.com
- Initial release of python-PyAutoGUI 0.9.36

66
python-PyAutoGUI.spec Normal file
View File

@@ -0,0 +1,66 @@
#
# spec file for package python-PyAutoGUI
#
# Copyright (c) 2025 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/
#
Name: python-PyAutoGUI
Version: 0.9.54
Release: 0
Summary: A Python module for GUI automation that can control the keyboard and mouse
License: BSD-3-Clause
URL: https://github.com/asweigart/pyautogui
Source: https://files.pythonhosted.org/packages/source/P/PyAutoGUI/PyAutoGUI-%{version}.tar.gz
Source99: https://raw.githubusercontent.com/asweigart/pyautogui/master/LICENSE.txt
BuildRequires: %{python_module pip}
BuildRequires: %{python_module python-xlib}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: dos2unix
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-Pillow
Requires: python-PyMsgBox
Requires: python-PyScreeze
Requires: python-PyTweening >= 1.0.1
Requires: python-python-xlib
BuildArch: noarch
%python_subpackages
%description
PyAutoGUI is a GUI automation Python module. It can be used to
programmatically control the mouse and keyboard.
%prep
%setup -q -n PyAutoGUI-%{version}
cp %{SOURCE99} .
# pyautogui can't be imported without a DISPLAY, so we force the version on setup.py
sed -i -e "s/version=__import__('pyautogui').__version__,/version='%{version}',/" setup.py
dos2unix README.md
%build
%pyproject_wheel
%install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%files %{python_files}
%doc README.md
%license LICENSE.txt
%{python_sitelib}/pyautogui
%{python_sitelib}/[Pp]y[Aa]uto[Gg][Uu][Ii]-%{version}*-info
%changelog