forked from pool/python-pysrt
Accepting request 794912 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/794912 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pysrt?expand=0&rev=4
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>
|
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
|
Source0: https://files.pythonhosted.org/packages/source/p/pysrt/pysrt-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module base}
|
BuildRequires: %{python_module base}
|
||||||
BuildRequires: %{python_module chardet}
|
BuildRequires: %{python_module chardet}
|
||||||
BuildRequires: %{python_module nose}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
@@ -51,7 +51,7 @@ sed -e '1d' -i pysrt/commands.py
|
|||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%python_exec %{_bindir}/nosetests
|
%pytest
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc README.rst
|
%doc README.rst
|
||||||
|
Reference in New Issue
Block a user