Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-pyscreenshot for
openSUSE:Factory checked in at 2022-12-02 13:13:42
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pyscreenshot (Old)
and /work/SRC/openSUSE:Factory/.python-pyscreenshot.new.1835 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pyscreenshot"
Fri Dec 2 13:13:42 2022 rev:2 rq:1039519 version:3.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pyscreenshot/python-pyscreenshot.changes
2020-08-25 12:41:07.717441174 +0200
+++
/work/SRC/openSUSE:Factory/.python-pyscreenshot.new.1835/python-pyscreenshot.changes
2022-12-02 13:13:57.390122175 +0100
@@ -1,0 +2,33 @@
+Fri Dec 2 09:00:03 UTC 2022 - Daniel Garcia <[email protected]>
+
+- Remove python_module macro definition
+- More specific python_sitelib in %files
+- Update to 3.0:
+ * Force latest `0.2.4` version for entrypoint2 dependency
+ * remove py2
+ * PIL is the first choice for osx and win
+ * select PIL backend for Linux also
+ * test: remove path.py dependency
+ * fix sway doc
+ * format code
+ * test: fix sway
+ * test: error message for missing DISPLAY variable
+ * grim: fix py2 syntax
+ * test_pygdk3: check Gdk install
+ * clean.py: new
+ * use UNKNOWN_VERSION constant in grim wrapper
+ * add grim wrapper
+ * test: log_format
+ * fix speedtest
+ * speedtest: "number" parameter
+ * vagrant: fix ubuntu 20.04 based boxes
+ * remove gtk backend
+ * remove qtpy backend
+ * test: showall: faster window opening
+ * xwd backend (but not used)
+ * test_examples
+ * test: remove temp files
+ * test: use os.path.join
+ * examples+generate doc
+
+-------------------------------------------------------------------
Old:
----
pyscreenshot-2.2.tar.gz
New:
----
pyscreenshot-3.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-pyscreenshot.spec ++++++
--- /var/tmp/diff_new_pack.RSCXUj/_old 2022-12-02 13:13:57.894124947 +0100
+++ /var/tmp/diff_new_pack.RSCXUj/_new 2022-12-02 13:13:57.898124969 +0100
@@ -1,7 +1,7 @@
#
-# spec file for package python-pyscreenshot
+# spec file
#
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,7 +16,6 @@
#
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
%global flavor @BUILD_FLAVOR@%{nil}
%if "%{flavor}" == "test"
@@ -27,7 +26,7 @@
%bcond_with test
%endif
Name: python-pyscreenshot%{psuffix}
-Version: 2.2
+Version: 3.0
Release: 0
Summary: Python screenshots
License: BSD-3-Clause
@@ -78,7 +77,7 @@
Replacement for the ImageGrab Module.
%prep
-%setup -q -n pyscreenshot-%{version}
+%autosetup -p1 -n pyscreenshot-%{version}
%build
%python_build
@@ -93,14 +92,19 @@
%if %{with test}
cd tests/
# test_maim fails on Leap 15.x
-%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} xvfb-run
--server-args "-screen 0 1920x1080x24" $python -m pytest -rs -v test_*.py -k
'not test_maim'
+%{python_expand # Necessary to run configure with all python flavors
+export PYTHONPATH=%{buildroot}%{$python_sitelib}
+xvfb-run --server-args "-br -screen 0 900x800x24" $python -m pytest -v -k 'not
test_maim'
+rm -rf /tmp/fillscreen*
+}
%endif
%if !%{with test}
%files %{python_files}
%doc README.md
%license LICENSE.txt
-%{python_sitelib}/*
+%{python_sitelib}/pyscreenshot
+%{python_sitelib}/pyscreenshot-%{version}*-info
%endif
%changelog
++++++ pyscreenshot-2.2.tar.gz -> pyscreenshot-3.0.tar.gz ++++++
++++ 2328 lines of diff (skipped)