From bad3a14d81238b5465a350e50ac09e74102c859c7bacdcf7fbe831b55299cacf Mon Sep 17 00:00:00 2001 From: Luigi Baldoni Date: Fri, 17 Apr 2020 12:59:01 +0000 Subject: [PATCH] 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 --- python-pysrt.changes | 5 +++++ python-pysrt.spec | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/python-pysrt.changes b/python-pysrt.changes index 90e5f1e..255fe24 100644 --- a/python-pysrt.changes +++ b/python-pysrt.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Apr 17 11:45:05 UTC 2020 - Paolo Stivanin + +- Use pytest instead of nose + ------------------------------------------------------------------- Mon Jan 20 18:03:47 UTC 2020 - Luigi Baldoni diff --git a/python-pysrt.spec b/python-pysrt.spec index a3bc09a..47750f3 100644 --- a/python-pysrt.spec +++ b/python-pysrt.spec @@ -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