15
0
forked from pool/python-clikit

Accepting request 842832 from home:dancermak:branches:devel:languages:python

Submission of python-clikit

OBS-URL: https://build.opensuse.org/request/show/842832
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-clikit?expand=0&rev=17
This commit is contained in:
2020-10-21 10:21:55 +00:00
committed by Git OBS Bridge
parent 5c5ea839e3
commit 239af6f283
2 changed files with 7 additions and 4 deletions

View File

@@ -16,15 +16,15 @@
#
%define skip_python2 1
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%bcond_without python2
Name: python-clikit
Version: 0.6.2
Release: 0
Summary: Helper to build testable command line interfaces
License: MIT
URL: https://github.com/sdispater/clikit
Source: https://github.com/sdispater/clikit/archive/%{version}.tar.gz#/clikit-%{version}.tar.gz
Source: %{URL}/archive/%{version}.tar.gz#/clikit-%{version}.tar.gz
BuildRequires: %{python_module crashtest}
BuildRequires: %{python_module pastel >= 0.2.0}
BuildRequires: %{python_module pip}
@@ -32,13 +32,11 @@ BuildRequires: %{python_module poetry-core}
BuildRequires: %{python_module pylev >= 1.3}
BuildRequires: %{python_module pytest >= 4.0}
BuildRequires: %{python_module pytest-mock >= 2.0.0}
BuildRequires: %{python_module typing >= 3.6}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-crashtest
Requires: python-pastel >= 0.2.0
Requires: python-pylev >= 1.3
Requires: python-typing >= 3.6
BuildArch: noarch
%if %{with python2}
BuildRequires: python-enum34 >= 1.1