forked from pool/python-rpyc
- Fix test execution to make sure we run it under all interpreters
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rpyc?expand=0&rev=9
This commit is contained in:
committed by
Git OBS Bridge
parent
f5b626f650
commit
dad3e5cefd
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jun 5 07:25:44 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||||
|
|
||||||
|
- Fix test execution to make sure we run it under all interpreters
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri May 24 10:59:46 UTC 2019 - Marketa Calabkova <mcalabkova@suse.com>
|
Fri May 24 10:59:46 UTC 2019 - Marketa Calabkova <mcalabkova@suse.com>
|
||||||
|
|
||||||
|
@@ -31,25 +31,21 @@ Release: 0
|
|||||||
Summary: Remote Python Call (RPyC), a RPC library
|
Summary: Remote Python Call (RPyC), a RPC library
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
Url: https://github.com/tomerfiliba/rpyc
|
URL: https://github.com/tomerfiliba/rpyc
|
||||||
#Source: https://files.pythonhosted.org/packages/source/r/rpyc/rpyc-%%{version}.tar.gz
|
|
||||||
Source: https://github.com/tomerfiliba/rpyc/archive/%{version}.tar.gz
|
Source: https://github.com/tomerfiliba/rpyc/archive/%{version}.tar.gz
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
# SECTION test requirements
|
Requires: python-plumbum
|
||||||
|
Requires(post): update-alternatives
|
||||||
|
Requires(postun): update-alternatives
|
||||||
|
BuildArch: noarch
|
||||||
%if %{with test}
|
%if %{with test}
|
||||||
BuildRequires: %{python_module gevent}
|
BuildRequires: %{python_module gevent}
|
||||||
BuildRequires: %{python_module nose}
|
BuildRequires: %{python_module nose}
|
||||||
BuildRequires: %{python_module plumbum}
|
BuildRequires: %{python_module plumbum}
|
||||||
BuildRequires: %{python_module rpyc = %{version}}
|
BuildRequires: %{python_module rpyc = %{version}}
|
||||||
%endif
|
%endif
|
||||||
# /SECTION
|
|
||||||
Requires: python-plumbum
|
|
||||||
BuildArch: noarch
|
|
||||||
Requires(post): update-alternatives
|
|
||||||
Requires(postun): update-alternatives
|
|
||||||
|
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@@ -80,7 +76,7 @@ mv %{buildroot}%{_bindir}/rpyc_registry.py %{buildroot}%{_bindir}/rpyc_registry
|
|||||||
|
|
||||||
%if %{with test}
|
%if %{with test}
|
||||||
%check
|
%check
|
||||||
nosetests -vv -I test_deploy -I test_gevent_server -I test_ssh -I test_registry
|
%python_expand nosetests-%{$python_bin_suffix} -v -I test_deploy -I test_gevent_server -I test_ssh -I test_registry
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if !%{with test}
|
%if !%{with test}
|
||||||
|
Reference in New Issue
Block a user