Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-sphinx-tabs for openSUSE:Factory checked in at 2022-09-29 18:13:14 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-sphinx-tabs (Old) and /work/SRC/openSUSE:Factory/.python-sphinx-tabs.new.2275 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-sphinx-tabs" Thu Sep 29 18:13:14 2022 rev:3 rq:1006716 version:3.4.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-sphinx-tabs/python-sphinx-tabs.changes 2021-11-20 02:40:08.900580554 +0100 +++ /work/SRC/openSUSE:Factory/.python-sphinx-tabs.new.2275/python-sphinx-tabs.changes 2022-09-29 18:13:59.275329201 +0200 @@ -1,0 +2,7 @@ +Wed Sep 28 15:16:23 UTC 2022 - Daniel Garcia <daniel.gar...@suse.com> + +- Update to v3.4.1 +- Add multibuild support to run tests +- Remove sphinx-testing dependecy + +------------------------------------------------------------------- Old: ---- sphinx-tabs-3.1.0.tar.gz New: ---- _multibuild v3.4.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-sphinx-tabs.spec ++++++ --- /var/tmp/diff_new_pack.sazu6A/_old 2022-09-29 18:13:59.903330428 +0200 +++ /var/tmp/diff_new_pack.sazu6A/_new 2022-09-29 18:13:59.907330436 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-sphinx-tabs # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -20,27 +20,38 @@ %if 0%{?sle_version} && 0%{?sle_version} <= 150300 %define pythons python3 %endif -# TODO: use github tarball because upstrean dont distribute tests via pypi %bcond_with test +%global flavor @BUILD_FLAVOR@%{nil} +%if "%{flavor}" == "test" +%define psuffix -test +%bcond_without test +%else +%define psuffix %{nil} +%bcond_with test +%endif Name: python-sphinx-tabs -Version: 3.1.0 +Version: 3.4.1 Release: 0 Summary: Tabbed views for Sphinx License: MIT Group: Development/Languages/Python -URL: https://github.com/djungelorm/sphinx-tabs -Source: https://files.pythonhosted.org/packages/source/s/sphinx-tabs/sphinx-tabs-%{version}.tar.gz +URL: https://github.com/executablebooks/sphinx-tabs +# Use the github tag instead of the pythonhosted.org to get the tests folder +Source: https://github.com/executablebooks/sphinx-tabs/archive/refs/tags/v%{version}.tar.gz BuildRequires: %{python_module Pygments} BuildRequires: %{python_module Sphinx} BuildRequires: %{python_module docutils} +BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-Pygments Requires: python-Sphinx Requires: python-docutils BuildArch: noarch %if %{with test} +BuildRequires: %{python_module beautifulsoup4} +BuildRequires: %{python_module pytest-regressions} BuildRequires: %{python_module pytest} -BuildRequires: %{python_module sphinx-testing} +BuildRequires: %{python_module sphinx-tabs = %{version}} %endif %python_subpackages @@ -54,14 +65,21 @@ %python_build %install +%if !%{with test} %python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} +%endif %if %{with test} %check -%pytest +# python-rinohtype is not available +%pytest -k 'not test_rinohtype_pdf' %endif +%if !%{with test} %files %{python_files} -%{python_sitelib}/* +%{python_sitelib}/sphinx_tabs +%{python_sitelib}/sphinx_tabs-%{version}*-info +%endif %changelog ++++++ _multibuild ++++++ <multibuild> <package>test</package> </multibuild>