diff --git a/python-tap.py.changes b/python-tap.py.changes index 18e3fdd..606f64a 100644 --- a/python-tap.py.changes +++ b/python-tap.py.changes @@ -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 diff --git a/python-tap.py.spec b/python-tap.py.spec index b66c844..2bdfdb3 100644 --- a/python-tap.py.spec +++ b/python-tap.py.spec @@ -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 diff --git a/tap.py-2.6.1.tar.gz b/tap.py-2.6.1.tar.gz deleted file mode 100644 index af39ccf..0000000 --- a/tap.py-2.6.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c78970f5e4eedc5d3451a79afca28a1ecce74876c00ce7862722f360191c8310 -size 146173 diff --git a/tap.py-3.0.tar.gz b/tap.py-3.0.tar.gz new file mode 100644 index 0000000..d808b8a --- /dev/null +++ b/tap.py-3.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f5eeeeebfd64e53d32661752bb4c288589a3babbb96db3f391a4ec29f1359c70 +size 141764