Hello community, here is the log from the commit of package python-pyinsane2 for openSUSE:Leap:15.2 checked in at 2020-03-02 13:20:56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Leap:15.2/python-pyinsane2 (Old) and /work/SRC/openSUSE:Leap:15.2/.python-pyinsane2.new.26092 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pyinsane2" Mon Mar 2 13:20:56 2020 rev:11 rq:776977 version:2.0.13 Changes: -------- --- /work/SRC/openSUSE:Leap:15.2/python-pyinsane2/python-pyinsane2.changes 2020-01-15 15:51:58.963547671 +0100 +++ /work/SRC/openSUSE:Leap:15.2/.python-pyinsane2.new.26092/python-pyinsane2.changes 2020-03-02 13:20:56.694110625 +0100 @@ -1,0 +2,50 @@ +Tue Jul 30 13:36:39 UTC 2019 - [email protected] + +- version update to 2.0.13 + - WIA: Support of Canon MG3051: Fix getting data from the drivers + (a Python byte buffer was reused instead of being duplicated) + - WIA: Support of Epson Perfection scanners: Handle resolution range correctly + (3 values provided instead of 2) + - Sane: Support of Epson DS-310: Do not try to set a value on an option that + can have only one value. Sane driver may return an error. + - WIA: Support of Epson WorkForce ES-300W: + * call to seek(0) wasn't handled properly + * scan must be done on root WIAItem + 2018-03-05 : 2.0.12: + - Build method has been changed: Use now "make install" instead of + "python3 ./setup.py install" + - WIA: Add traces (from the C++ code, but using the Python logging module) + - WIA: Fix behavior regarding feeders (Brother MFC-7360N for instance) + 2018-02-22 : 2.0.11: + - Add pyinsane2.__version__ + - Sane: Normalize behavior between single and multi scan: Single scan must raise a StopIteration + after the first EOFError + - Sane/daemon: remove trace that reduced badly the performances + - Build: Add Makefile (if working directly on the Git version, please use now + 'make install' instead of 'python3 ./setup.py install') + 2017-07-11 : 2.0.10: + - Now works with 'setup.py develop' (thanks to Matthieu Coudron) + - WIA: Some drivers (Lexmark for instance) returns WIA_ERROR_PAPER_EMPTY when + calling transfer->Download() instead of returning a shorted image (like HP) + - MacOSX + Sane: disable dedicated process workaround (doesn't work) + - WIA: Minor optimisation (Use collections.deque() instead of list.pop()) + - Sane/exit(): Exit gracefully + 2016-12-06 : 2.0.9: + - Sane: Add workaround for scanners Samsung M288x: Option 'source' is actually + called 'doc-source' + 2016-12-04 : 2.0.8: + - WIA: Set various options to default values to avoid problems when scanning + - WIA: Fix ADF support: clearly tell the driver we intend to scan pages one + by one (required for support of Brother MFC-7360N) + - WIA: Workaround: Prioritize source options over scanner options (required + for support of Brother MFC-7360N) + - WIA: Fix behavior of PyinsaneImageStream::Write() (required for support of + Brother MFC-7360N) + - Sane/Add workaround for Lexmark MFP: the option "resolution" is actually + called "scan-resolution" + - set_scanner_opt(): Fix the list of exceptions to catch when actually setting the option + - Windows/WIA: Fix: If scanning only one page, at the end of page, don't request the next page + - Windows/WIA: Make setting options more resilient to crappy drivers + - Windows/WIA: Add __str__() on most objects (useful for diagnostic) + +------------------------------------------------------------------- Old: ---- pyinsane2-2.0.6.tar.gz New: ---- pyinsane2-2.0.13.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pyinsane2.spec ++++++ --- /var/tmp/diff_new_pack.un8SdO/_old 2020-03-02 13:20:57.010111251 +0100 +++ /var/tmp/diff_new_pack.un8SdO/_new 2020-03-02 13:20:57.014111259 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-pyinsane2 # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,40 +12,51 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# +%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-pyinsane2 -Version: 2.0.6 +Version: 2.0.13 Release: 0 -License: GPL-3.0+ -Summary: Python wrapper for SANE -Url: https://github.com/jflesch/pyinsane +Summary: Python library to access and use image scanners (Linux/Windows/etc) +License: GPL-3.0-or-later Group: Development/Languages/Python -Source: https://pypi.io/packages/source/p/pyinsane2/pyinsane2-%{version}.tar.gz -BuildRequires: python-devel -BuildRequires: python-setuptools -BuildRequires: python-Pillow -BuildRequires: python-nose +URL: https://github.com/openpaperwork/pyinsane +Source: https://files.pythonhosted.org/packages/source/p/pyinsane2/pyinsane2-%{version}.tar.gz +BuildRequires: %{python_module setuptools} +BuildRequires: fdupes +BuildRequires: python-rpm-macros Requires: python-Pillow -BuildRoot: %{_tmppath}/%{name}-%{version}-build +Requires: sane-backends BuildArch: noarch +# SECTION test requirements +BuildRequires: %{python_module Pillow} +BuildRequires: %{python_module nose >= 1.0} +BuildRequires: sane-backends +# /SECTION +%python_subpackages %description -Python library to access and use image scanners (devices). +Python library to access and use image scanners (Linux/Windows/etc) %prep %setup -q -n pyinsane2-%{version} %build -python setup.py build +%python_build %install -python setup.py install --prefix=%{_prefix} --root=%{buildroot} +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%check +%python_expand nosetests-%{$python_bin_suffix} -%files -%defattr(-,root,root,-) -%doc README.md COPYING +%files %{python_files} +%doc AUTHORS ChangeLog README.md +%license LICENSE %{python_sitelib}/* %changelog ++++++ pyinsane2-2.0.6.tar.gz -> pyinsane2-2.0.13.tar.gz ++++++ ++++ 12499 lines of diff (skipped)
