diff --git a/prompt_toolkit-3.0.48.tar.gz b/prompt_toolkit-3.0.48.tar.gz deleted file mode 100644 index d8e9432981a84b770b995ca4fbcfa4066421c9ad..0000000000000000000000000000000000000000 Binary files a/prompt_toolkit-3.0.48.tar.gz and /dev/null differ diff --git a/prompt_toolkit-3.0.51.tar.gz b/prompt_toolkit-3.0.51.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..e823d4cb64e8ed236684015a7bc17302cf167e38 Binary files /dev/null and b/prompt_toolkit-3.0.51.tar.gz differ diff --git a/python-prompt-toolkit.spec b/python-prompt-toolkit.spec index ad8ff9d1d8676fd27161fa7efa888742083c4b30..8017c5a7ec1da9fca0d815f62a7cdf6afc8c4dd2 100644 --- a/python-prompt-toolkit.spec +++ b/python-prompt-toolkit.spec @@ -1,6 +1,6 @@ %global _empty_manifest_terminate_build 0 Name: python-prompt-toolkit -Version: 3.0.48 +Version: 3.0.51 Release: 1 Summary: Library for building powerful interactive command lines in Python License: BSD-3-Clause @@ -17,6 +17,7 @@ Summary: Library for building powerful interactive command lines in Python Provides: python-prompt-toolkit = %{version}-%{release} BuildRequires: python3-devel BuildRequires: python3-setuptools +BuildRequires: python3-pip Requires: python3-wcwidth %description -n python3-prompt-toolkit prompt_toolkit is a library for building powerful interactive command lines and @@ -33,10 +34,10 @@ terminal applications in Python. %autosetup -n prompt_toolkit-%{version} %build -%py3_build +%pyproject_build %install -%py3_install +%pyproject_install install -d -m755 %{buildroot}/%{_pkgdocdir} if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi @@ -67,12 +68,17 @@ mv %{buildroot}/filelist.lst . mv %{buildroot}/doclist.lst . %files -n python3-prompt-toolkit -f filelist.lst -%dir %{python3_sitelib}/* +%{python3_sitelib}/* %files help -f doclist.lst %{_docdir}/* %changelog +* Thu Aug 07 2025 Ge Wang - 3.0.51-1 +- Update package to version 3.0.51 + * Use pyproject.toml instead of setup.py. + * Fix edge case in `formatted_text.split_lines` when the input starts with a line ending. + * Thu Nov 07 2024 panzhe - 3.0.48-1 - Update package to version 3.0.48 * Add `@overload` to `contrib.regular_languages.compiler.Variables.get`.