Hello community, here is the log from the commit of package python-pytimeparse for openSUSE:Factory checked in at 2020-08-17 14:40:18 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-pytimeparse (Old) and /work/SRC/openSUSE:Factory/.python-pytimeparse.new.3399 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pytimeparse" Mon Aug 17 14:40:18 2020 rev:3 rq:827208 version:1.1.8 Changes: -------- --- /work/SRC/openSUSE:Factory/python-pytimeparse/python-pytimeparse.changes 2018-12-24 11:42:52.653373094 +0100 +++ /work/SRC/openSUSE:Factory/.python-pytimeparse.new.3399/python-pytimeparse.changes 2020-08-17 14:40:20.082581135 +0200 @@ -1,0 +2,7 @@ +Sun Aug 16 21:09:10 UTC 2020 - John Vandenberg <[email protected]> + +- Remove %bcond_without test +- Replace nose with pytest +- Tidy spec + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pytimeparse.spec ++++++ --- /var/tmp/diff_new_pack.NceRci/_old 2020-08-17 14:40:20.746581410 +0200 +++ /var/tmp/diff_new_pack.NceRci/_new 2020-08-17 14:40:20.746581410 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-pytimeparse # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,23 +17,19 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} -%bcond_without test Name: python-pytimeparse Version: 1.1.8 Release: 0 Summary: Time expression parser License: MIT Group: Development/Languages/Python -Url: https://github.com/wroberts/pytimeparse +URL: https://github.com/wroberts/pytimeparse Source: https://files.pythonhosted.org/packages/source/p/pytimeparse/pytimeparse-%{version}.tar.gz +BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} -BuildRequires: python-rpm-macros -%if %{with test} -BuildRequires: %{python_module nose} -%endif BuildRequires: fdupes +BuildRequires: python-rpm-macros BuildArch: noarch - %python_subpackages %description @@ -60,6 +56,7 @@ %prep %setup -q -n pytimeparse-%{version} +sed -i '/nose/d' setup.py %build %python_build @@ -68,13 +65,10 @@ %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} -%if %{with test} %check -%python_exec setup.py test -%endif +%pytest pytimeparse/tests/test*.py %files %{python_files} -%defattr(-,root,root,-) %doc README.rst %license LICENSE.rst %{python_sitelib}/*
