15
0

Accepting request 994273 from home:ohollmann:branches:devel:languages:python

- Fix build dependencies for test flavour
- Update to 1.1:
  * Use popen timeout parameter, remove daemon thread #22
  * use only kill(), remove terminate(), remove kill* parameters #20 #22
  * add py310 support, remove py36
  * fix EASYPROCESS_USE_TEMP_FILES env var usage
  * test: increase timeouts to avoid random fails
  * remove py2
  * add py39 support
  * Add option to force kill process after timeout

OBS-URL: https://build.opensuse.org/request/show/994273
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-EasyProcess?expand=0&rev=41
This commit is contained in:
2022-08-18 14:42:28 +00:00
committed by Git OBS Bridge
parent fb1beca38f
commit f15dbed865
4 changed files with 27 additions and 6 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-EasyProcess
# spec file
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -26,7 +26,7 @@
%bcond_with test
%endif
Name: python-EasyProcess%{psuffix}
Version: 0.3
Version: 1.1
Release: 0
Summary: Python subprocess interface
License: BSD-2-Clause
@@ -38,9 +38,16 @@ BuildRequires: iputils
BuildRequires: python-rpm-macros
BuildArch: noarch
%if %{with test}
BuildRequires: %{python_module EasyProcess = %{version}}
BuildRequires: %{python_module Pillow}
BuildRequires: %{python_module PyVirtualDisplay}
BuildRequires: %{python_module entrypoint2}
BuildRequires: %{python_module flake8}
BuildRequires: %{python_module mypy}
BuildRequires: %{python_module pytest-timeout}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module six}
BuildRequires: ImageMagick
%endif
%python_subpackages