diff --git a/LICENSE.txt b/LICENSE.txt deleted file mode 100644 index 2671119..0000000 --- a/LICENSE.txt +++ /dev/null @@ -1,27 +0,0 @@ -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 PyScreeze 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. diff --git a/PyScreeze-0.1.14.tar.gz b/PyScreeze-0.1.14.tar.gz deleted file mode 100644 index 227d389..0000000 --- a/PyScreeze-0.1.14.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:fb3c4d50e9b1389d76648e6ea99d1bc79e7df32bd01ae4eb6bf7397e54597421 -size 8843 diff --git a/PyScreeze-0.1.19.tar.gz b/PyScreeze-0.1.19.tar.gz new file mode 100644 index 0000000..34764ca --- /dev/null +++ b/PyScreeze-0.1.19.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9dfa4ff43d39538f12d4aa2ace446ede87f91a64b486cc819e5f72ba87aaa994 +size 21048 diff --git a/python-PyScreeze.changes b/python-PyScreeze.changes index 0158c18..44a3f9e 100644 --- a/python-PyScreeze.changes +++ b/python-PyScreeze.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Mon Mar 4 17:41:28 UTC 2019 - Tomáš Chvátal + +- Update to 0.1.19: + * Fixing MANIFEST.in to include readme, which cause installation failure. + * Adjusted setup.py to include the long description. + * Adjusted setup.py to include the long description. + * Fixed a bug involving the generator for locateAll(). + ------------------------------------------------------------------- Tue Dec 4 12:52:48 UTC 2018 - Matej Cepl diff --git a/python-PyScreeze.spec b/python-PyScreeze.spec index 61d50b3..5bb7488 100644 --- a/python-PyScreeze.spec +++ b/python-PyScreeze.spec @@ -1,7 +1,7 @@ # # spec file for package python-PyScreeze # -# Copyright (c) 2018 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 @@ -18,33 +18,33 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-PyScreeze -Version: 0.1.14 +Version: 0.1.19 Release: 0 Summary: A screenshot Python module License: BSD-3-Clause Group: Development/Languages/Python -Url: https://github.com/asweigart/pyscreeze +URL: https://github.com/asweigart/pyscreeze Source: https://files.pythonhosted.org/packages/source/P/PyScreeze/PyScreeze-%{version}.tar.gz -Source99: https://raw.githubusercontent.com/asweigart/pyscreeze/master/LICENSE.txt BuildRequires: %{python_module setuptools} -BuildRequires: python-rpm-macros -# SECTION test requirements -BuildRequires: %{python_module Pillow} -# /SECTION BuildRequires: dos2unix BuildRequires: fdupes +BuildRequires: python-rpm-macros Requires: python-Pillow BuildArch: noarch - +# SECTION test requirements +BuildRequires: %{python_module Pillow} +BuildRequires: %{python_module pytest} +BuildRequires: %{python_module python-xlib} +BuildRequires: scrot +BuildRequires: xvfb-run +# /SECTION %python_subpackages %description PyScreeze is a screenshot module for Python 2 and 3. - %prep %setup -q -n PyScreeze-%{version} -cp %{S:99} . dos2unix README.rst %build @@ -54,6 +54,12 @@ dos2unix README.rst %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} +%check +# tests lack fixtures https://github.com/asweigart/pyscreeze/issues/44 +#pushd tests/ +#%%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} xvfb-run py.test-%{$python_bin_suffix} -v +#popd + %files %{python_files} %doc README.rst %license LICENSE.txt