## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 5; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec %global common_description %{expand: prompt_toolkit is a library for building powerful interactive command line applications in Python.} Name: python-prompt-toolkit Version: 3.0.41 Release: %autorelease Summary: Library for building powerful interactive command line applications in Python License: BSD-3-Clause URL: https://github.com/prompt-toolkit/python-prompt-toolkit Source: %{pypi_source prompt_toolkit} BuildArch: noarch %description %{common_description} %package -n python3-prompt-toolkit Summary: %{summary} BuildRequires: python3-devel BuildRequires: python3-pytest # https://github.com/jonathanslenders/python-prompt-toolkit/issues/94 Recommends: python3-pygments %description -n python3-prompt-toolkit %{common_description} %prep %autosetup -n prompt_toolkit-%{version} %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files prompt_toolkit %check %pytest %files -n python3-prompt-toolkit -f %{pyproject_files} %doc README.rst AUTHORS.rst CHANGELOG %changelog ## START: Generated by rpmautospec * Fri Jul 19 2024 Fedora Release Engineering - 3.0.41-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Fri Jun 07 2024 Python Maint - 3.0.41-4 - Rebuilt for Python 3.13 * Fri Jan 26 2024 Fedora Release Engineering - 3.0.41-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 3.0.41-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Wed Nov 29 2023 Lumir Balhar - 3.0.41-1 - Update to 3.0.41 (rhbz#2219586) * Fri Jul 21 2023 Fedora Release Engineering - 3.0.38-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Tue Jun 13 2023 Python Maint - 3.0.38-2 - Rebuilt for Python 3.12 * Wed Mar 01 2023 Carl George - 3.0.38-1 - Update to 3.0.38, resolves rhbz#2173899 * Sun Feb 26 2023 Carl George - 3.0.37-1 - Update to 3.0.37, resolves rhbz#2172242 * Sat Feb 18 2023 Carl George - 3.0.36^1.5eb6efd-1 - Update to upstream snapshot for Python 3.12 compatibility, resolves rhbz#2165570 * Mon Jan 30 2023 Carl George - 3.0.36-2 - Switch to SPDX license identifier * Mon Jan 30 2023 Lumír Balhar - 3.0.36-1 - Update to 3.0.36 (rhbz#2101376) * Fri Jan 20 2023 Fedora Release Engineering - 3.0.29-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jul 22 2022 Fedora Release Engineering - 3.0.29-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Jun 13 2022 Python Maint - 3.0.29-2 - Rebuilt for Python 3.11 * Fri Apr 08 2022 Carl George - 3.0.29-1 - Latest upstream (resolves: rhbz#2047246) - Convert to pyproject macros * Fri Jan 21 2022 Fedora Release Engineering - 3.0.24-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Dec 30 2021 Malcolm Inglis - 3.0.24-1 - Latest upstream; supports Python 3.10 * Fri Jul 23 2021 Fedora Release Engineering - 3.0.5-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 3.0.5-6 - Rebuilt for Python 3.10 * Wed Jan 27 2021 Fedora Release Engineering - 3.0.5-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 3.0.5-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Sun May 24 2020 Miro Hrončok - 3.0.5-3 - Rebuilt for Python 3.9 * Thu May 14 2020 Carl George - 3.0.5-2 - Remove six dependency * Tue May 05 2020 Itamar Reis Peixoto - 3.0.5-1 - Latest upstream * Thu Jan 30 2020 Fedora Release Engineering - 2.0.10-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Oct 17 2019 Carl George - 2.0.10-1 - Latest upstream * Thu Oct 03 2019 Miro Hrončok - 2.0.9-5 - Rebuilt for Python 3.8.0rc1 (#1748018) * Sun Aug 18 2019 Miro Hrončok - 2.0.9-4 - Rebuilt for Python 3.8 * Fri Jul 26 2019 Fedora Release Engineering - 2.0.9-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Tue Apr 16 2019 Carl George - 2.0.9-2 - Increase obsoletes version for upgrade path rhbz#1700292 * Wed Mar 20 2019 Carl George - 2.0.9-1 - Latest upstream * Sat Feb 02 2019 Fedora Release Engineering - 2.0.7-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Tue Nov 06 2018 Carl George - 2.0.7-1 - Latest upstream rhbz#1647178 * Mon Oct 01 2018 Carl George - 2.0.5-1 - Latest upstream - Remove python2 subpackage * Fri Sep 28 2018 Carl George - 2.0.4-1 - Latest upstream - Rename from *-prompt_toolkit to *-prompt-toolkit * Fri Sep 28 2018 Carl George - 1.0.15-2 - Revert using a common documentation directory to avoid potential update issues - Change pygments to an optional dependency * Thu Jul 12 2018 Carl George - 1.0.15-1 - Latest upstream - Use common documentation directory * Tue Jun 19 2018 Miro Hrončok - 1.0.14-6 - Rebuilt for Python 3.7 * Mon Feb 12 2018 Carl George - 1.0.14-5 - Make requirements compatible with EPEL - Build for Python 3 in EPEL - Run test suite - Remove duplicate provides * Mon Feb 12 2018 Iryna Shcherbina - 1.0.14-4 - Update Python 2 dependency declarations to new packaging standards (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3) * Fri Feb 09 2018 Fedora Release Engineering - 1.0.14-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 1.0.14-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Mon May 01 2017 Fabio Alessandro Locati - 1.0.14-1 - Update to 1.0.14 * Sat Feb 11 2017 Fedora Release Engineering - 1.0.9-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Mon Dec 19 2016 Miro Hrončok - 1.0.9-2 - Rebuild for Python 3.6 * Sun Dec 11 2016 Fabio Alessandro Locati - 1.0.9-1 - Update to 1.0.9 * Tue Jul 19 2016 Fedora Release Engineering - 1.0.0-2 - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages * Fri May 06 2016 Fabio Alessandro Locati - 1.0.0-1 - Update to 1.0.0 * Tue Mar 29 2016 Fabio Alessandro Locati - 0.60-1 - Update to 0.60 * Thu Feb 04 2016 Fedora Release Engineering - 0.57-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Tue Jan 12 2016 Fabio Alessandro Locati - 0.57-2 - Make the EL6 package provide python-prompt_toolkit too * Sat Jan 09 2016 Fabio Alessandro Locati - 0.57-1 - New upstream update * Wed Jan 06 2016 Fabio Alessandro Locati - 0.54-2 - Fix quiet setup - Fix license - Add AUTHORS.rst, CHANGELOG & TODO.rst * Tue Dec 29 2015 Fabio Alessandro Locati - 0.54-1 - Initial package. ## END: Generated by rpmautospec