15
0

Accepting request 789768 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/789768
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-capturer?expand=0&rev=4
This commit is contained in:
2020-03-31 15:13:45 +00:00
committed by Git OBS Bridge
4 changed files with 27 additions and 10 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:090142a58f3f85def3a7dd55d9024d0d1a86d1a88aaf9317c0f146244994a615
size 16963

BIN
capturer-3.0.tar.gz LFS Normal file

Binary file not shown.

View File

@@ -1,3 +1,17 @@
-------------------------------------------------------------------
Mon Mar 30 09:31:30 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
- Update to 3.0
* Added support for Python 3.7 and 3.8.
* Dropped support for Python 2.6 and 3.4.
* Actively deprecate ``interpret_carriage_returns()``.
* Moved test helpers to :mod:`humanfriendly.testing`.
* Include documentation in source distributions.
* Use Python 3 for local development (``Makefile``).
* Restructured the online documentation.
* Updated PyPI domain in documentation.
* Added this changelog.
-------------------------------------------------------------------
Tue Dec 4 12:46:28 UTC 2018 - Matej Cepl <mcepl@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-capturer
#
# Copyright (c) 2018 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,22 +17,25 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%bcond_with test
%bcond_without test
Name: python-capturer
Version: 2.4
Version: 3.0
Release: 0
Summary: Python module for capturing stdout/stderr of the current process group
License: MIT
Group: Development/Languages/Python
Url: https://capturer.readthedocs.io
URL: https://capturer.readthedocs.io
Source: https://files.pythonhosted.org/packages/source/c/capturer/capturer-%{version}.tar.gz
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
%if %{with test}
BuildRequires: %{python_module humanfriendly >= 2.1}
BuildRequires: %{python_module coverage >= 4.2}
BuildRequires: %{python_module humanfriendly >= 8.0}
BuildRequires: %{python_module pytest >= 3.0.4}
BuildRequires: %{python_module pytest-cov >= 2.4.0}
%endif
Requires: python-humanfriendly >= 2.1
Requires: python-humanfriendly >= 8.0
BuildArch: noarch
%python_subpackages
@@ -59,7 +62,7 @@ but definitely won't work on Windows (due to the use of the platform dependent
%if %{with test}
%check
export LANG=en_US.UTF-8
%python_exec setup.py test
%pytest capturer/tests.py
%endif
%files %{python_files}