commit python-PyScreeze for openSUSE:Factory

2020-01-16 Thread root
Hello community,

here is the log from the commit of package python-PyScreeze for 
openSUSE:Factory checked in at 2020-01-16 18:21:26

Comparing /work/SRC/openSUSE:Factory/python-PyScreeze (Old)
 and  /work/SRC/openSUSE:Factory/.python-PyScreeze.new.26092 (New)


Package is "python-PyScreeze"

Thu Jan 16 18:21:26 2020 rev:8 rq:764770 version:0.1.26

Changes:

--- /work/SRC/openSUSE:Factory/python-PyScreeze/python-PyScreeze.changes
2019-09-25 08:41:59.810274716 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-PyScreeze.new.26092/python-PyScreeze.changes 
2020-01-16 18:21:28.416982713 +0100
@@ -1,0 +2,7 @@
+Wed Jan 15 15:02:19 UTC 2020 - Marketa Calabkova 
+
+- update to 0.1.26
+  * Added some comments and docstring. Updated setup.py to Python 3.8
+  * Made Pillow a hard requirement for the general unit test.
+
+---

Old:

  PyScreeze-0.1.22.tar.gz

New:

  PyScreeze-0.1.26.tar.gz



Other differences:
--
++ python-PyScreeze.spec ++
--- /var/tmp/diff_new_pack.JS8mo0/_old  2020-01-16 18:21:30.072983649 +0100
+++ /var/tmp/diff_new_pack.JS8mo0/_new  2020-01-16 18:21:30.072983649 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-PyScreeze
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-PyScreeze
-Version:0.1.22
+Version:0.1.26
 Release:0
 Summary:A screenshot Python module
 License:BSD-3-Clause

++ PyScreeze-0.1.22.tar.gz -> PyScreeze-0.1.26.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/PyScreeze-0.1.22/PKG-INFO 
new/PyScreeze-0.1.26/PKG-INFO
--- old/PyScreeze-0.1.22/PKG-INFO   2019-06-28 06:55:17.462100500 +0200
+++ new/PyScreeze-0.1.26/PKG-INFO   2020-01-14 07:57:11.0 +0100
@@ -1,11 +1,11 @@
 Metadata-Version: 1.1
 Name: PyScreeze
-Version: 0.1.22
+Version: 0.1.26
 Summary: A simple, cross-platform screenshot module for Python 2 and 3.
 Home-page: https://github.com/asweigart/pyscreeze
 Author: Al Sweigart
 Author-email: a...@inventwithpython.com
-License: BSD
+License: MIT
 Description: PyScreeze
 =
 
@@ -134,20 +134,21 @@
 
 Keywords: screenshot screen screencap capture scrot screencapture image
 Platform: UNKNOWN
-Classifier: Development Status :: 3 - Alpha
+Classifier: Development Status :: 4 - Beta
 Classifier: Environment :: Win32 (MS Windows)
 Classifier: Environment :: X11 Applications
 Classifier: Environment :: MacOS X
 Classifier: Intended Audience :: Developers
-Classifier: License :: OSI Approved :: BSD License
+Classifier: License :: OSI Approved :: MIT License
 Classifier: Operating System :: OS Independent
 Classifier: Programming Language :: Python
 Classifier: Programming Language :: Python :: 2
-Classifier: Programming Language :: Python :: 2.5
-Classifier: Programming Language :: Python :: 2.6
 Classifier: Programming Language :: Python :: 2.7
 Classifier: Programming Language :: Python :: 3
-Classifier: Programming Language :: Python :: 3.1
 Classifier: Programming Language :: Python :: 3.2
 Classifier: Programming Language :: Python :: 3.3
 Classifier: Programming Language :: Python :: 3.4
+Classifier: Programming Language :: Python :: 3.5
+Classifier: Programming Language :: Python :: 3.6
+Classifier: Programming Language :: Python :: 3.7
+Classifier: Programming Language :: Python :: 3.8
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/PyScreeze-0.1.22/PyScreeze.egg-info/PKG-INFO 
new/PyScreeze-0.1.26/PyScreeze.egg-info/PKG-INFO
--- old/PyScreeze-0.1.22/PyScreeze.egg-info/PKG-INFO2019-06-28 
06:55:17.0 +0200
+++ new/PyScreeze-0.1.26/PyScreeze.egg-info/PKG-INFO2020-01-14 
07:57:11.0 +0100
@@ -1,11 +1,11 @@
 Metadata-Version: 1.1
 Name: PyScreeze
