forked from pool/python-ptyprocess
Accepting request 627897 from home:TheBlackCat:branches:devel:languages:python
- update to 0.6.0 * Use PtyProcessError instead of ExceptionPexpect * sys.__stdin__ can be None * Fix AIX bug for users with unlimited nofiles * Clarify setecho error message OBS-URL: https://build.opensuse.org/request/show/627897 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ptyprocess?expand=0&rev=9
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-ptyprocess
|
||||
#
|
||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -16,11 +16,10 @@
|
||||
#
|
||||
|
||||
|
||||
%bcond_without tests
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-ptyprocess
|
||||
Version: 0.5.2
|
||||
Version: 0.6.0
|
||||
Release: 0
|
||||
Summary: Run a subprocess in a pseudo terminal
|
||||
License: ISC
|
||||
@@ -31,11 +30,11 @@ BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
%if %{with tests}
|
||||
# SECTION test requirements
|
||||
BuildRequires: %{python_module nose}
|
||||
%endif
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
# /SECTION
|
||||
BuildArch: noarch
|
||||
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
@@ -58,14 +57,12 @@ If you need to automate these things, running the process in a pseudo terminal
|
||||
%python_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%if %{with tests}
|
||||
%check
|
||||
%python_expand nosetests-%{$python_bin_suffix}
|
||||
%endif
|
||||
|
||||
%files %{python_files}
|
||||
%defattr(-,root,root,-)
|
||||
%doc README.rst
|
||||
%license LICENSE
|
||||
%{python_sitelib}/*
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user