forked from pool/python-pytest-console-scripts
- Use spec-cleaner
- Update to 0.1.9: * Fixes for newer pytest releases OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-console-scripts?expand=0&rev=2
This commit is contained in:
committed by
Git OBS Bridge
parent
24f42ffcc2
commit
c2aa2e80da
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-pytest-console-scripts
|
||||
#
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -12,24 +12,26 @@
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
|
||||
Name: python-pytest-console-scripts
|
||||
Version: 0.1.6
|
||||
Version: 0.1.9
|
||||
Release: 0
|
||||
License: MIT
|
||||
Summary: Pytest plugin for testing console scripts
|
||||
Url: https://github.com/kvas-it/pytest-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: pytest-console-scripts-0.1.6_test_virtualenv.patch
|
||||
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-mock >= 2.0.0
|
||||
Requires: python-pytest >= 3.0.0
|
||||
Requires: python-pytest-runner
|
||||
BuildArch: noarch
|
||||
# SECTION test requirements
|
||||
BuildRequires: %{python_module mock >= 2.0.0}
|
||||
BuildRequires: %{python_module pytest >= 3.0.0}
|
||||
@@ -37,13 +39,6 @@ BuildRequires: %{python_module pytest-runner}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module virtualenv}
|
||||
# /SECTION
|
||||
BuildRequires: fdupes
|
||||
|
||||
Requires: python-mock >= 2.0.0
|
||||
Requires: python-pytest >= 3.0.0
|
||||
Requires: python-pytest-runner
|
||||
BuildArch: noarch
|
||||
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
|
||||
Reference in New Issue
Block a user