-Version: 0.1.22
+Version: 0.1.26
 Summary: A simple, cross-platform screenshot module for Python 2 and 3.
 Home-page: https://github.com/asweigart/pyscreeze
 Author: Al Sweigart
 Author-email: a...@inventwithpython.com
-License: BSD
+License: MIT
 Description: PyScreeze
 =
 
@@ -134,20 +134,21 @@
 
 Keywords: screenshot screen screencap capture scrot screencapture image
 Platform: UNKNOWN
-Classifier: Development Status :: 3 - Alpha
+Classifier: Development Status :: 4 - Beta
 Classifier: Environment :: Win32 (MS Windows)
 Classifier: Environment :: X11 A

commit python-PyScreeze for openSUSE:Factory

2019-09-24 Thread root
Hello community,

here is the log from the commit of package python-PyScreeze for 
openSUSE:Factory checked in at 2019-09-25 08:41:59

Comparing /work/SRC/openSUSE:Factory/python-PyScreeze (Old)
 and  /work/SRC/openSUSE:Factory/.python-PyScreeze.new.7948 (New)


Package is "python-PyScreeze"

Wed Sep 25 08:41:59 2019 rev:7 rq:732896 version:0.1.22

Changes:

--- /work/SRC/openSUSE:Factory/python-PyScreeze/python-PyScreeze.changes
2019-06-18 14:59:34.441291265 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-PyScreeze.new.7948/python-PyScreeze.changes  
2019-09-25 08:41:59.810274716 +0200
@@ -1,0 +2,6 @@
+Tue Sep 24 09:44:59 UTC 2019 - Tomáš Chvátal 
+
+- Update to 0.1.22:
+  * Added -z to scrot to silence the beep.
+
+---

Old:

  PyScreeze-0.1.21.tar.gz

New:

  PyScreeze-0.1.22.tar.gz



Other differences:
--
++ python-PyScreeze.spec ++
--- /var/tmp/diff_new_pack.bGERdX/_old  2019-09-25 08:42:00.314274649 +0200
+++ /var/tmp/diff_new_pack.bGERdX/_new  2019-09-25 08:42:00.318274648 +0200
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-PyScreeze
-Version:0.1.21
+Version:0.1.22
 Release:0
 Summary:A screenshot Python module
 License:BSD-3-Clause

