Accepting request 757653 from home:jayvdb:branches:devel:languages:python:pytest

- Dropped no longer necessary pytest4.patch
- Update to v2.0.0
  * Update documentation
  * New format of output
  * Fix small warnings
  * Generate the package in wheel format

OBS-URL: https://build.opensuse.org/request/show/757653
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-spec?expand=0&rev=6
This commit is contained in:
Matej Cepl 2019-12-18 10:57:16 +00:00 committed by Git OBS Bridge
parent b544588926
commit 5c2c3a922f
5 changed files with 14 additions and 27 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3039ac431df097c169a6bc40e7501f884efff077cf470ffb855315ba89ee29e7
size 5125

3
pytest-spec-2.0.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4fac1f455b526e8d0709278dbecfa12e822df8f32dc9ef6791b976886a237a93
size 5993

View File

@ -1,21 +0,0 @@
From 1cd9ced1beda40b4a57af0774694d243a97dae53 Mon Sep 17 00:00:00 2001
From: Lumir Balhar <lbalhar@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]

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Wed Dec 18 04:32:03 UTC 2019 - John Vandenberg <jayvdb@gmail.com>
- Dropped no longer necessary pytest4.patch
- Update to v2.0.0
* Update documentation
* New format of output
* Fix small warnings
* Generate the package in wheel format
-------------------------------------------------------------------
Thu Aug 22 09:01:23 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>

View File

@ -18,7 +18,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-pytest-spec
Version: 1.1.0
Version: 2.0.0
Release: 0
Summary: Plugin to display pytest execution output like a specification
License: GPL-2.0-only
@ -26,7 +26,6 @@ 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
@ -43,7 +42,6 @@ pytest plugin to display test execution output like a specification.
%prep
%setup -q -n pytest-spec-%{version}
%patch0 -p1
cp %{SOURCE1} .
%build