Compare commits
7 Commits
Author | SHA256 | Date | |
---|---|---|---|
dd26a5ff49 | |||
e8d1b0935d | |||
767e55ecf2 | |||
bd4f64f453 | |||
872afefde9 | |||
1fe2ea558d | |||
c0e94d616f |
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:dd4fdfaeb617483913a6b16845b9f428de5db28758979f4b6cf8f236d292b908
|
|
||||||
size 24353
|
|
3
pyscreenshot-3.1.tar.gz
Normal file
3
pyscreenshot-3.1.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:8c0e93f0aef66a6bfe55a86abfced6bd396ae4b4f6cc1e36f04a28ad2625594d
|
||||||
|
size 29238
|
@@ -1,3 +1,23 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jun 11 05:49:32 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
- Switch to pyproject macros.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Apr 16 12:51:48 UTC 2025 - Atri Bhattacharya <badshah400@gmail.com>
|
||||||
|
|
||||||
|
- test flavor: Drop BuildRequires: maim as test_maim is not being
|
||||||
|
run anyway.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Dec 9 09:59:35 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- update to 3.1:
|
||||||
|
* Python 3.10 support
|
||||||
|
* documentation update
|
||||||
|
* test fixes
|
||||||
|
* Better approach using jeepney
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Dec 22 09:54:12 UTC 2022 - Daniel Garcia <daniel.garcia@suse.com>
|
Thu Dec 22 09:54:12 UTC 2022 - Daniel Garcia <daniel.garcia@suse.com>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file
|
# spec file for package python-pyscreenshot
|
||||||
#
|
#
|
||||||
# Copyright (c) 2022 SUSE LLC
|
# Copyright (c) 2025 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -26,13 +26,15 @@
|
|||||||
%bcond_with test
|
%bcond_with test
|
||||||
%endif
|
%endif
|
||||||
Name: python-pyscreenshot%{psuffix}
|
Name: python-pyscreenshot%{psuffix}
|
||||||
Version: 3.0
|
Version: 3.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Python screenshots
|
Summary: Python screenshots
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
URL: https://github.com/ponty/pyscreenshot
|
URL: https://github.com/ponty/pyscreenshot
|
||||||
Source: https://files.pythonhosted.org/packages/source/p/pyscreenshot/pyscreenshot-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/p/pyscreenshot/pyscreenshot-%{version}.tar.gz
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-EasyProcess
|
Requires: python-EasyProcess
|
||||||
@@ -55,14 +57,15 @@ BuildRequires: %{python_module entrypoint2}
|
|||||||
BuildRequires: %{python_module jeepney}
|
BuildRequires: %{python_module jeepney}
|
||||||
BuildRequires: %{python_module mss}
|
BuildRequires: %{python_module mss}
|
||||||
BuildRequires: %{python_module path.py}
|
BuildRequires: %{python_module path.py}
|
||||||
|
BuildRequires: %{python_module pygame}
|
||||||
BuildRequires: %{python_module pyscreenshot >= %{version}}
|
BuildRequires: %{python_module pyscreenshot >= %{version}}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module python-xlib}
|
BuildRequires: %{python_module python-xlib}
|
||||||
BuildRequires: %{python_module setuptools}
|
|
||||||
BuildRequires: %{python_module wxPython}
|
BuildRequires: %{python_module wxPython}
|
||||||
BuildRequires: ImageMagick
|
BuildRequires: ImageMagick
|
||||||
BuildRequires: gnome-screenshot
|
BuildRequires: gnome-screenshot
|
||||||
BuildRequires: maim
|
# test_maim is not being run
|
||||||
|
# BuildRequires: maim
|
||||||
BuildRequires: pqiv-gdkpixbuf
|
BuildRequires: pqiv-gdkpixbuf
|
||||||
BuildRequires: xdpyinfo
|
BuildRequires: xdpyinfo
|
||||||
BuildRequires: xmessage
|
BuildRequires: xmessage
|
||||||
@@ -80,11 +83,11 @@ Replacement for the ImageGrab Module.
|
|||||||
%autosetup -p1 -n pyscreenshot-%{version}
|
%autosetup -p1 -n pyscreenshot-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%if !%{with test}
|
%if !%{with test}
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
@@ -104,7 +107,7 @@ rm -rf /tmp/fillscreen*
|
|||||||
%doc README.md
|
%doc README.md
|
||||||
%license LICENSE.txt
|
%license LICENSE.txt
|
||||||
%{python_sitelib}/pyscreenshot
|
%{python_sitelib}/pyscreenshot
|
||||||
%{python_sitelib}/pyscreenshot-%{version}*-info
|
%{python_sitelib}/pyscreenshot-%{version}.dist-info
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user