Accepting request 812643 from home:mcalabkova:branches:devel:languages:python

- replace nose with unittest

OBS-URL: https://build.opensuse.org/request/show/812643
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ptyprocess?expand=0&rev=13
This commit is contained in:
Tomáš Chvátal 2020-06-08 14:30:17 +00:00 committed by Git OBS Bridge
parent 01492543c5
commit e906f127f0
2 changed files with 8 additions and 7 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Jun 8 14:14:04 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
- replace nose with unittest
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Dec 4 12:51:47 UTC 2018 - Matej Cepl <mcepl@suse.com> Tue Dec 4 12:51:47 UTC 2018 - Matej Cepl <mcepl@suse.com>

View File

@ -1,7 +1,7 @@
# #
# spec file for package python-ptyprocess # spec file for package python-ptyprocess
# #
# Copyright (c) 2018 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
@ -23,16 +23,12 @@ Release: 0
Summary: Run a subprocess in a pseudo terminal Summary: Run a subprocess in a pseudo terminal
License: ISC License: ISC
Group: Development/Languages/Python Group: Development/Languages/Python
Url: https://github.com/pexpect/ptyprocess URL: https://github.com/pexpect/ptyprocess
Source: https://files.pythonhosted.org/packages/source/p/ptyprocess/ptyprocess-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/p/ptyprocess/ptyprocess-%{version}.tar.gz
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
# SECTION test requirements
BuildRequires: %{python_module nose}
# /SECTION
BuildArch: noarch BuildArch: noarch
%python_subpackages %python_subpackages
%description %description
@ -56,7 +52,7 @@ If you need to automate these things, running the process in a pseudo terminal
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
%check %check
%python_expand nosetests-%{$python_bin_suffix} %python_exec -m unittest discover
%files %{python_files} %files %{python_files}
%doc README.rst %doc README.rst