1
0

Accepting request 840181 from home:mcalabkova:branches:devel:languages:python:pytest

- Update to 1.0.2
  * Replace yield_fixture with fixture
  * Drop Python 3.4 support
  * Drop Python 2.7 support
  * Add builds for Python 3.8, 3.9
  * Include test to package
- Actually download source tarball

OBS-URL: https://build.opensuse.org/request/show/840181
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-click?expand=0&rev=5
This commit is contained in:
2020-10-08 06:52:58 +00:00
committed by Git OBS Bridge
parent 9b1f709e53
commit 7c9be09c15
4 changed files with 20 additions and 8 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2837881bd13e2d6dd75cdccc98d67d4e0b5d8ec6e27e996b82e2daafa9539c48
size 4917

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:41a410fcc4ecd7eac0255b53c175b20b5010d7e86864e49041de7f31467f43d2
size 7168

View File

@@ -1,3 +1,14 @@
-------------------------------------------------------------------
Wed Oct 7 18:42:23 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
- Update to 1.0.2
* Replace yield_fixture with fixture
* Drop Python 3.4 support
* Drop Python 2.7 support
* Add builds for Python 3.8, 3.9
* Include test to package
- Actually download source tarball
-------------------------------------------------------------------
Fri May 31 08:20:39 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-pytest-click
#
# 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,14 +17,15 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-pytest-click
Version: 0.3
Version: 1.0.2
Release: 0
Summary: Pytest plugin for Click
License: MIT
Group: Development/Languages/Python
URL: https://github.com/Stranger6667/pytest-click
Source: pytest-click-%{version}.tar.gz
Source: https://github.com/Stranger6667/pytest-click/archive/v%{version}.tar.gz#/pytest-click-%{version}.tar.gz
BuildRequires: %{python_module mock}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
@@ -34,7 +35,7 @@ Requires: python-pytest >= 3.6.0
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module click >= 6.0}
BuildRequires: %{python_module pytest >= 3.6.0}
BuildRequires: %{python_module pytest >= 5.0}
# /SECTION
%python_subpackages
@@ -54,7 +55,7 @@ sed -i "s/'pytest-cov>=[0-9.]*'//;s/==/>=/g" setup.py
%check
export LANG=C.UTF-8
%python_exec setup.py test
%pytest
%files %{python_files}
%doc CHANGELOG.md README.rst