14
0
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:
Tomáš Chvátal
2020-03-11 13:52:58 +00:00
committed by Git OBS Bridge
parent 8ca9770bf1
commit 369f1ef210
4 changed files with 18 additions and 6 deletions

View File

@@ -1,3 +1,12 @@
-------------------------------------------------------------------
Wed Mar 11 12:59:42 UTC 2020 - pgajdos@suse.com
- 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.
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Sep 18 07:28:19 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com> Wed Sep 18 07:28:19 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-tap.py # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -17,8 +17,9 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-tap.py Name: python-tap.py
Version: 2.6.1 Version: 3.0
Release: 0 Release: 0
Summary: Test Anything Protocol (TAP) tools Summary: Test Anything Protocol (TAP) tools
License: BSD-2-Clause License: BSD-2-Clause
@@ -29,6 +30,7 @@ BuildRequires: %{python_module Babel}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Requires: python-setuptools
Recommends: python-PyYAML Recommends: python-PyYAML
Recommends: python-more-itertools Recommends: python-more-itertools
BuildArch: noarch BuildArch: noarch
@@ -36,6 +38,7 @@ BuildArch: noarch
BuildRequires: %{python_module PyYAML} BuildRequires: %{python_module PyYAML}
BuildRequires: %{python_module mock} BuildRequires: %{python_module mock}
BuildRequires: %{python_module more-itertools} BuildRequires: %{python_module more-itertools}
BuildRequires: %{python_module pytest}
# /SECTION # /SECTION
%python_subpackages %python_subpackages
@@ -56,7 +59,7 @@ export LANG=en_US.UTF-8
%check %check
export LANG=en_US.UTF-8 export LANG=en_US.UTF-8
%python_exec setup.py test %pytest
%files %{python_files} %files %{python_files}
%doc AUTHORS README.md %doc AUTHORS README.md

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c78970f5e4eedc5d3451a79afca28a1ecce74876c00ce7862722f360191c8310
size 146173

3
tap.py-3.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f5eeeeebfd64e53d32661752bb4c288589a3babbb96db3f391a4ec29f1359c70
size 141764