forked from pool/python-fire
Accepting request 962189 from home:pgajdos:python
- do not require python-mock for build - added patches fix https://github.com/google/python-fire/pull/265/files + python-fire-no-mock.patch OBS-URL: https://build.opensuse.org/request/show/962189 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fire?expand=0&rev=21
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-fire
|
||||
#
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -17,6 +17,7 @@
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%define skip_python2 1
|
||||
Name: python-fire
|
||||
Version: 0.4.0
|
||||
Release: 0
|
||||
@@ -24,6 +25,8 @@ Summary: A library for automatically generating command line interfaces
|
||||
License: Apache-2.0
|
||||
URL: https://github.com/google/python-fire
|
||||
Source: https://files.pythonhosted.org/packages/source/f/fire/fire-%{version}.tar.gz
|
||||
# https://github.com/google/python-fire/pull/265/files
|
||||
Patch0: python-fire-no-mock.patch
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
@@ -33,7 +36,6 @@ BuildArch: noarch
|
||||
# SECTION test requirements
|
||||
BuildRequires: %{python_module Levenshtein}
|
||||
BuildRequires: %{python_module hypothesis}
|
||||
BuildRequires: %{python_module mock}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module six}
|
||||
BuildRequires: %{python_module termcolor}
|
||||
|
||||
Reference in New Issue
Block a user