commit python-webruntime for openSUSE:Factory
Hello community, here is the log from the commit of package python-webruntime for openSUSE:Factory checked in at 2020-07-24 10:00:03 Comparing /work/SRC/openSUSE:Factory/python-webruntime (Old) and /work/SRC/openSUSE:Factory/.python-webruntime.new.3592 (New) Package is "python-webruntime" Fri Jul 24 10:00:03 2020 rev:4 rq:822236 version:0.5.7 Changes: --- /work/SRC/openSUSE:Factory/python-webruntime/python-webruntime.changes 2020-05-19 14:46:54.931869231 +0200 +++ /work/SRC/openSUSE:Factory/.python-webruntime.new.3592/python-webruntime.changes 2020-07-24 10:02:24.181779726 +0200 @@ -1,0 +2,7 @@ +Wed Jul 22 10:15:24 UTC 2020 - Marketa Calabkova + +- Update to 0.5.7 + * dont't use extension on non-Windows + * firefox: Fix setup to specify remoteness. + +--- Old: webruntime-0.5.6.tar.gz New: webruntime-0.5.7.tar.gz Other differences: -- ++ python-webruntime.spec ++ --- /var/tmp/diff_new_pack.cIp021/_old 2020-07-24 10:02:26.485781871 +0200 +++ /var/tmp/diff_new_pack.cIp021/_new 2020-07-24 10:02:26.489781875 +0200 @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 Name: python-webruntime -Version:0.5.6 +Version:0.5.7 Release:0 Summary:A python package to launch HTML5 apps in the browser or a desktop-like runtime License:BSD-2-Clause ++ webruntime-0.5.6.tar.gz -> webruntime-0.5.7.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/webruntime-0.5.6/PKG-INFO new/webruntime-0.5.7/PKG-INFO --- old/webruntime-0.5.6/PKG-INFO 2018-12-03 16:33:43.0 +0100 +++ new/webruntime-0.5.7/PKG-INFO 2020-05-11 11:32:41.0 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: webruntime -Version: 0.5.6 +Version: 0.5.7 Summary: Launch HTML5 apps in the browser or a desktop-like runtime. Home-page: http://webruntime.readthedocs.io Author: Almar Klein and contributors diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/webruntime-0.5.6/webruntime/__init__.py new/webruntime-0.5.7/webruntime/__init__.py --- old/webruntime-0.5.6/webruntime/__init__.py 2018-12-03 16:32:43.0 +0100 +++ new/webruntime-0.5.7/webruntime/__init__.py 2020-05-11 11:30:53.0 +0200 @@ -24,7 +24,7 @@ """ -__version__ = '0.5.6' +__version__ = '0.5.7' import sys diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/webruntime-0.5.6/webruntime/_common.py new/webruntime-0.5.7/webruntime/_common.py --- old/webruntime-0.5.6/webruntime/_common.py 2018-09-11 14:37:13.0 +0200 +++ new/webruntime-0.5.7/webruntime/_common.py 2020-05-11 11:20:55.0 +0200 @@ -386,10 +386,12 @@ # Define process name, so that our window is not grouped with # Firefox, NW.js or whatever, and has a more meaningful name in the # task manager. Using sys.executable also works well when frozen. -exe_name, ext = op.splitext(op.basename(sys.executable)) -# todo: What kind of exe name? test with freezing on different OS's -exe_name = exe_name + '-ui' + ext -# exe_name = exe_name + ext +exe_name = op.basename(sys.executable) +if sys.platform.startswith("win"): +exe_name, ext = op.splitext(exe_name) +exe_name = exe_name + '-ui' + ext +else: +exe_name = exe_name + '-ui' assert runtime_exe.startswith(RUNTIME_DIR) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/webruntime-0.5.6/webruntime/_firefox.py new/webruntime-0.5.7/webruntime/_firefox.py --- old/webruntime-0.5.6/webruntime/_firefox.py 2018-09-11 14:37:13.0 +0200 +++ new/webruntime-0.5.7/webruntime/_firefox.py 2020-05-11 11:30:09.0 +0200 @@ -43,7 +43,7 @@ MaxVersion=200.* """ -MAIN_XUL = """ +MAIN_XHTML = """ @@ -52,8 +52,6 @@ id="{windowid}" title="{title}" windowtype="webruntime:main" -width="640" -height="480" sizemode="{sizemode}" > @@ -75,10 +75,10 @@ PREFS_JS = """ // This tells xulrunner what xul file to use -pref("toolkit.defaultChromeURI", "chrome://{name}/content/main.xul"); +pref("toolkit.defaultChromeURI", "chrome://{name}/content/main.xhtml"); // This line is needed to let window.open work -pref("browser.chromeURL", "chrome://{name}/content/main.xul"); +pref("browser.chromeURL", "chrome://{name}/content/main.xhtml"); // Set features - setting width, height, maximized, etc. here
commit python-webruntime for openSUSE:Factory
Hello community, here is the log from the commit of package python-webruntime for openSUSE:Factory checked in at 2020-05-19 14:46:53 Comparing /work/SRC/openSUSE:Factory/python-webruntime (Old) and /work/SRC/openSUSE:Factory/.python-webruntime.new.2738 (New) Package is "python-webruntime" Tue May 19 14:46:53 2020 rev:3 rq:806809 version:0.5.6 Changes: --- /work/SRC/openSUSE:Factory/python-webruntime/python-webruntime.changes 2019-03-26 22:31:46.837715077 +0100 +++ /work/SRC/openSUSE:Factory/.python-webruntime.new.2738/python-webruntime.changes 2020-05-19 14:46:54.931869231 +0200 @@ -1,0 +2,5 @@ +Mon May 18 07:25:36 UTC 2020 - Petr Gajdos + +- %python3_only -> %python_alternative + +--- Other differences: -- ++ python-webruntime.spec ++ --- /var/tmp/diff_new_pack.ftjHyq/_old 2020-05-19 14:46:56.759873136 +0200 +++ /var/tmp/diff_new_pack.ftjHyq/_new 2020-05-19 14:46:56.775873170 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-webruntime # -# 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 @@ -30,6 +30,8 @@ BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-dialite +Requires(post): update-alternatives +Requires(postun): update-alternatives BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module dialite} @@ -51,15 +53,22 @@ %install %python_install +%python_clone -a %{buildroot}%{_bindir}/webruntime %python_expand %fdupes %{buildroot}%{$python_sitelib} %check %pytest +%post +%python_install_alternative webruntime + +%postun +%python_uninstall_alternative webruntime + %files %{python_files} %doc README.md %license LICENSE -%python3_only %{_bindir}/webruntime +%python_alternative %{_bindir}/webruntime %{python_sitelib}/* %changelog
commit python-webruntime for openSUSE:Factory
Hello community, here is the log from the commit of package python-webruntime for openSUSE:Factory checked in at 2019-03-26 22:31:36 Comparing /work/SRC/openSUSE:Factory/python-webruntime (Old) and /work/SRC/openSUSE:Factory/.python-webruntime.new.25356 (New) Package is "python-webruntime" Tue Mar 26 22:31:36 2019 rev:2 rq:686464 version:0.5.6 Changes: --- /work/SRC/openSUSE:Factory/python-webruntime/python-webruntime.changes 2018-11-10 16:58:01.359853008 +0100 +++ /work/SRC/openSUSE:Factory/.python-webruntime.new.25356/python-webruntime.changes 2019-03-26 22:31:46.837715077 +0100 @@ -1,0 +2,7 @@ +Tue Mar 19 15:36:31 UTC 2019 - Tomáš Chvátal + +- Update to 0.5.6: + * no upstream changelog +- Run tests + +--- Old: webruntime-0.5.4.tar.gz New: webruntime-0.5.6.tar.gz Other differences: -- ++ python-webruntime.spec ++ --- /var/tmp/diff_new_pack.1dJjQ3/_old 2019-03-26 22:31:47.697714870 +0100 +++ /var/tmp/diff_new_pack.1dJjQ3/_new 2019-03-26 22:31:47.701714869 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-webruntime # -# 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 @@ -19,24 +19,23 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 Name: python-webruntime -Version:0.5.4 +Version:0.5.6 Release:0 Summary:A python package to launch HTML5 apps in the browser or a desktop-like runtime License:BSD-2-Clause Group: Development/Languages/Python -Url:http://webruntime.readthedocs.io +URL:https://github.com/flexxui/webruntime Source: https://files.pythonhosted.org/packages/source/w/webruntime/webruntime-%{version}.tar.gz -BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} -# SECTION test requirements -BuildRequires: %{python_module dialite} -BuildRequires: %{python_module pytest} -# /SECTION BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-dialite BuildArch: noarch - +# SECTION test requirements +BuildRequires: %{python_module dialite} +BuildRequires: %{python_module pytest} +BuildRequires: MozillaFirefox +# /SECTION %python_subpackages %description @@ -54,10 +53,8 @@ %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} -# Test files missing -# See https://github.com/flexxui/webruntime/pull/8 -# %%check -# %%python_exec setup.py test +%check +%pytest %files %{python_files} %doc README.md ++ webruntime-0.5.4.tar.gz -> webruntime-0.5.6.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/webruntime-0.5.4/MANIFEST.in new/webruntime-0.5.6/MANIFEST.in --- old/webruntime-0.5.4/MANIFEST.in2018-04-11 23:18:13.0 +0200 +++ new/webruntime-0.5.6/MANIFEST.in2018-11-02 13:11:07.0 +0100 @@ -1,5 +1,8 @@ include LICENSE README.md +recursive-include tasks * +recursive-include webruntime/tests * + global-exclude .git* global-exclude *.pyo global-exclude *.pyc diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/webruntime-0.5.4/PKG-INFO new/webruntime-0.5.6/PKG-INFO --- old/webruntime-0.5.4/PKG-INFO 2018-09-11 14:38:33.0 +0200 +++ new/webruntime-0.5.6/PKG-INFO 2018-12-03 16:33:43.0 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: webruntime -Version: 0.5.4 +Version: 0.5.6 Summary: Launch HTML5 apps in the browser or a desktop-like runtime. Home-page: http://webruntime.readthedocs.io Author: Almar Klein and contributors diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/webruntime-0.5.4/setup.cfg new/webruntime-0.5.6/setup.cfg --- old/webruntime-0.5.4/setup.cfg 2018-09-11 14:38:33.0 +0200 +++ new/webruntime-0.5.6/setup.cfg 2018-12-03 16:33:43.0 +0100 @@ -1,7 +1,7 @@ [flake8] exclude = test_*.py,exp/*,docs/*,build/*,dist/* -ignore = W291,W293,E123,E124,E126,E127,E203,E225,E226,E265,E301,E302,E303,E402, - E266,E731,E128,E306,E305,I,D,T,CG,N8 +ignore = W291,W293,E123,W504,E124,E126,E127,E203,E225,E226,E265,E301,E302,E303,E402, + E266,E731,E128,E306,E305,I,D,T,CG,N8,S1 max-line-length = 88 [coverage:report] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/webruntime-0.5.4/tasks/README.md