commit 93c76eb72ef4f616b65f6b952e366f47999d6dadf340f1e23d16eb80a86fb921 Author: Adrian Schröter Date: Wed Dec 4 09:24:45 2024 +0100 Sync from SUSE:SLFO:Main python-wurlitzer revision c5601014f3ba6bc34f9b441247d12648 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/python-wurlitzer.changes b/python-wurlitzer.changes new file mode 100644 index 0000000..3dde60c --- /dev/null +++ b/python-wurlitzer.changes @@ -0,0 +1,62 @@ +------------------------------------------------------------------- +Sat Jun 29 05:32:32 UTC 2024 - Dirk Müller + +- 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 + +- 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 + +- 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 + +- Update to 2.0.1 + * small bug- and test fixes + +------------------------------------------------------------------- +Mon Apr 20 07:24:10 UTC 2020 - Tomáš Chvátal + +- Fix build without python2 available + +------------------------------------------------------------------- +Wed Nov 6 12:18:11 UTC 2019 - Tomáš Chvátal + +- Update to 2.0: + * use selectors instead of select.poll #34 + +------------------------------------------------------------------- +Mon Jul 22 11:35:41 UTC 2019 - Tomáš Chvátal + +- Update to 1.0.3: + * no upstream changelog + +------------------------------------------------------------------- +Sat Dec 22 05:42:49 UTC 2018 - Todd R + +- Initial version (1.0.2) diff --git a/python-wurlitzer.spec b/python-wurlitzer.spec new file mode 100644 index 0000000..fbf60ed --- /dev/null +++ b/python-wurlitzer.spec @@ -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 diff --git a/wurlitzer-3.1.1.tar.gz b/wurlitzer-3.1.1.tar.gz new file mode 100644 index 0000000..ddcad64 --- /dev/null +++ b/wurlitzer-3.1.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bfb9144ab9f02487d802b9ff89dbd3fa382d08f73e12db8adc4c2fb00cd39bd9 +size 11867