Hello community,
here is the log from the commit of package python-sphinxcontrib-apidoc for
openSUSE:Factory checked in at 2019-04-28 20:14:35
Comparing /work/SRC/openSUSE:Factory/python-sphinxcontrib-apidoc (Old)
and /work/SRC/openSUSE:Factory/.python-sphinxcontrib-apidoc.new.5536 (New)
Package is "python-sphinxcontrib-apidoc"
Sun Apr 28 20:14:35 2019 rev:3 rq:698631 version:0.3.0
Changes:
---
/work/SRC/openSUSE:Factory/python-sphinxcontrib-apidoc/python-sphinxcontrib-apidoc.changes
2018-12-24 11:44:26.973289494 +0100
+++
/work/SRC/openSUSE:Factory/.python-sphinxcontrib-apidoc.new.5536/python-sphinxcontrib-apidoc.changes
2019-04-28 20:14:36.626375336 +0200
@@ -1,0 +2,9 @@
+Fri Apr 26 12:46:35 UTC 2019 - Marketa Calabkova
+
+- update to version 0.3.0
+ * Ensure '--tocfile' isn't configured for Sphinx < 1.8
+ * Support more configuration options
+ * fix the dist name used to get the version after installation
+- Launching tests using multibuild. It just did not work without it.
+
+---
Old:
sphinxcontrib-apidoc-0.2.1.tar.gz
New:
_multibuild
sphinxcontrib-apidoc-0.3.0.tar.gz
Other differences:
--
++ python-sphinxcontrib-apidoc.spec ++
--- /var/tmp/diff_new_pack.g6isZL/_old 2019-04-28 20:14:37.178374993 +0200
+++ /var/tmp/diff_new_pack.g6isZL/_new 2019-04-28 20:14:37.182374991 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-sphinxcontrib-apidoc
#
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,15 +17,23 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
-Name: python-sphinxcontrib-apidoc
-Version:0.2.1
+%global flavor @BUILD_FLAVOR@%{nil}
+%if "%{flavor}" == "test"
+%define psuffix -test
+%bcond_without test
+%else
+%define psuffix %{nil}
+%bcond_with test
+%endif
+Name: python-sphinxcontrib-apidoc%{psuffix}
+Version:0.3.0
Release:0
Summary:A Sphinx extension for running 'sphinx-apidoc' on each build
License:BSD-2-Clause
Group: Development/Languages/Python
URL:http://www.sphinx-doc.org/
Source:
https://files.pythonhosted.org/packages/source/s/sphinxcontrib-apidoc/sphinxcontrib-apidoc-%{version}.tar.gz
-BuildRequires: %{python_module pbr}
+BuildRequires: %{python_module pbr >= 4.0}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
@@ -33,9 +41,10 @@
Requires: python-pbr
BuildArch: noarch
# SECTION test requirements
-BuildRequires: %{python_module Sphinx >= 1.6.0}
-BuildRequires: %{python_module pbr}
+%if %{with test}
BuildRequires: %{python_module pytest >= 3.0}
+BuildRequires: %{python_module sphinxcontrib-apidoc = %{version}}
+%endif
# /SECTION
%python_subpackages
@@ -50,21 +59,24 @@
%setup -q -n sphinxcontrib-apidoc-%{version}
%build
-export PBR_VERSION=%{version}
%python_build
%install
-export PBR_VERSION=%{version}
+%if !%{with test}
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
+%endif
+%if %{with test}
%check
-export PBR_VERSION=%{version}
-%python_exec setup.py test
+%pytest tests
+%endif
+%if !%{with test}
%files %{python_files}
%license LICENSE
%doc AUTHORS ChangeLog README.rst
%{python_sitelib}/*
+%endif
%changelog
++ _multibuild ++
test
++ sphinxcontrib-apidoc-0.2.1.tar.gz -> sphinxcontrib-apidoc-0.3.0.tar.gz
++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/sphinxcontrib-apidoc-0.2.1/.travis.yml
new/sphinxcontrib-apidoc-0.3.0/.travis.yml
--- old/sphinxcontrib-apidoc-0.2.1/.travis.yml 2018-04-06 10:25:48.0
+0200
+++ new/sphinxcontrib-apidoc-0.3.0/.travis.yml 2018-10-04 10:36:45.0
+0200
@@ -11,11 +11,20 @@
- pip install tox-travis
script:
- tox
-deploy:
- provider: pypi
- user: stephenfin
- password:
-secure: