Hello community,

here is the log from the commit of package python-pytest-sphinx for 
openSUSE:Factory checked in at 2020-04-21 13:09:55
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pytest-sphinx (Old)
 and      /work/SRC/openSUSE:Factory/.python-pytest-sphinx.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pytest-sphinx"

Tue Apr 21 13:09:55 2020 rev:2 rq:795760 version:0.2.2

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-pytest-sphinx/python-pytest-sphinx.changes    
    2019-09-11 10:33:06.379336070 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-pytest-sphinx.new.2738/python-pytest-sphinx.changes
      2020-04-21 13:09:55.796724050 +0200
@@ -1,0 +2,5 @@
+Mon Apr 20 10:25:24 UTC 2020 - Tomáš Chvátal <[email protected]>
+
+- Fix build without python2
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-pytest-sphinx.spec ++++++
--- /var/tmp/diff_new_pack.IdrgUa/_old  2020-04-21 13:09:56.520725494 +0200
+++ /var/tmp/diff_new_pack.IdrgUa/_new  2020-04-21 13:09:56.524725502 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pytest-sphinx
 #
-# Copyright (c) 2019 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,12 +17,12 @@
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%bcond_without python2
 Name:           python-pytest-sphinx
 Version:        0.2.2
 Release:        0
 Summary:        Doctest plugin for pytest with support for Sphinx-specific 
doctest-directives
 License:        BSD-3-Clause
-Group:          Development/Languages/Python
 URL:            https://github.com/thisch/pytest-sphinx
 Source:         
https://github.com/thisch/pytest-sphinx/archive/v0.2.2.tar.gz#/pytest-sphinx-%{version}.tar.gz
 BuildRequires:  %{python_module setuptools}
@@ -36,8 +36,9 @@
 # SECTION test requirements
 BuildRequires:  %{python_module pytest >= 3.1.1}
 BuildRequires:  %{python_module pytest-mock}
-BuildRequires:  %{python_module pytest-runner}
+%if %{with python2}
 BuildRequires:  python2-enum34
+%endif
 # /SECTION
 %python_subpackages
 


Reply via email to