Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-webruntime for 
openSUSE:Factory checked in at 2022-10-12 18:24:33
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-webruntime (Old)
 and      /work/SRC/openSUSE:Factory/.python-webruntime.new.2275 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-webruntime"

Wed Oct 12 18:24:33 2022 rev:5 rq:1009886 version:0.5.8

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-webruntime/python-webruntime.changes      
2020-07-24 10:02:24.181779726 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-webruntime.new.2275/python-webruntime.changes
    2022-10-12 18:26:10.497885778 +0200
@@ -1,0 +2,6 @@
+Tue Oct 11 17:08:27 UTC 2022 - Yogalakshmi Arunachalam <[email protected]>
+
+- Update to version 0.5.8 
+  * no upstream changelog
+
+-------------------------------------------------------------------

Old:
----
  webruntime-0.5.7.tar.gz

New:
----
  webruntime-0.5.8.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-webruntime.spec ++++++
--- /var/tmp/diff_new_pack.M15e4h/_old  2022-10-12 18:26:10.897886659 +0200
+++ /var/tmp/diff_new_pack.M15e4h/_new  2022-10-12 18:26:10.905886676 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-webruntime
 #
-# 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
@@ -19,7 +19,7 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define         skip_python2 1
 Name:           python-webruntime
-Version:        0.5.7
+Version:        0.5.8
 Release:        0
 Summary:        A python package to launch HTML5 apps in the browser or a 
desktop-like runtime
 License:        BSD-2-Clause
@@ -31,7 +31,7 @@
 BuildRequires:  python-rpm-macros
 Requires:       python-dialite
 Requires(post): update-alternatives
-Requires(postun): update-alternatives
+Requires(postun):update-alternatives
 BuildArch:      noarch
 # SECTION test requirements
 BuildRequires:  %{python_module dialite}

++++++ webruntime-0.5.7.tar.gz -> webruntime-0.5.8.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/webruntime-0.5.7/LICENSE new/webruntime-0.5.8/LICENSE
--- old/webruntime-0.5.7/LICENSE        2018-02-26 23:38:11.000000000 +0100
+++ new/webruntime-0.5.8/LICENSE        2020-05-11 11:33:31.000000000 +0200
@@ -1,4 +1,4 @@
-Copyright (c) 2015-2018, Webruntime developers
+Copyright (c) 2015-2020, Webruntime developers
 All rights reserved.
 
 Redistribution and use in source and binary forms, with or without
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/webruntime-0.5.7/PKG-INFO 
new/webruntime-0.5.8/PKG-INFO
--- old/webruntime-0.5.7/PKG-INFO       2020-05-11 11:32:41.000000000 +0200
+++ new/webruntime-0.5.8/PKG-INFO       2020-09-07 15:16:01.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: webruntime
-Version: 0.5.7
+Version: 0.5.8
 Summary: Launch HTML5 apps in the browser or a desktop-like runtime.
 Home-page: http://webruntime.readthedocs.io
 Author: Almar Klein and contributors
@@ -35,4 +35,5 @@
 Classifier: Programming Language :: Python :: 3.5
 Classifier: Programming Language :: Python :: 3.6
 Classifier: Programming Language :: Python :: 3.7
+Classifier: Programming Language :: Python :: 3.8
 Provides: webruntime
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/webruntime-0.5.7/setup.py 
new/webruntime-0.5.8/setup.py
--- old/webruntime-0.5.7/setup.py       2018-04-19 14:28:00.000000000 +0200
+++ new/webruntime-0.5.8/setup.py       2020-09-07 15:14:57.000000000 +0200
@@ -36,7 +36,7 @@
         raise RuntimeError('Could not find __version__')
     return NS['__version__'], NS['__doc__']
 
-    
+
 def package_tree(pkgroot):
     subdirs = [os.path.relpath(i[0], THIS_DIR).replace(os.path.sep, '.')
                for i in os.walk(os.path.join(THIS_DIR, pkgroot))
@@ -88,5 +88,6 @@
         'Programming Language :: Python :: 3.5',
         'Programming Language :: Python :: 3.6',
         'Programming Language :: Python :: 3.7',
+        'Programming Language :: Python :: 3.8',
     ],
 )
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/webruntime-0.5.7/tasks/test.py 
new/webruntime-0.5.8/tasks/test.py
--- old/webruntime-0.5.7/tasks/test.py  2018-02-26 23:03:14.000000000 +0100
+++ new/webruntime-0.5.8/tasks/test.py  2020-07-27 17:32:02.000000000 +0200
@@ -20,7 +20,7 @@
 def test(ctx, unit='', style='', cover=False):
     """ run tests (unit, style)
     """
-    
+
     if not (unit or style or cover):
         sys.exit('Test task needs --unit, --style or --cover')
     if unit:
@@ -69,12 +69,12 @@
                    source=[NAME])  # should match testing/_coverage.py
     cov.load()
     cov.report()
-    
-    
+
+
 def show_coverage_html():
     import webbrowser
     from coverage import coverage
