15
0

Accepting request 1171454 from devel:languages:python

- update to 3.1.0:
  * accept fileno-having objects for GIL-less capture
  * accept Logger objects in pipes
  * Update `pipes`'s docstring
- use PEP517 build

- Update to version 3.0.3

OBS-URL: https://build.opensuse.org/request/show/1171454
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-wurlitzer?expand=0&rev=8
This commit is contained in:
2024-05-03 17:44:04 +00:00
committed by Git OBS Bridge
4 changed files with 22 additions and 16 deletions

View File

@@ -1,7 +1,16 @@
-------------------------------------------------------------------
Thu May 2 21:55:17 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 3.1.0:
* accept fileno-having objects for GIL-less capture
* accept Logger objects in pipes
* Update `pipes`'s docstring
- use PEP517 build
-------------------------------------------------------------------
Wed Dec 7 22:42:41 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
- Update to version 3.0.3
- Update to version 3.0.3
* ci: update packages in freebsd #70
* Include STDOUT and PIPE in public API #69
* use 2**18 for bufsize test #61

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-wurlitzer
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,25 +17,20 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%bcond_without python2
Name: python-wurlitzer
Version: 3.0.3
Version: 3.1.0
Release: 0
Summary: Python package to capture C-level output in context managers
License: MIT
URL: https://github.com/minrk/wurlitzer
Source: https://files.pythonhosted.org/packages/source/w/wurlitzer/wurlitzer-%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildArch: noarch
%if %{with python2}
BuildRequires: python-selectors2
%endif
%ifpython2
Requires: python-selectors2
%endif
%python_subpackages
%description
@@ -46,10 +41,10 @@ output in context managers.
%setup -q -n wurlitzer-%{version}
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
@@ -58,6 +53,8 @@ output in context managers.
%files %{python_files}
%doc README.md
%license LICENSE
%{python_sitelib}/*
%{python_sitelib}/wurlitzer.py
%pycache_only %{python_sitelib}/__pycache__/wurlitzer.*
%{python_sitelib}/wurlitzer-%{version}.dist-info
%changelog

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:224f5fe70618be3872c05dfddc8c457191ec1870654596279fcc1edadebe3e5b
size 10171

3
wurlitzer-3.1.0.tar.gz Normal file
View File

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