++ PyScreeze-0.1.21.tar.gz -> PyScreeze-0.1.22.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/PyScreeze-0.1.21/PKG-INFO 
new/PyScreeze-0.1.22/PKG-INFO
--- old/PyScreeze-0.1.21/PKG-INFO   2019-05-17 19:19:10.0 +0200
+++ new/PyScreeze-0.1.22/PKG-INFO   2019-06-28 06:55:17.462100500 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: PyScreeze
-Version: 0.1.21
+Version: 0.1.22
 Summary: A simple, cross-platform screenshot module for Python 2 and 3.
 Home-page: https://github.com/asweigart/pyscreeze
 Author: Al Sweigart
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/PyScreeze-0.1.21/PyScreeze.egg-info/PKG-INFO 
new/PyScreeze-0.1.22/PyScreeze.egg-info/PKG-INFO
--- old/PyScreeze-0.1.21/PyScreeze.egg-info/PKG-INFO2019-05-17 
19:19:09.0 +0200
+++ new/PyScreeze-0.1.22/PyScreeze.egg-info/PKG-INFO2019-06-28 
06:55:17.0 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: PyScreeze
-Version: 0.1.21
+Version: 0.1.22
 Summary: A simple, cross-platform screenshot module for Python 2 and 3.
 Home-page: https://github.com/asweigart/pyscreeze
 Author: Al Sweigart
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/PyScreeze-0.1.21/pyscreeze/__init__.py 
new/PyScreeze-0.1.22/pyscreeze/__init__.py
--- old/PyScreeze-0.1.21/pyscreeze/__init__.py  2019-05-17 19:17:56.0 
+0200
+++ new/PyScreeze-0.1.22/pyscreeze/__init__.py  2019-06-28 06:50:27.0 
+0200
@@ -10,7 +10,7 @@
 http://ubuntuforums.org/showthread.php?t=1751455
 """
 
-__version__ = '0.1.21'
+__version__ = '0.1.22'
 
 import collections
 import datetime
@@ -343,6 +343,8 @@
 
 
 def _screenshot_win32(imageFilename=None, region=None):
+# TODO - Use the winapi to get a screenshot, and compare performance with 
ImageGrab.grab()
+# https://stackoverflow.com/a/3586280/1893164
 try:
 im = ImageGrab.grab()
 except NameError:
@@ -357,6 +359,7 @@
 
 
 def _screenshot_osx(imageFilename=None, region=None):
+# TODO - use tmp name for this file.
 if imageFilename is None:
 tmpFilename = 'screenshot%s.png' % 
(datetime.datetime.now().strftime('%Y-%m%d_%H-%M-%S-%f'))
 else:
@@ -387,7 +390,7 @@
 else:
 tmpFilename = imageFilename
 if scrotExists:
-subprocess.call(['scrot', tmpFilename])
+subprocess.call(['scrot', '-z', tmpFilename])
 im = Image.open(tmpFilename)
 
 if region is not None:




commit python-PyScreeze for openSUSE:Factory

2019-06-18 Thread root
Hello community,

here is the log from the commit of package python-PyScreeze for 
openSUSE:Factory checked in at 2019-06-18 14:59:32

Comparing /work/SRC/openSUSE:Factory/python-PyScreeze (Old)
 and  /work/SRC/openSUSE:Factory/.python-PyScreeze.new.4811 (New)


Package is "python-PyScreeze"

Tue Jun 18 14:59:32 2019 rev:6 rq:710520 version:0.1.21

Changes:

--- /work/SRC/openSUSE:Factory/python-PyScreeze/python-PyScreeze.changes
2019-03-11 13:51:36.469258395 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-PyScreeze.new.4811/python-PyScreeze.changes  
2019-06-18 14:59:34.441291265 +0200
@@ -1,0 +2,6 @@
+Tue Jun 18 09:11:09 UTC 2019 - Tomáš Chvátal 
+
+- Update to 0.1.21:
+  * Fix memory leak at pixel().
+
+---

Old:

  PyScreeze-0.1.20.tar.gz

New:

  PyScreeze-0.1.21.tar.gz



Other differences:
--
++ python-PyScreeze.spec ++
--- /var/tmp/diff_new_pack.Rs0NAH/_old  2019-06-18 14:59:35.473290754 +0200
+++ /var/tmp/diff_new_pack.Rs0NAH/_new  2019-06-18 14:59:35.497290742 +0200
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-PyScreeze
-Version:0.1.20
+Version:0.1.21
 Release:0
 Summary:A screenshot Python module
 License:BSD-3-Clause

++ PyScreeze-0.1.20.tar.gz -> PyScreeze-0.1.21.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/PyScreeze-0.1.20/PKG-INFO 
new/PyScreeze-0.1.21/PKG-INFO
--- old/PyScreeze-0.1.20/PKG-INFO   2019-03-08 06:14:58.0 +0100
+++ new/PyScreeze-0.1.21/PKG-INFO   2019-05-17 19:19:10.0 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: PyScreeze
-Version: 0.1.20
+Version: 0.1.21
 Summary: A simple, cross-platform screenshot module for Python 2 and 3.
 Home-page: https://github.com/asweigart/pyscreeze
 Author: Al Sweigart
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/PyScreeze-0.1.20/PyScreeze.egg-info/PKG-INFO 
new/PyScreeze-0.1.21/PyScreeze.egg-info/PKG-INFO
--- old/PyScreeze-0.1.20/PyScreeze.egg-info/PKG-INFO2019-03-08 
06:14:57.0 +0100
+++ new/PyScreeze-0.1.21/PyScreeze.egg-info/PKG-INFO2019-05-17 
19:19:09.0 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: PyScreeze
-Version: 0.1.20
+Version: 0.1.21
 Summary: A simple, cross-platform screenshot module for Python 2 and 3.
 Home-page: https://github.com/asweigart/pyscreeze
 Author: Al Sweigart
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/PyScreeze-0.1.20/pyscreeze/__init__.py 
new/PyScreeze-0.1.21/pyscreeze/__init__.py
--- old/PyScreeze-0.1.20/pyscreeze/__init__.py  2019-03-08 05:57:59.0 
+0100
+++ new/PyScreeze-0.1.21/pyscreeze/__init__.py  2019-05-17 19:17:56.0 
+0200
@@ -10,7 +10,7 @@
 http://ubuntuforums.org/showthread.php?t=1751455
 """
 
