Sync from SUSE:SLFO:Main python-wurlitzer revision c5601014f3ba6bc34f9b441247d12648

This commit is contained in:
Adrian Schröter 2024-12-04 09:24:45 +01:00
commit 93c76eb72e
4 changed files with 148 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

62
python-wurlitzer.changes Normal file
View File

@ -0,0 +1,62 @@
-------------------------------------------------------------------
Sat Jun 29 05:32:32 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 3.1.1:
* fix restore after capture with optimized file pipes
* Minor readme clarification
* sys_pipes: check that sys.stdout isn't being forwarded to itself
-------------------------------------------------------------------
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
* ci: update packages in freebsd #70
* Include STDOUT and PIPE in public API #69
* use 2**18 for bufsize test #61
* Try running tests on freebsd #60
* Add details to the failed-to-set-pipe-buffer-size warning #58
* Add details to the failed-to-set-pipe-buffer-size warning, closes #5757 #5757
-------------------------------------------------------------------
Thu Apr 14 09:47:12 UTC 2022 - pgajdos@suse.com
- version update to 3.0.2
* no upstream changelog file found
- python-mock is not required for build
-------------------------------------------------------------------
Tue Jul 21 12:41:04 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
- Update to 2.0.1
* small bug- and test fixes
-------------------------------------------------------------------
Mon Apr 20 07:24:10 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
- Fix build without python2 available
-------------------------------------------------------------------
Wed Nov 6 12:18:11 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Update to 2.0:
* use selectors instead of select.poll #34
-------------------------------------------------------------------
Mon Jul 22 11:35:41 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Update to 1.0.3:
* no upstream changelog
-------------------------------------------------------------------
Sat Dec 22 05:42:49 UTC 2018 - Todd R <toddrme2178@gmail.com>
- Initial version (1.0.2)

60
python-wurlitzer.spec Normal file
View File

@ -0,0 +1,60 @@
#
# spec file for package python-wurlitzer
#
# 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
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-wurlitzer
Version: 3.1.1
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
%python_subpackages
%description
Wurlitzer is a python package to capture C-level
output in context managers.
%prep
%setup -q -n wurlitzer-%{version}
%build
%pyproject_wheel
%install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pytest test.py
%files %{python_files}
%doc README.md
%license LICENSE
%{python_sitelib}/wurlitzer.py
%pycache_only %{python_sitelib}/__pycache__/wurlitzer.*
%{python_sitelib}/wurlitzer-%{version}.dist-info
%changelog

BIN
wurlitzer-3.1.1.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.