forked from pool/python-prompt_toolkit
Accepting request 1077423 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1077423 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-prompt_toolkit?expand=0&rev=22
This commit is contained in:
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:3e163f254bef5a03b146397d7c1963bd3e2812f0964bb9a24e6ec761fd28db63
|
|
||||||
size 423863
|
|
BIN
prompt_toolkit-3.0.38.tar.gz
(Stored with Git LFS)
Normal file
BIN
prompt_toolkit-3.0.38.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@@ -1,3 +1,24 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Apr 4 20:16:51 UTC 2023 - Ben Greiner <code@bnavigator.de>
|
||||||
|
|
||||||
|
- Update to 3.0.38
|
||||||
|
* Fix regression in filters. (Use of `WeakValueDictionary` caused
|
||||||
|
filters to not be cached).
|
||||||
|
- Release 3.0.37 Bug fixes:
|
||||||
|
* Fix `currentThread()` deprecation warning.
|
||||||
|
* Fix memory leak in filters.
|
||||||
|
* Make VERSION tuple numeric.
|
||||||
|
* Add `.run()` method in `TelnetServer`. (To be used instead of
|
||||||
|
`.start()/.stop()`.
|
||||||
|
## Breaking changes:
|
||||||
|
* Subclasses of `Filter` have to call `super()` in their
|
||||||
|
`__init__`.
|
||||||
|
* Drop support for Python 3.6:
|
||||||
|
- This includes code cleanup for Python 3.6 compatibility.
|
||||||
|
- Use `get_running_loop()` instead of `get_event_loop()`.
|
||||||
|
- Use `asyncio.run()` instead of
|
||||||
|
`asyncio.run_until_complete()`.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Dec 13 16:16:08 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
|
Tue Dec 13 16:16:08 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-prompt_toolkit
|
# spec file for package python-prompt_toolkit
|
||||||
#
|
#
|
||||||
# Copyright (c) 2022 SUSE LLC
|
# Copyright (c) 2023 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -16,18 +16,19 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
|
||||||
%define skip_python2 1
|
|
||||||
Name: python-prompt_toolkit
|
Name: python-prompt_toolkit
|
||||||
Version: 3.0.36
|
Version: 3.0.38
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Library for building interactive command lines in Python
|
Summary: Library for building interactive command lines in Python
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
URL: https://github.com/jonathanslenders/python-prompt-toolkit
|
URL: https://github.com/prompt-toolkit/python-prompt-toolkit
|
||||||
Source: https://files.pythonhosted.org/packages/source/p/prompt_toolkit/prompt_toolkit-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/p/prompt_toolkit/prompt_toolkit-%{version}.tar.gz
|
||||||
|
BuildRequires: %{python_module base >= 3.7}
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: %{python_module wcwidth}
|
BuildRequires: %{python_module wcwidth}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-wcwidth
|
Requires: python-wcwidth
|
||||||
@@ -44,10 +45,10 @@ lines in Python.
|
|||||||
%setup -q -n prompt_toolkit-%{version}
|
%setup -q -n prompt_toolkit-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
@@ -56,6 +57,7 @@ lines in Python.
|
|||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%doc AUTHORS.rst README.rst CHANGELOG
|
%doc AUTHORS.rst README.rst CHANGELOG
|
||||||
%{python_sitelib}/prompt_toolkit*
|
%{python_sitelib}/prompt_toolkit
|
||||||
|
%{python_sitelib}/prompt_toolkit-%{version}.dist-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user