From 0c93f201c6aef7e4f56c173a9ea565456b4890fbf776e545502cf511fa52213d Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Fri, 21 May 2021 12:16:39 +0000 Subject: [PATCH] Accepting request 894538 from home:Mailaender:branches:devel:languages:python couldn't get the tests OBS-URL: https://build.opensuse.org/request/show/894538 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-livereload?expand=0&rev=1 --- .gitattributes | 23 +++++++++++++ .gitignore | 1 + 2.6.3.tar.gz | 3 ++ python-livereload.changes | 9 +++++ python-livereload.spec | 72 +++++++++++++++++++++++++++++++++++++++ 5 files changed, 108 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 2.6.3.tar.gz create mode 100644 python-livereload.changes create mode 100644 python-livereload.spec 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/2.6.3.tar.gz b/2.6.3.tar.gz new file mode 100644 index 0000000..0a8e892 --- /dev/null +++ b/2.6.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1d31d598d8dea0445e5d53e592e5fce5befd2265b001ce8995462200d3d247bf +size 29407 diff --git a/python-livereload.changes b/python-livereload.changes new file mode 100644 index 0000000..e81410b --- /dev/null +++ b/python-livereload.changes @@ -0,0 +1,9 @@ +------------------------------------------------------------------- +Wed May 19 18:08:10 UTC 2021 - Matthias Mailänder + +- update to version 2.6.3 + +------------------------------------------------------------------- +Tue Jul 3 17:59:32 UTC 2018 - ecsos@opensuse.org + +- initial version 2.5.2 diff --git a/python-livereload.spec b/python-livereload.spec new file mode 100644 index 0000000..2e4954f --- /dev/null +++ b/python-livereload.spec @@ -0,0 +1,72 @@ +# +# spec file for package python-livereload +# +# Copyright (c) 2021 SUSE LLC +# +# 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-%{**}} +Name: python-livereload +Version: 2.6.3 +Release: 0 +Summary: Livereload server in python +License: BSD-2-Clause +Group: Development/Languages/Python +URL: https://livereload.readthedocs.io/en/latest/ +Source: https://github.com/lepture/python-livereload/archive/%{version}.tar.gz +BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module nose} +BuildRequires: %{python_module tornado} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +Requires: python-six +Requires: python-tornado +Requires(post): update-alternatives +Requires(postun): update-alternatives +BuildArch: noarch +%python_subpackages + +%description +Reload webpages on changes, without hitting refresh in your browser. + +%prep +%setup -q + +%build +%python_build + +%install +%python_install +%python_clone -a %{buildroot}%{_bindir}/livereload + +%python_expand %fdupes -s %{buildroot}%{$python_sitelib} + +%check +# AssertionError +#make test + +%post +%python_install_alternative livereload + +%postun +%python_uninstall_alternative livereload + +%files %{python_files} +%doc README.rst +%license LICENSE +%python_alternative %{_bindir}/livereload +%{python_sitelib}/livereload/ +%{python_sitelib}/livereload-%{version}-py%{python_version}.egg-info + +%changelog