forked from pool/python-livereload
- Use pytest (and not nose) for the testsuite, actually running it.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-livereload?expand=0&rev=3
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Sep 17 06:34:21 UTC 2021 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
- Use pytest (and not nose) for the testsuite, actually running it.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed May 19 18:08:10 UTC 2021 - Matthias Mailänder <mailaender@opensuse.org>
|
Wed May 19 18:08:10 UTC 2021 - Matthias Mailänder <mailaender@opensuse.org>
|
||||||
|
|
||||||
|
|||||||
@@ -25,15 +25,15 @@ License: BSD-2-Clause
|
|||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
URL: https://livereload.readthedocs.io/en/latest/
|
URL: https://livereload.readthedocs.io/en/latest/
|
||||||
Source: https://github.com/lepture/python-livereload/archive/%{version}.tar.gz
|
Source: https://github.com/lepture/python-livereload/archive/%{version}.tar.gz
|
||||||
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: %{python_module nose}
|
|
||||||
BuildRequires: %{python_module tornado}
|
BuildRequires: %{python_module tornado}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-six
|
Requires: python-six
|
||||||
Requires: python-tornado
|
Requires: python-tornado
|
||||||
Requires(post): update-alternatives
|
Requires(post): update-alternatives
|
||||||
Requires(postun): update-alternatives
|
Requires(postun):update-alternatives
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
@@ -53,8 +53,8 @@ Reload webpages on changes, without hitting refresh in your browser.
|
|||||||
%python_expand %fdupes -s %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes -s %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
# AssertionError
|
# https://github.com/lepture/python-livereload/issues/200
|
||||||
#make test
|
%pytest -k 'not test_watch_multiple_dirs'
|
||||||
|
|
||||||
%post
|
%post
|
||||||
%python_install_alternative livereload
|
%python_install_alternative livereload
|
||||||
|
|||||||
Reference in New Issue
Block a user