14
0

Accepting request 774732 from home:mnhauke

- Update to version 1.0.0
  * Drop Python 2 support
  * Add type annotations and py.typed to the package
  * Replace the logging library from Logbook to loguru
  * Remove deprecated error classes
  * Remove deprecated methods

OBS-URL: https://build.opensuse.org/request/show/774732
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-subprocrunner?expand=0&rev=3
This commit is contained in:
Tomáš Chvátal
2020-02-16 19:57:14 +00:00
committed by Git OBS Bridge
parent bf7d2883fa
commit dcb81411af
4 changed files with 21 additions and 8 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-subprocrunner
#
# 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
@@ -12,12 +12,14 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-subprocrunner
Version: 0.17.2
Version: 1.0.0
Release: 0
Summary: A Python wrapper library for subprocess module
License: MIT
@@ -28,15 +30,16 @@ BuildRequires: %{python_module setuptools >= 38.3.0}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
# SECTION test requirements
BuildRequires: %{python_module loguru}
BuildRequires: %{python_module mbstrdecoder >= 0.8.0}
BuildRequires: %{python_module pytest-runner}
BuildRequires: %{python_module six}
BuildRequires: %{python_module typepy}
# /SECTION
Requires: python-loguru
Requires: python-mbstrdecoder >= 0.8.0
Requires: python-six
Suggests: python-Logbook >= 0.12.3
Suggests: python-typepy
Requires: python-typepy
BuildArch: noarch
%python_subpackages