17
0

Compare commits

7 Commits

Author SHA256 Message Date
dd26a5ff49 Accepting request 1284646 from devel:languages:python
- Switch to pyproject macros.

OBS-URL: https://build.opensuse.org/request/show/1284646
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyscreenshot?expand=0&rev=6
2025-06-11 14:26:03 +00:00
e8d1b0935d - Switch to pyproject macros.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyscreenshot?expand=0&rev=13
2025-06-11 06:22:46 +00:00
767e55ecf2 Accepting request 1270570 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1270570
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyscreenshot?expand=0&rev=5
2025-04-18 14:20:46 +00:00
bd4f64f453 Accepting request 1270030 from home:badshah400:Staging
test flavor: Drop BuildRequires: maim as test_maim is not being run anyway.

OBS-URL: https://build.opensuse.org/request/show/1270030
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyscreenshot?expand=0&rev=11
2025-04-17 13:58:57 +00:00
872afefde9 Accepting request 1194578 from devel:languages:python
- update to 3.1:
  * Python 3.10 support
  * documentation update
  * test fixes
  * Better approach using jeepney

OBS-URL: https://build.opensuse.org/request/show/1194578
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyscreenshot?expand=0&rev=4
2024-08-19 21:44:27 +00:00
1fe2ea558d OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyscreenshot?expand=0&rev=9 2024-08-18 17:12:22 +00:00
c0e94d616f - update to 3.1:
* Python 3.10 support
  * documentation update
  * test fixes
  * Better approach using jeepney

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyscreenshot?expand=0&rev=8
2023-12-09 10:00:16 +00:00
4 changed files with 34 additions and 11 deletions

View File

@@ -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
View File

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

View File

@@ -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>

View File

@@ -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
# remain the property of their copyright owners, unless otherwise agreed
@@ -26,13 +26,15 @@
%bcond_with test
%endif
Name: python-pyscreenshot%{psuffix}
Version: 3.0
Version: 3.1
Release: 0
Summary: Python screenshots
License: BSD-3-Clause
URL: https://github.com/ponty/pyscreenshot
Source: https://files.pythonhosted.org/packages/source/p/pyscreenshot/pyscreenshot-%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-EasyProcess
@@ -55,14 +57,15 @@ BuildRequires: %{python_module entrypoint2}
BuildRequires: %{python_module jeepney}
BuildRequires: %{python_module mss}
BuildRequires: %{python_module path.py}
BuildRequires: %{python_module pygame}
BuildRequires: %{python_module pyscreenshot >= %{version}}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module python-xlib}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wxPython}
BuildRequires: ImageMagick
BuildRequires: gnome-screenshot
BuildRequires: maim
# test_maim is not being run
# BuildRequires: maim
BuildRequires: pqiv-gdkpixbuf
BuildRequires: xdpyinfo
BuildRequires: xmessage
@@ -80,11 +83,11 @@ Replacement for the ImageGrab Module.
%autosetup -p1 -n pyscreenshot-%{version}
%build
%python_build
%pyproject_wheel
%install
%if !%{with test}
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%endif
@@ -104,7 +107,7 @@ rm -rf /tmp/fillscreen*
%doc README.md
%license LICENSE.txt
%{python_sitelib}/pyscreenshot
%{python_sitelib}/pyscreenshot-%{version}*-info
%{python_sitelib}/pyscreenshot-%{version}.dist-info
%endif
%changelog