Hello community,

here is the log from the commit of package python-pytest-spec for 
openSUSE:Factory checked in at 2019-08-22 15:05:47
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pytest-spec (Old)
 and      /work/SRC/openSUSE:Factory/.python-pytest-spec.new.7948 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pytest-spec"

Thu Aug 22 15:05:47 2019 rev:2 rq:725257 version:1.1.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pytest-spec/python-pytest-spec.changes    
2019-03-22 15:08:32.441433621 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-pytest-spec.new.7948/python-pytest-spec.changes
  2019-08-22 15:17:57.590341467 +0200
@@ -1,0 +2,6 @@
+Thu Aug 22 09:01:23 UTC 2019 - Tomáš Chvátal <tchva...@suse.com>
+
+- Add patches to work with new pytest:
+  * pytest4.patch
+
+-------------------------------------------------------------------

New:
----
  pytest4.patch

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

Other differences:
------------------
++++++ python-pytest-spec.spec ++++++
--- /var/tmp/diff_new_pack.um5WXp/_old  2019-08-22 15:17:57.966341370 +0200
+++ /var/tmp/diff_new_pack.um5WXp/_new  2019-08-22 15:17:57.970341369 +0200
@@ -21,11 +21,12 @@
 Version:        1.1.0
 Release:        0
 Summary:        Plugin to display pytest execution output like a specification
-License:        GPL-2.0
+License:        GPL-2.0-only
 Group:          Development/Languages/Python
 URL:            https://github.com/pchomik/pytest-spec
 Source:         
https://files.pythonhosted.org/packages/source/p/pytest-spec/pytest-spec-%{version}.tar.gz
 Source1:        
https://raw.githubusercontent.com/pchomik/pytest-spec/master/LICENSE.txt
+Patch0:         pytest4.patch
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
@@ -42,6 +43,7 @@
 
 %prep
 %setup -q -n pytest-spec-%{version}
+%patch0 -p1
 cp %{SOURCE1} .
 
 %build
@@ -52,7 +54,7 @@
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
-%python_exec -m pytest
+%pytest
 
 %files %{python_files}
 %doc README.rst

++++++ pytest4.patch ++++++
>From 1cd9ced1beda40b4a57af0774694d243a97dae53 Mon Sep 17 00:00:00 2001
From: Lumir Balhar <lbal...@redhat.com>
Date: Mon, 6 May 2019 07:35:20 +0200
Subject: [PATCH] New section name in setup.cfg

Fixes the error: Failed: [pytest] section in setup.cfg files is
no longer supported, change to [tool:pytest] instead.
---
 setup.cfg | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: pytest-spec-1.1.0/setup.cfg
===================================================================
--- pytest-spec-1.1.0.orig/setup.cfg
+++ pytest-spec-1.1.0/setup.cfg
@@ -1,4 +1,4 @@
-[pytest]
+[tool:pytest]
 pep8maxlinelength = 150
 
 [egg_info]

Reply via email to