-__version__ = '0.1.20'
+__version__ = '0.1.21'
 
 import collections
 import datetime
@@ -24,6 +24,7 @@
 from PIL import ImageOps
 except ImportError:
 pass
+from contextlib import contextmanager
 
 try:
 import cv2, numpy
@@ -68,6 +69,17 @@
 if sys.platform == 'win32':
 from ctypes import windll
 
+# win32 DC(DeviceContext) Manager
+@contextmanager
+def __win32_openDC(hWnd):
+hDC = windll.user32.GetDC(hWnd)
+if hDC == 0: #NULL
+raise WindowsError("windll.user32.GetDC failed : return NULL")
+try:
+yield hDC
+finally:
+if windll.user32.ReleaseDC(hWnd, hDC) == 0:
+raise WindowsError("windll.user32.ReleaseDC failed : return 0")
 
 Box = collections.namedtuple('Box', 'left top width height')
 Point = collections.namedtuple('Point', 'x y')
@@ -103,6 +115,8 @@
 # don't try to convert an already-gray image to gray
 if grayscale and len(img.shape) == 3:  # and img.shape[2] == 3:
 img_cv = cv2.cvtColor(img, cv2.COLOR_BGR2GRAY)
+else:
+img_cv = img
 elif hasattr(img, 'convert'):
 # assume its a PIL.Image, convert to cv format
 img_array = numpy.array(img.convert('RGB'))
@@ -159,7 +173,7 @@
 if USE_IMAGE_NOT_FOUND_EXCEPTION:
 raise ImageNotFoundException('Could not locate the image (highest 
confidence = %.3f)' % result.max())
 else:
-return None
+return
 
 # use a generator for API consistency:
 matchx = matches[1] * step + region[0]  # vectorized
@@ -258,7 +272,7 @@
 if USE_IMAGE_NOT_FOUND_EXCEPTION:
 raise ImageNotFoundException('Could not locate the image.')
 else:
-return 

commit python-PyScreeze for openSUSE:Factory

2019-03-11 Thread root
Hello community,

here is the log from the commit of package python-PyScreeze for 
openSUSE:Factory checked in at 2019-03-11 13:51:25

Comparing /work/SRC/openSUSE:Factory/python-PyScreeze (Old)
 and  /work/SRC/openSUSE:Factory/.python-PyScreeze.new.28833 (New)


Package is "python-PyScreeze"

Mon Mar 11 13:51:25 2019 rev:5 rq:683737 version:0.1.20

Changes:

--- /work/SRC/openSUSE:Factory/python-PyScreeze/python-PyScreeze.changes
2019-03-05 12:25:27.852838824 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-PyScreeze.new.28833/python-PyScreeze.changes 
2019-03-11 13:51:36.469258395 +0100
@@ -1,0 +2,7 @@
+Mon Mar 11 09:38:34 UTC 2019 - Tomáš Chvátal 
+
+- Update to 0.1.20:
+  * Going back to the old "return None" behavior, but adding
+USE_IMAGE_NOT_FOUND_EXCEPTION to make raising exceptions possible too
+
+---

Old:

  PyScreeze-0.1.19.tar.gz

New:

  PyScreeze-0.1.20.tar.gz



Other differences:
--
++ python-PyScreeze.spec ++
--- /var/tmp/diff_new_pack.arwsdk/_old  2019-03-11 13:51:37.273257869 +0100
+++ /var/tmp/diff_new_pack.arwsdk/_new  2019-03-11 13:51:37.273257869 +0100
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-PyScreeze
-Version:0.1.19
+Version:0.1.20
 Release:0
 Summary:A screenshot Python module
 License:BSD-3-Clause

