forked from pool/python-tap.py
Accepting request 783832 from home:pgajdos:python
- version update to 3.0 * Drop support for Python 2 (it is end-of-life). * Add support for subtests. * Run a test suite with ``python -m tap``. * Discontinue use of Pipenv for managing development. OBS-URL: https://build.opensuse.org/request/show/783832 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tap.py?expand=0&rev=5
This commit is contained in:
committed by
Git OBS Bridge
parent
8ca9770bf1
commit
369f1ef210
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-tap.py
|
||||
#
|
||||
# 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,8 +17,9 @@
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%define skip_python2 1
|
||||
Name: python-tap.py
|
||||
Version: 2.6.1
|
||||
Version: 3.0
|
||||
Release: 0
|
||||
Summary: Test Anything Protocol (TAP) tools
|
||||
License: BSD-2-Clause
|
||||
@@ -29,6 +30,7 @@ BuildRequires: %{python_module Babel}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-setuptools
|
||||
Recommends: python-PyYAML
|
||||
Recommends: python-more-itertools
|
||||
BuildArch: noarch
|
||||
@@ -36,6 +38,7 @@ BuildArch: noarch
|
||||
BuildRequires: %{python_module PyYAML}
|
||||
BuildRequires: %{python_module mock}
|
||||
BuildRequires: %{python_module more-itertools}
|
||||
BuildRequires: %{python_module pytest}
|
||||
# /SECTION
|
||||
%python_subpackages
|
||||
|
||||
@@ -56,7 +59,7 @@ export LANG=en_US.UTF-8
|
||||
|
||||
%check
|
||||
export LANG=en_US.UTF-8
|
||||
%python_exec setup.py test
|
||||
%pytest
|
||||
|
||||
%files %{python_files}
|
||||
%doc AUTHORS README.md
|
||||
|
Reference in New Issue
Block a user