forked from pool/python-mailman-hyperkitty
- Use nose2 to run the tests as the package can't use pytest
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-mailman-hyperkitty?expand=0&rev=2
This commit is contained in:
committed by
Git OBS Bridge
parent
0e051b1d73
commit
6eb203cd4e
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 14 12:36:41 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Use nose2 to run the tests as the package can't use pytest
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 13 15:01:47 UTC 2019 - pgajdos@suse.com
|
||||
|
||||
|
||||
@@ -25,7 +25,6 @@ Summary: Mailman archiver plugin for HyperKitty
|
||||
License: GPL-3.0-only
|
||||
URL: https://gitlab.com/mailman/mailman-hyperkitty/
|
||||
Source: https://files.pythonhosted.org/packages/source/m/mailman-hyperkitty/mailman-hyperkitty-%{version}.tar.gz
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
@@ -37,7 +36,7 @@ BuildArch: noarch
|
||||
# SECTION test requirements
|
||||
BuildRequires: %{python_module mailman}
|
||||
BuildRequires: %{python_module mock}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module nose2}
|
||||
BuildRequires: %{python_module requests}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module zope.interface}
|
||||
@@ -58,7 +57,7 @@ Mailman archiver plugin for HyperKitty
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
%pytest
|
||||
%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} $python -m nose2 -v
|
||||
|
||||
%files %{python_files}
|
||||
%doc README.rst
|
||||
|
||||
Reference in New Issue
Block a user