++ PyScreeze-0.1.19.tar.gz -> PyScreeze-0.1.20.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/PyScreeze-0.1.19/PKG-INFO 
new/PyScreeze-0.1.20/PKG-INFO
--- old/PyScreeze-0.1.19/PKG-INFO   2019-01-05 19:55:56.0 +0100
+++ new/PyScreeze-0.1.20/PKG-INFO   2019-03-08 06:14:58.0 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: PyScreeze
-Version: 0.1.19
+Version: 0.1.20
 Summary: A simple, cross-platform screenshot module for Python 2 and 3.
 Home-page: https://github.com/asweigart/pyscreeze
 Author: Al Sweigart
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/PyScreeze-0.1.19/PyScreeze.egg-info/PKG-INFO 
new/PyScreeze-0.1.20/PyScreeze.egg-info/PKG-INFO
--- old/PyScreeze-0.1.19/PyScreeze.egg-info/PKG-INFO2019-01-05 
19:55:56.0 +0100
+++ new/PyScreeze-0.1.20/PyScreeze.egg-info/PKG-INFO2019-03-08 
06:14:57.0 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: PyScreeze
-Version: 0.1.19
+Version: 0.1.20
 Summary: A simple, cross-platform screenshot module for Python 2 and 3.
 Home-page: https://github.com/asweigart/pyscreeze
 Author: Al Sweigart
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/PyScreeze-0.1.19/pyscreeze/__init__.py 
new/PyScreeze-0.1.20/pyscreeze/__init__.py
--- old/PyScreeze-0.1.19/pyscreeze/__init__.py  2019-01-03 20:32:07.0 
+0100
+++ new/PyScreeze-0.1.20/pyscreeze/__init__.py  2019-03-08 05:57:59.0 
+0100
@@ -10,7 +10,7 @@
 http://ubuntuforums.org/showthread.php?t=1751455
 """
 
-__version__ = '0.1.19'
+__version__ = '0.1.20'
 
 import collections
 import datetime
@@ -44,6 +44,12 @@
 
 GRAYSCALE_DEFAULT = False
 
+# For version 0.1.19 I changed it so that ImageNotFoundException was raised
+# instead of returning None. In hindsight, this change came too late, so I'm
+# changing it back to returning None. But I'm also including this option for
+# folks who would rather have it raise an exception.
+USE_IMAGE_NOT_FOUND_EXCEPTION = False
+
 scrotExists = False
 try:
 if sys.platform not in ('java', 'darwin', 'win32'):
@@ -150,7 +156,10 @@
 matches = numpy.unravel_index(match_indices[:limit], result.shape)
 
 if len(matches[0]) == 0:
-raise ImageNotFoundException('Could not locate the image (highest 
confidence = %.3f)' % result.max())
+if USE_IMAGE_NOT_FOUND_EXCEPTION:
+raise ImageNotFoundException('Could not locate the image (highest 
confidence = %.3f)' % result.max())
+else:
+return None
 
 # use a generator for API consistency:
 matchx = matches[1] * step + region[0]  # vectorized
@@ -246,7 +255,10 @@
 haystackFileObj.close()
 
 if numMatchesFound == 0:
-raise ImageNotFoundException('Could not locate the image.')
+if USE_IMAGE_NOT_FOUND_EXCEPTION:
+raise ImageNotFoundException('Could not locate the image.')
+else:
+return None
 
 
 def locate(needleImage, haystackImage, **kwargs):
@@ -256,7 +268,10 @@
 if len(points) > 0:
 return points[0]
 else:
-raise ImageNotFoundException('Could not locate the image.')
+if USE_IMAGE_NOT_FOUND_EXCEPTION:
+rais

commit python-PyScreeze for openSUSE:Factory

2019-03-05 Thread root
Hello community,

here is the log from the commit of package python-PyScreeze for 
openSUSE:Factory checked in at 2019-03-05 12:25:22

Comparing /work/SRC/openSUSE:Factory/python-PyScreeze (Old)
 and  /work/SRC/openSUSE:Factory/.python-PyScreeze.new.28833 (New)


Package is "python-PyScreeze"

Tue Mar  5 12:25:22 2019 rev:4 rq:681528 version:0.1.19

Changes:

--- /work/SRC/openSUSE:Factory/python-PyScreeze/python-PyScreeze.changes
2019-01-24 14:03:04.792074460 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-PyScreeze.new.28833/python-PyScreeze.changes 
2019-03-05 12:25:27.852838824 +0100
@@ -1,0 +2,9 @@
+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().
+
+---

Old:

  LICENSE.txt
  PyScreeze-0.1.14.tar.gz

New:

  PyScreeze-0.1.19.tar.gz



Other differences:
--
++ python-PyScreeze.spec ++
--- /var/tmp/diff_new_pack.QaWPfH/_old  2019-03-05 12:25:29.472838330 +0100
+++ /var/tmp/diff_new_pack.QaWPfH/_new  2019-03-05 12:25:29.472838330 +0100
@@ -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 @@
 %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

++ PyScreeze-0.1.14.tar.gz -> PyScreeze-0.1.19.tar.gz ++
 1881 lines of diff (skipped)




commit python-PyScreeze for openSUSE:Factory

2019-01-24 Thread root
Hello community,

here is the log from the commit of package python-PyScreeze for 
openSUSE:Factory checked in at 2019-01-24 14:03:03

Comparing /work/SRC/openSUSE:Factory/python-PyScreeze (Old)
 and  /work/SRC/openSUSE:Factory/.python-PyScreeze.new.28833 (New)


Package is "python-PyScreeze"

Thu Jan 24 14:03:03 2019 rev:3 rq:659306 version:0.1.14

Changes:

--- /work/SRC/openSUSE:Factory/python-PyScreeze/python-PyScreeze.changes
2018-05-08 13:36:35.591170269 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-PyScreeze.new.28833/python-PyScreeze.changes 
2019-01-24 14:03:04.792074460 +0100
@@ -1,0 +2,5 @@
+Tue Dec  4 12:52:48 UTC 2018 - Matej Cepl 
+
+- Remove superfluous devel dependency for noarch package
+
+---



Other differences:
--
++ python-PyScreeze.spec ++
--- /var/tmp/diff_new_pack.tYBc0v/_old  2019-01-24 14:03:05.324073852 +0100
+++ /var/tmp/diff_new_pack.tYBc0v/_new  2019-01-24 14:03:05.328073847 +0100
@@ -12,7 +12,7 @@
 # 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/
 #
 
 
@@ -26,7 +26,6 @@
 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 devel}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  python-rpm-macros
 # SECTION test requirements




commit python-PyScreeze for openSUSE:Factory

2018-05-08 Thread root
Hello community,

here is the log from the commit of package python-PyScreeze for 
openSUSE:Factory checked in at 2018-05-08 13:36:33

Comparing /work/SRC/openSUSE:Factory/python-PyScreeze (Old)
 and  /work/SRC/openSUSE:Factory/.python-PyScreeze.new (New)


Package is "python-PyScreeze"

Tue May  8 13:36:33 2018 rev:2 rq:603085 version:0.1.14

Changes:

--- /work/SRC/openSUSE:Factory/python-PyScreeze/python-PyScreeze.changes
2018-03-07 10:36:16.855008608 +0100
+++ /work/SRC/openSUSE:Factory/.python-PyScreeze.new/python-PyScreeze.changes   
2018-05-08 13:36:35.591170269 +0200
@@ -1,0 +2,5 @@
+Mon Mar  5 22:30:54 UTC 2018 - jeng...@inai.de
+
+- Ensure neutrality of description.
+
+---



Other differences:
--
++ python-PyScreeze.spec ++
--- /var/tmp/diff_new_pack.WrySox/_old  2018-05-08 13:36:36.167149482 +0200
+++ /var/tmp/diff_new_pack.WrySox/_new  2018-05-08 13:36:36.171149338 +0200
@@ -13,33 +13,34 @@
 # published by the Open Source Initiative.
 
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
+#
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-PyScreeze
 Version:0.1.14
 Release:0
+Summary:A screenshot Python module
 License:BSD-3-Clause
-Summary:A simple screenshot python module
-Url:https://github.com/asweigart/pyscreeze
 Group:  Development/Languages/Python
+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-rpm-macros
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module setuptools}
+BuildRequires:  python-rpm-macros
 # SECTION test requirements
 BuildRequires:  %{python_module Pillow}
 # /SECTION
-BuildRequires:  fdupes
 BuildRequires:  dos2unix
+BuildRequires:  fdupes
 Requires:   python-Pillow
 BuildArch:  noarch
 
 %python_subpackages
 
 %description
-PyScreeze is a simple, cross-platform screenshot module for Python 2 and 3
+PyScreeze is a screenshot module for Python 2 and 3.
 
 
 %prep