forked from pool/python-pytest-console-scripts
- Add patch to work with python-virtualenv >= 20:
* virtualenv-20.patch OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-console-scripts?expand=0&rev=10
This commit is contained in:
committed by
Git OBS Bridge
parent
04674cd391
commit
291aef3bf0
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-pytest-console-scripts
|
||||
#
|
||||
# Copyright (c) 2019 SUSE LLC.
|
||||
# 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-console-scripts
|
||||
Version: 0.2.0
|
||||
Release: 0
|
||||
Summary: Pytest plugin for testing console scripts
|
||||
License: MIT
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/kvas-it/pytest-console-scripts
|
||||
Source: https://files.pythonhosted.org/packages/source/p/pytest-console-scripts/pytest-console-scripts-%{version}.tar.gz
|
||||
Patch0: virtualenv-20.patch
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
@@ -37,7 +38,7 @@ BuildRequires: %{python_module mock >= 2.0.0}
|
||||
BuildRequires: %{python_module pytest >= 4.0.0}
|
||||
BuildRequires: %{python_module pytest-runner}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module virtualenv}
|
||||
BuildRequires: %{python_module virtualenv >= 20}
|
||||
# /SECTION
|
||||
%python_subpackages
|
||||
|
||||
|
||||
Reference in New Issue
Block a user