-    
+
     print('Generating HTML...')
     os.chdir(ROOT_DIR)
     cov = coverage(auto_data=False, branch=True, data_suffix=None,
@@ -97,11 +97,10 @@
         sys.exit('Cannot do style test: ' + str(err))
     # Prepare
     os.chdir(ROOT_DIR)
-    sys.argv[1:] = [NAME + '/' + rel_path]
     # Do test
     print('Running flake8 tests ...')
     app = Application()
-    app.run()
+    app.run([NAME + '/' + rel_path])
     # Report
     nerrors = app.result_count
     if nerrors:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/webruntime-0.5.7/webruntime/__init__.py 
new/webruntime-0.5.8/webruntime/__init__.py
--- old/webruntime-0.5.7/webruntime/__init__.py 2020-05-11 11:30:53.000000000 
+0200
+++ new/webruntime-0.5.8/webruntime/__init__.py 2020-09-07 15:15:08.000000000 
+0200
@@ -24,7 +24,7 @@
 
 """
 
-__version__ = '0.5.7'
+__version__ = '0.5.8'
 
 
 import sys
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/webruntime-0.5.7/webruntime/_chrome.py 
new/webruntime-0.5.8/webruntime/_chrome.py
--- old/webruntime-0.5.7/webruntime/_chrome.py  2018-09-11 14:37:13.000000000 
+0200
+++ new/webruntime-0.5.8/webruntime/_chrome.py  2020-08-24 10:49:30.000000000 
+0200
@@ -121,7 +121,6 @@
         return self._get_google_chrome_exe() or self._get_chromium_exe()
     
     def _get_google_chrome_exe(self):
-        
         # Return user-specified version?
         # Note that its perfectly fine to specify a chromium exe here 
         if config.chrome_exe and self._get_version(config.chrome_exe):
@@ -134,23 +133,38 @@
             paths.append(r"C:\Program Files\Google\Chrome\Application")
             paths.append(r"C:\Program Files (x86)\Google\Chrome\Application")
             paths.append(r"~\AppData\Local\Google\Chrome\Application")
+            paths.append(r"~\AppData\Local\Google\Chrome SxS\Application")
             paths.append(r"~\Local Settings\Application Data\Google\Chrome")
             paths = [op.expanduser(p + '\\chrome.exe') for p in paths]
         elif sys.platform.startswith('linux'):
+            paths.append('/usr/bin/chromium')
+            paths.append('/usr/bin/chromium-browser')
+            paths.append('/snap/bin/chromium)')
             paths.append('/usr/bin/google-chrome')
             paths.append('/usr/bin/google-chrome-stable')
             paths.append('/usr/bin/google-chrome-beta')
             paths.append('/usr/bin/google-chrome-dev')
         elif sys.platform.startswith('darwin'):
-            app_dirs = ['~/Applications/Chrome', '~/Applications/Google 
Chrome',
-                        '/Applications/Chrome', '/Applications/Google Chrome',
-                        find_osx_exe('com.google.Chrome')]
+            app_dirs = [
+                '~/Applications/Chrome',
+                '~/Applications/Google Chrome',
+                '/Applications/Chrome',
+                '/Applications/Google Chrome',
+                '/Applications/Google Chrome.app',
+                '/Applications/Chromium.app',
+                '/Applications/Google Chrome Canary.app',
+                find_osx_exe('com.google.Chrome')
+            ]
             for dir in app_dirs:
                 if dir:
                     dir = op.expanduser(dir)
                     if op.isdir(dir):
                         paths.append(op.join(dir, 'Contents/MacOS/Chrome'))
                         paths.append(op.join(dir, 'Contents/MacOS/Google 
Chrome'))
+                        paths.append(op.join(dir, 'Contents/MacOS/Chromium'))
+                        paths.append(
+                            op.join(dir, 'Contents/MacOS/Google Chrome Canary')
+                        )
         
         # Try location until we find one that exists
         for path in paths:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/webruntime-0.5.7/webruntime/_common.py 
new/webruntime-0.5.8/webruntime/_common.py
--- old/webruntime-0.5.7/webruntime/_common.py  2020-05-11 11:20:55.000000000 
+0200
+++ new/webruntime-0.5.8/webruntime/_common.py  2020-08-24 10:49:30.000000000 
+0200
@@ -296,7 +296,9 @@
         super().__init__(**kwargs)
     
     def _is_available(self):
-        cached, _ = self.get_cached_version()
+        # cached, _ = self.get_cached_version()
+        # -> only claim to be available if the app is actually installed
+        cached = None
         system, _ = self.get_system_version()
         return bool(cached or system)
     
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/webruntime-0.5.7/webruntime/_firefox.py 
new/webruntime-0.5.8/webruntime/_firefox.py
--- old/webruntime-0.5.7/webruntime/_firefox.py 2020-05-11 11:30:09.000000000 
+0200
+++ new/webruntime-0.5.8/webruntime/_firefox.py 2020-08-24 10:37:35.000000000 
+0200
@@ -145,6 +145,7 @@
                 paths.append(basepath + 'Mozilla Firefox\\firefox.exe')
                 paths.append(basepath + 'Mozilla\\Firefox\\firefox.exe')
                 paths.append(basepath + 'Firefox\\firefox.exe')
+                paths.append(basepath + 'Firefox Nightly\\firefox.exe')
         elif sys.platform.startswith('linux'):
             paths.append('/usr/lib/firefox/firefox')
             paths.append('/usr/lib64/firefox/firefox')
@@ -351,6 +352,9 @@
         icon_name = op.join(path, 'chrome/icons/default/' + D['windowid'])
         self._icon.write(icon_name + '.ico')
         self._icon.write(icon_name + '.png')
+        icon_name = op.join(path, 'chrome/icons/default/default')
+        self._icon.write(icon_name + '.ico')
+        self._icon.write(icon_name + '.png')
     
     def _copy_xul_runtime(self, dir1, dir2):
         """ Copy the firefox/xulrunner runtime to a new folder, in which
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/webruntime-0.5.7/webruntime.egg-info/PKG-INFO 
new/webruntime-0.5.8/webruntime.egg-info/PKG-INFO
--- old/webruntime-0.5.7/webruntime.egg-info/PKG-INFO   2020-05-11 
11:32:40.000000000 +0200
+++ new/webruntime-0.5.8/webruntime.egg-info/PKG-INFO   2020-09-07 
15:16:00.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: webruntime
-Version: 0.5.7
+Version: 0.5.8
 Summary: Launch HTML5 apps in the browser or a desktop-like runtime.
 Home-page: http://webruntime.readthedocs.io
 Author: Almar Klein and contributors
@@ -35,4 +35,5 @@
 Classifier: Programming Language :: Python :: 3.5
 Classifier: Programming Language :: Python :: 3.6
 Classifier: Programming Language :: Python :: 3.7
+Classifier: Programming Language :: Python :: 3.8
 Provides: webruntime

Reply via email to