2023-02-18 06:35:39 +00:00
|
|
|
%global commit 5eb6efd273530dc5517a7bc22bcce1df57a29f0e
|
|
|
|
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
|
|
|
|
2019-04-16 16:37:20 +00:00
|
|
|
%global common_description %{expand:
|
2022-04-08 21:12:19 +00:00
|
|
|
prompt_toolkit is a library for building powerful interactive command line
|
|
|
|
applications in Python.}
|
2018-10-02 12:43:27 +00:00
|
|
|
|
2023-01-30 20:58:16 +00:00
|
|
|
Name: python-prompt-toolkit
|
2023-02-18 06:35:39 +00:00
|
|
|
Version: 3.0.36^1.%{shortcommit}
|
|
|
|
Release: 1%{?dist}
|
2022-04-08 21:12:19 +00:00
|
|
|
Summary: Library for building powerful interactive command line applications in Python
|
2023-01-30 20:59:48 +00:00
|
|
|
License: BSD-3-Clause
|
2019-10-17 20:59:06 +00:00
|
|
|
URL: https://github.com/prompt-toolkit/python-prompt-toolkit
|
2023-02-18 06:35:39 +00:00
|
|
|
Source: %{url}/archive/%{commit}/prompt_toolkit-%{shortcommit}.tar.gz
|
2018-10-02 12:43:27 +00:00
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
2019-04-16 16:37:20 +00:00
|
|
|
%description %{common_description}
|
2018-10-02 12:43:27 +00:00
|
|
|
|
|
|
|
|
2023-01-30 20:58:16 +00:00
|
|
|
%package -n python3-prompt-toolkit
|
2018-10-02 12:43:27 +00:00
|
|
|
Summary: %{summary}
|
|
|
|
BuildRequires: python3-devel
|
2022-04-08 21:12:19 +00:00
|
|
|
BuildRequires: python3-pytest
|
2018-10-02 12:43:27 +00:00
|
|
|
# https://github.com/jonathanslenders/python-prompt-toolkit/issues/94
|
2022-04-08 21:12:19 +00:00
|
|
|
Recommends: python3-pygments
|
2018-10-02 12:43:27 +00:00
|
|
|
|
|
|
|
|
2023-01-30 20:58:16 +00:00
|
|
|
%description -n python3-prompt-toolkit %{common_description}
|
2018-10-02 12:43:27 +00:00
|
|
|
|
|
|
|
|
|
|
|
%prep
|
2023-02-18 06:35:39 +00:00
|
|
|
%autosetup -n python-prompt-toolkit-%{commit}
|
2022-04-08 21:12:19 +00:00
|
|
|
|
|
|
|
|
|
|
|
%generate_buildrequires
|
|
|
|
%pyproject_buildrequires
|
2018-10-02 12:43:27 +00:00
|
|
|
|
|
|
|
|
|
|
|
%build
|
2022-04-08 21:12:19 +00:00
|
|
|
%pyproject_wheel
|
2018-10-02 12:43:27 +00:00
|
|
|
|
|
|
|
|
|
|
|
%install
|
2022-04-08 21:12:19 +00:00
|
|
|
%pyproject_install
|
2023-01-30 20:58:16 +00:00
|
|
|
%pyproject_save_files prompt_toolkit
|
2018-10-02 12:43:27 +00:00
|
|
|
|
|
|
|
|
|
|
|
%check
|
2022-04-08 21:12:19 +00:00
|
|
|
%pytest
|
2018-10-02 12:43:27 +00:00
|
|
|
|
|
|
|
|
2023-01-30 20:58:16 +00:00
|
|
|
%files -n python3-prompt-toolkit -f %{pyproject_files}
|
2018-10-02 12:43:27 +00:00
|
|
|
%doc README.rst AUTHORS.rst CHANGELOG
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2023-02-18 06:35:39 +00:00
|
|
|
* Sat Feb 18 2023 Carl George <carl@george.computer> - 3.0.36^1.5eb6efd-1
|
|
|
|
- Update to upstream snapshot for Python 3.12 compatibility, resolves rhbz#2165570
|
|
|
|
|
2023-01-30 20:59:48 +00:00
|
|
|
* Mon Jan 30 2023 Carl George <carl@george.computer> - 3.0.36-2
|
|
|
|
- Switch to SPDX license identifier
|
|
|
|
|
2023-01-30 13:25:17 +00:00
|
|
|
* Mon Jan 30 2023 Lumír Balhar <lbalhar@redhat.com> - 3.0.36-1
|
|
|
|
- Update to 3.0.36 (rhbz#2101376)
|
|
|
|
|
2023-01-20 15:50:12 +00:00
|
|
|
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.29-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
2022-07-22 21:00:44 +00:00
|
|
|
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.29-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
2022-06-13 15:13:32 +00:00
|
|
|
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 3.0.29-2
|
|
|
|
- Rebuilt for Python 3.11
|
|
|
|
|
2022-04-08 21:12:19 +00:00
|
|
|
* Fri Apr 08 2022 Carl George <carl@george.computer> - 3.0.29-1
|
|
|
|
- Latest upstream (resolves: rhbz#2047246)
|
|
|
|
- Convert to pyproject macros
|
|
|
|
|
2022-01-21 14:19:18 +00:00
|
|
|
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.24-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
2021-12-31 02:27:00 +00:00
|
|
|
* Thu Dec 30 2021 Malcolm Inglis <miinglis@amazon.com> - 3.0.24-1
|
|
|
|
- Latest upstream; supports Python 3.10
|
|
|
|
|
2021-07-23 08:22:23 +00:00
|
|
|
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.5-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
2021-06-04 08:37:29 +00:00
|
|
|
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 3.0.5-6
|
|
|
|
- Rebuilt for Python 3.10
|
|
|
|
|
2021-01-27 12:24:56 +00:00
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.5-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
2020-07-29 02:54:56 +00:00
|
|
|
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.5-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
2020-05-24 19:23:30 +00:00
|
|
|
* Sun May 24 2020 Miro Hrončok <mhroncok@redhat.com> - 3.0.5-3
|
|
|
|
- Rebuilt for Python 3.9
|
|
|
|
|
2020-05-14 00:44:26 +00:00
|
|
|
* Thu May 14 2020 Carl George <carl@george.computer> - 3.0.5-2
|
|
|
|
- Remove six dependency
|
|
|
|
|
2020-05-05 01:26:26 +00:00
|
|
|
* Tue May 05 2020 Itamar Reis Peixoto <itamar@ispbrasil.com.br> - 3.0.5-1
|
|
|
|
- Latest upstream
|
|
|
|
|
2020-01-30 14:13:11 +00:00
|
|
|
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.10-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
2019-10-17 20:59:06 +00:00
|
|
|
* Thu Oct 17 2019 Carl George <carl@george.computer> - 2.0.10-1
|
|
|
|
- Latest upstream
|
|
|
|
|
2019-10-03 12:23:55 +00:00
|
|
|
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 2.0.9-5
|
|
|
|
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
|
|
|
|
2019-08-18 12:59:58 +00:00
|
|
|
* Sun Aug 18 2019 Miro Hrončok <mhroncok@redhat.com> - 2.0.9-4
|
|
|
|
- Rebuilt for Python 3.8
|
|
|
|
|
2019-07-26 15:19:51 +00:00
|
|
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.9-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
2019-04-16 16:39:25 +00:00
|
|
|
* Tue Apr 16 2019 Carl George <carl@george.computer> - 2.0.9-2
|
|
|
|
- Increase obsoletes version for upgrade path rhbz#1700292
|
|
|
|
|
2019-03-20 14:52:55 +00:00
|
|
|
* Wed Mar 20 2019 Carl George <carl@george.computer> - 2.0.9-1
|
|
|
|
- Latest upstream
|
|
|
|
|
2019-02-02 08:27:14 +00:00
|
|
|
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.7-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
2018-11-06 20:42:47 +00:00
|
|
|
* Tue Nov 06 2018 Carl George <carl@george.computer> - 2.0.7-1
|
|
|
|
- Latest upstream rhbz#1647178
|
|
|
|
|
2018-10-02 12:43:27 +00:00
|
|
|
* Mon Oct 01 2018 Carl George <carl@george.computer> - 2.0.5-1
|
|
|
|
- Latest upstream
|
|
|
|
- Remove python2 subpackage
|
|
|
|
|
|
|
|
* Fri Sep 28 2018 Carl George <carl@george.computer> - 2.0.4-1
|
|
|
|
- Latest upstream
|
|
|
|
- Rename from *-prompt_toolkit to *-prompt-toolkit
|
|
|
|
|
|
|
|
* Fri Sep 28 2018 Carl George <carl@george.computer> - 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 <carl@george.computer> - 1.0.15-1
|
|
|
|
- Latest upstream
|
|
|
|
- Use common documentation directory
|
|
|
|
|
|
|
|
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 1.0.14-6
|
|
|
|
- Rebuilt for Python 3.7
|
|
|
|
|
|
|
|
* Mon Feb 12 2018 Carl George <carl@george.computer> - 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 <ishcherb@redhat.com> - 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 <releng@fedoraproject.org> - 1.0.14-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
|
|
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.14-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
|
|
|
* Mon May 01 2017 Fabio Alessandro Locati <fale@fedoraproject.org> - 1.0.14-1
|
|
|
|
- Update to 1.0.14
|
|
|
|
|
|
|
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.9-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
|
|
|
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 1.0.9-2
|
|
|
|
- Rebuild for Python 3.6
|
|
|
|
|
|
|
|
* Sun Dec 11 2016 Fabio Alessandro Locati <fale@fedoraproject.org> - 1.0.9-1
|
|
|
|
- Update to 1.0.9
|
|
|
|
|
|
|
|
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0-2
|
|
|
|
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
|
|
|
|
|
|
* Fri May 06 2016 Fabio Alessandro Locati <fale@fedoraproject.org> - 1.0.0-1
|
|
|
|
- Update to 1.0.0
|
|
|
|
|
|
|
|
* Tue Mar 29 2016 Fabio Alessandro Locati <fale@fedoraproject.org> - 0.60-1
|
|
|
|
- Update to 0.60
|
|
|
|
|
|
|
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.57-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
|
|
|
* Tue Jan 12 2016 Fabio Alessandro Locati <fale@fedoraproject.org> - 0.57-2
|
|
|
|
- Make the EL6 package provide python-prompt_toolkit too
|
|
|
|
|
|
|
|
* Sat Jan 09 2016 Fabio Alessandro Locati <fale@fedoraproject.org> - 0.57-1
|
|
|
|
- New upstream update
|
|
|
|
|
|
|
|
* Wed Jan 06 2016 Fabio Alessandro Locati <fale@fedoraproject.org> - 0.54-2
|
|
|
|
- Fix quiet setup
|
|
|
|
- Fix license
|
|
|
|
- Add AUTHORS.rst, CHANGELOG & TODO.rst
|
|
|
|
|
|
|
|
* Tue Dec 29 2015 Fabio Alessandro Locati <fale@fedoraproject.org> - 0.54-1
|
|
|
|
- Initial package.
|