14
0
forked from pool/python-pysrt

Accepting request 794891 from home:polslinux:branches:devel:languages:python

- Use pytest instead of nose

OBS-URL: https://build.opensuse.org/request/show/794891
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pysrt?expand=0&rev=13
This commit is contained in:
2020-04-17 12:59:01 +00:00
committed by Git OBS Bridge
parent 73e7e7262e
commit bad3a14d81
2 changed files with 7 additions and 2 deletions

View File

@@ -26,7 +26,7 @@ URL: https://github.com/byroot/pysrt
Source0: https://files.pythonhosted.org/packages/source/p/pysrt/pysrt-%{version}.tar.gz
BuildRequires: %{python_module base}
BuildRequires: %{python_module chardet}
BuildRequires: %{python_module nose}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
@@ -51,7 +51,7 @@ sed -e '1d' -i pysrt/commands.py
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%python_exec %{_bindir}/nosetests
%pytest
%files %{python_files}
%doc README.rst