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:
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 17 11:45:05 UTC 2020 - Paolo Stivanin <info@paolostivanin.com>
|
||||
|
||||
- Use pytest instead of nose
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 20 18:03:47 UTC 2020 - Luigi Baldoni <aloisio@gmx.com>
|
||||
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user