diff --git a/python-wurlitzer.changes b/python-wurlitzer.changes index 6cd541c..b5062b9 100644 --- a/python-wurlitzer.changes +++ b/python-wurlitzer.changes @@ -1,7 +1,16 @@ +------------------------------------------------------------------- +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 +- 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 diff --git a/python-wurlitzer.spec b/python-wurlitzer.spec index 0822b0c..4bf7a8d 100644 --- a/python-wurlitzer.spec +++ b/python-wurlitzer.spec @@ -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 diff --git a/wurlitzer-3.0.3.tar.gz b/wurlitzer-3.0.3.tar.gz deleted file mode 100644 index 30d8bf2..0000000 --- a/wurlitzer-3.0.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:224f5fe70618be3872c05dfddc8c457191ec1870654596279fcc1edadebe3e5b -size 10171 diff --git a/wurlitzer-3.1.0.tar.gz b/wurlitzer-3.1.0.tar.gz new file mode 100644 index 0000000..7ebbaa7 --- /dev/null +++ b/wurlitzer-3.1.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b31d3b18ab6b8394b3adb8b21841ad6d4b6bb195b9b642953872dbbab4c29b2a +size 11571