Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-guessit for openSUSE:Factory checked in at 2024-02-18 20:23:33 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-guessit (Old) and /work/SRC/openSUSE:Factory/.python-guessit.new.1815 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-guessit" Sun Feb 18 20:23:33 2024 rev:24 rq:1147193 version:3.8.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-guessit/python-guessit.changes 2023-12-14 22:03:54.733737320 +0100 +++ /work/SRC/openSUSE:Factory/.python-guessit.new.1815/python-guessit.changes 2024-02-18 20:23:46.935337315 +0100 @@ -1,0 +2,5 @@ +Fri Feb 16 20:18:52 UTC 2024 - Luigi Baldoni <[email protected]> + +- Disable tests for Leap 15.6 + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-guessit.spec ++++++ --- /var/tmp/diff_new_pack.eLpCTi/_old 2024-02-18 20:23:47.379353338 +0100 +++ /var/tmp/diff_new_pack.eLpCTi/_new 2024-02-18 20:23:47.383353483 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-guessit # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,7 +16,9 @@ # -%define skip_python2 1 +%if 0%{?suse_version} > 1500 +%define with_tests 1 +%endif Name: python-guessit Version: 3.8.0 Release: 0 @@ -28,9 +30,11 @@ BuildRequires: %{python_module PyYAML} BuildRequires: %{python_module babelfish >= 0.6.0} BuildRequires: %{python_module importlib_resources} +%if 0%{?with_tests} BuildRequires: %{python_module pytest >= 5} BuildRequires: %{python_module pytest-benchmark} BuildRequires: %{python_module pytest-mock >= 3.3.1} +%endif BuildRequires: %{python_module python-dateutil} BuildRequires: %{python_module rebulk >= 3.1.0} BuildRequires: %{python_module setuptools} @@ -41,7 +45,7 @@ Requires: python-python-dateutil Requires: python-rebulk >= 3.1.0 Requires(post): update-alternatives -Requires(postun):update-alternatives +Requires(postun): update-alternatives BuildArch: noarch %python_subpackages @@ -75,8 +79,10 @@ %python_clone -a %{buildroot}%{_bindir}/guessit %python_expand %fdupes %{buildroot}%{$python_sitelib} +%if 0%{?with_tests} %check %pytest +%endif %post %python_install_alternative guessit
