From 3c6d3f7f5fb59d1f71b622c680473da42cb4d11e22ca27880cbbda841aac016e Mon Sep 17 00:00:00 2001 From: Todd R Date: Mon, 29 Oct 2018 15:39:48 +0000 Subject: [PATCH] Required by the latest version of python-flexx OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-webruntime?expand=0&rev=1 --- .gitattributes | 23 +++++++++++++ .gitignore | 1 + python-webruntime.changes | 4 +++ python-webruntime.spec | 68 +++++++++++++++++++++++++++++++++++++++ webruntime-0.5.4.tar.gz | 3 ++ 5 files changed, 99 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 python-webruntime.changes create mode 100644 python-webruntime.spec create mode 100644 webruntime-0.5.4.tar.gz diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/python-webruntime.changes b/python-webruntime.changes new file mode 100644 index 0000000..023e779 --- /dev/null +++ b/python-webruntime.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Mon Oct 29 14:50:49 UTC 2018 - Todd R + +- Initial version diff --git a/python-webruntime.spec b/python-webruntime.spec new file mode 100644 index 0000000..84b79f5 --- /dev/null +++ b/python-webruntime.spec @@ -0,0 +1,68 @@ +# +# spec file for package python-webruntime +# +# Copyright (c) 2018 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 +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +%{?!python_module:%define python_module() python-%{**} python3-%{**}} +%define skip_python2 1 +Name: python-webruntime +Version: 0.5.4 +Release: 0 +Summary: Launch HTML5 apps in the browser or a desktop-like runtime +License: BSD-2-Clause +Group: Development/Languages/Python +Url: http://webruntime.readthedocs.io +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 + +%python_subpackages + +%description +The webruntime module can be used to launch applications based on +HTML/JS/CSS. This can be a browser or a runtime that looks like a +desktop app, such as XUL (based on Firefox) or NW.js. + +%prep +%setup -q -n webruntime-%{version} + +%build +%python_build + +%install +%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 + +%files %{python_files} +%doc README.md +%license LICENSE +%python3_only %{_bindir}/webruntime +%{python_sitelib}/* + +%changelog diff --git a/webruntime-0.5.4.tar.gz b/webruntime-0.5.4.tar.gz new file mode 100644 index 0000000..8da2a21 --- /dev/null +++ b/webruntime-0.5.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8b41cf39a20a845ff6576a865c8412c88c8e0e659d8b903b1c36d575e17a167e +size 46369