|
|
3f272fc |
%global pypi_name cmd2
|
|
|
89b5dcc |
|
|
|
999f0dd |
Name: python-%{pypi_name}
|
|
|
840877a |
Version: 2.4.2
|
|
|
43df047 |
Release: 6%{?dist}
|
|
|
89b5dcc |
Summary: Extra features for standard library's cmd module
|
|
|
89b5dcc |
|
|
|
89b5dcc |
License: MIT
|
|
|
5685466 |
URL: https://pypi.python.org/pypi/cmd2
|
|
|
3f272fc |
Source0: %{pypi_source}
|
|
|
89b5dcc |
BuildArch: noarch
|
|
|
89b5dcc |
|
|
|
5e83daa |
%global _description\
|
|
|
5e83daa |
Enhancements for standard library's cmd module.\
|
|
|
5e83daa |
\
|
|
|
5e83daa |
Drop-in replacement adds several features for command-prompt tools:\
|
|
|
5e83daa |
\
|
|
|
5e83daa |
* Searchable command history (commands: "hi", "li", "run")\
|
|
|
5e83daa |
* Load commands from file, save to file, edit commands in file\
|
|
|
5e83daa |
* Multi-line commands\
|
|
|
5e83daa |
* Case-insensitive commands\
|
|
|
5e83daa |
* Special-character shortcut commands (beyond cmd's "@" and "!")\
|
|
|
5e83daa |
* Settable environment parameters\
|
|
|
5e83daa |
* Parsing commands with flags\
|
|
|
5e83daa |
* > (filename), >> (filename) redirect output to file\
|
|
|
5e83daa |
* < (filename) gets input from file\
|
|
|
5e83daa |
* bare >, >>, < redirect to/from paste buffer\
|
|
|
5e83daa |
* accepts abbreviated commands when unambiguous\
|
|
|
5e83daa |
* `py` enters interactive Python console\
|
|
|
5e83daa |
* test apps against sample session transcript (see example/example.py)\
|
|
|
5e83daa |
\
|
|
|
5e83daa |
Usable without modification anywhere cmd is used; simply import cmd2.Cmd\
|
|
|
5e83daa |
in place of cmd.Cmd.\
|
|
|
5e83daa |
\
|
|
|
5e83daa |
See docs at http://packages.python.org/cmd2/
|
|
|
89b5dcc |
|
|
|
5e83daa |
%description %_description
|
|
|
89b5dcc |
|
|
|
89b5dcc |
%package -n python3-cmd2
|
|
|
999f0dd |
Summary: %{summary}
|
|
|
16d927b |
BuildRequires: python3-devel
|
|
|
16d927b |
BuildRequires: python3-setuptools
|
|
|
5685466 |
BuildRequires: python3-setuptools_scm
|
|
|
16d927b |
BuildRequires: dos2unix
|
|
|
89b5dcc |
|
|
|
16d927b |
Requires: /usr/bin/which
|
|
|
16d927b |
%{?python_provide:%python_provide python3-cmd2}
|
|
|
89b5dcc |
|
|
|
999f0dd |
%description -n python3-%{pypi_name} %_description
|
|
|
89b5dcc |
|
|
|
89b5dcc |
%prep
|
|
|
999f0dd |
%autosetup -n %{pypi_name}-%{version}
|
|
|
89b5dcc |
|
|
|
89b5dcc |
%build
|
|
|
16d927b |
%py3_build
|
|
|
89b5dcc |
|
|
|
89b5dcc |
%install
|
|
|
16d927b |
%py3_install
|
|
|
89b5dcc |
|
|
|
3f272fc |
%files -n python3-%{pypi_name}
|
|
|
7b88de0 |
%license LICENSE
|
|
|
4e83bb6 |
%doc CHANGELOG.md README.md docs
|
|
|
5685466 |
%{python3_sitelib}/cmd2
|
|
|
3f272fc |
%{python3_sitelib}/%{pypi_name}-%{version}*
|
|
|
89b5dcc |
|
|
|
89b5dcc |
%changelog
|
|
|
43df047 |
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.2-6
|
|
|
43df047 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
43df047 |
|
|
|
901add0 |
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.2-5
|
|
|
901add0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
901add0 |
|
|
|
0994dfa |
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.2-4
|
|
|
0994dfa |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
0994dfa |
|
|
|
9e30280 |
* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 2.4.2-3
|
|
|
9e30280 |
- Rebuilt for Python 3.12
|
|
|
9e30280 |
|
|
|
03cf547 |
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.2-2
|
|
|
03cf547 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
03cf547 |
|
|
|
840877a |
* Sun Sep 18 2022 Kevin Fenzi <kevin@scrye.com> - 2.4.2-1
|
|
|
840877a |
- Update 2.4.2. Fixes rhbz#2075345
|
|
|
840877a |
|
|
|
bdfa48c |
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.0-3
|
|
|
bdfa48c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
bdfa48c |
|
|
|
a7ba9a7 |
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 2.4.0-2
|
|
|
a7ba9a7 |
- Rebuilt for Python 3.11
|
|
|
a7ba9a7 |
|
|
|
ada8a8c |
* Thu Mar 03 2022 Fabian Affolter <mail@fabian-affolter.ch> - 2.4.0-1
|
|
|
ada8a8c |
- Update to latest upstream release 2.4.0 (closes rhbz#2057232)
|
|
|
ada8a8c |
|
|
|
c3f35e8 |
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.3-2
|
|
|
c3f35e8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
c3f35e8 |
|
|
|
341a065 |
* Sat Jan 08 2022 Kevin Fenzi <kevin@scrye.com> - 2.3.3-1
|
|
|
341a065 |
- Update to 2.3.2. Fixes rhbz#2027510
|
|
|
341a065 |
|
|
|
150ed04 |
* Sun Nov 28 2021 Kevin Fenzi <kevin@scrye.com> - 2.3.2-1
|
|
|
150ed04 |
- Update to 2.3.2. Fixes rhbz#2022524
|
|
|
150ed04 |
|
|
|
ca612e1 |
* Sat Sep 25 2021 Kevin Fenzi <kevin@scrye.com> - 2.2.0-1
|
|
|
ca612e1 |
- Update to 2.2.0. Fixes rhbz#2004224
|
|
|
ca612e1 |
|
|
|
c335a2a |
* Sun Aug 08 2021 Kevin Fenzi <kevin@scrye.com> - 2.1.2-1
|
|
|
c335a2a |
- Update to 2.1.2. Fixes rhbz#1971701
|
|
|
c335a2a |
|
|
|
bd2ece6 |
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.1-2
|
|
|
bd2ece6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
bd2ece6 |
|
|
|
0786956 |
* Sat Jun 19 2021 Kevin Fenzi <kevin@scrye.com> - 2.1.1-1
|
|
|
0786956 |
- Update to 2.1.1. Fixed rhbz#1971701
|
|
|
0786956 |
|
|
|
a5b4d19 |
* Mon Jun 07 2021 Python Maint <python-maint@redhat.com> - 2.0.1-2
|
|
|
a5b4d19 |
- Rebuilt for Python 3.10
|
|
|
a5b4d19 |
|
|
|
4e83bb6 |
* Mon Jun 07 2021 Ken Dreyer <kdreyer@redhat.com> - 2.0.1-1
|
|
|
4e83bb6 |
- Update to latest upstream release
|
|
|
4e83bb6 |
- Remove explicit Requires
|
|
|
4e83bb6 |
|
|
|
1b69191 |
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 1.4.0-3
|
|
|
1b69191 |
- Rebuilt for Python 3.10
|
|
|
1b69191 |
|
|
|
13f398f |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0-2
|
|
|
13f398f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
13f398f |
|
|
|
999f0dd |
* Fri Dec 11 2020 Fabian Affolter <mail@fabian-affolter.ch> - 1.4.0-1
|
|
|
999f0dd |
- Update to latest upstream release 1.4.0
|
|
|
999f0dd |
|
|
|
f47a1a6 |
* Thu Nov 19 2020 Joel Capitao <jcapitao@redhat.com> - 1.3.11-1
|
|
|
f47a1a6 |
- Update to 1.3.11.
|
|
|
f47a1a6 |
|
|
|
3f272fc |
* Sun Sep 27 2020 Kevin Fenzi <kevin@scrye.com> - 1.3.10-1
|
|
|
3f272fc |
- Update to 1.3.10. Fixes bug #1878431
|
|
|
3f272fc |
|
|
|
b6cde7f |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.16-5
|
|
|
b6cde7f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
b6cde7f |
|
|
|
d717c0a |
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 0.9.16-4
|
|
|
d717c0a |
- Rebuilt for Python 3.9
|
|
|
d717c0a |
|
|
|
30ed8a2 |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.16-3
|
|
|
30ed8a2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
30ed8a2 |
|
|
|
f2b0c4b |
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.9.16-2
|
|
|
f2b0c4b |
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
|
|
f2b0c4b |
|
|
|
5685466 |
* Sat Aug 24 2019 Kevin Fenzi <kevin@scrye.com> - 0.9.16-1
|
|
|
5685466 |
- Update to 0.9.16. Fixes bug #1732777
|
|
|
5685466 |
|
|
|
9b0a46c |
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.8.8-9
|
|
|
9b0a46c |
- Rebuilt for Python 3.8
|
|
|
9b0a46c |
|
|
|
b851a93 |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.8-8
|
|
|
b851a93 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
b851a93 |
|
|
|
cefa4d8 |
* Mon Feb 25 2019 Miro Hrončok <mhroncok@redhat.com> - 0.8.8-7
|
|
|
cefa4d8 |
- Subpackage python2-cmd2 has been removed
|
|
|
cefa4d8 |
See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
|
|
|
cefa4d8 |
|
|
|
2d2cc9b |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.8-6
|
|
|
2d2cc9b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
2d2cc9b |
|
|
|
13a6fa8 |
* Wed Jul 25 2018 Haïkel Guémar <hguemar@fedoraproject.org> - 0.8.8-5
|
|
|
13a6fa8 |
- More dependencies
|
|
|
13a6fa8 |
|
|
|
41a5757 |
* Wed Jul 25 2018 Haïkel Guémar <hguemar@fedoraproject.org> - 0.8.8-4
|
|
|
41a5757 |
- Add missing wcwidth dependency
|
|
|
41a5757 |
|
|
|
16d927b |
* Wed Jul 25 2018 Haïkel Guémar <hguemar@fedoraproject.org> - 0.8.8-3
|
|
|
16d927b |
- Modernize spec file
|
|
|
16d927b |
- Add missing pyperclip dependency (blocks RHBZ#1605632)
|
|
|
16d927b |
|
|
|
ebb8804 |
* Tue Jul 24 2018 Alfredo Moralejo <amoralej@redhat.com> - 0.8.8-2
|
|
|
ebb8804 |
- Added setuptools as BuildRequires.
|
|
|
ebb8804 |
|
|
|
7b88de0 |
* Mon Jul 23 2018 Kevin Fenzi <kevin@scrye.com> - 0.8.8-1
|
|
|
7b88de0 |
- Fix FTBFS bug #1605635
|
|
|
7b88de0 |
- Update to 0.8.8 - Fixes bug #1568598
|
|
|
7b88de0 |
|
|
|
4f32cd2 |
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.8-16
|
|
|
4f32cd2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
4f32cd2 |
|
|
|
78a359f |
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.6.8-15
|
|
|
78a359f |
- Rebuilt for Python 3.7
|
|
|
78a359f |
|
|
|
af4cd01 |
* Sun Feb 11 2018 Iryna Shcherbina <ishcherb@redhat.com> - 0.6.8-14
|
|
|
af4cd01 |
- Update Python 2 dependency declarations to new packaging standards
|
|
|
af4cd01 |
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
|
|
|
af4cd01 |
|
|
|
a6989b4 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.8-13
|
|
|
a6989b4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
a6989b4 |
|
|
|
5e83daa |
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.6.8-12
|
|
|
5e83daa |
- Python 2 binary package renamed to python2-cmd2
|
|
|
5e83daa |
See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
|
|
|
5e83daa |
|
|
|
87eb1de |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.8-11
|
|
|
87eb1de |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
87eb1de |
|
|
|
4e51526 |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.8-10
|
|
|
4e51526 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
4e51526 |
|
|
|
569c67b |
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 0.6.8-9
|
|
|
569c67b |
- Rebuild for Python 3.6
|
|
|
569c67b |
|
|
|
ac9bdee |
* Mon Oct 31 2016 Mike Burns <mburns@redhat.com> - 0.6.8-8
|
|
|
ac9bdee |
- add Requires: which (bz#1390360)
|
|
|
ac9bdee |
|
|
|
efce750 |
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.8-7
|
|
|
efce750 |
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
|
efce750 |
|
|
|
4cf43ae |
* Fri Feb 19 2016 Ralph Bean <rbean@redhat.com> - 0.6.8-6
|
|
|
4cf43ae |
- Apply patch for compat on python-3.5.
|
|
|
4cf43ae |
|
|
|
3aee903 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.8-5
|
|
|
3aee903 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
3aee903 |
|
|
|
3e7d356 |
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.8-4
|
|
|
3e7d356 |
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
|
|
|
3e7d356 |
|
|
|
5699053 |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.8-3
|
|
|
5699053 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
5699053 |
|
|
|
6d30083 |
* Wed Apr 29 2015 Ralph Bean <rbean@redhat.com> - 0.6.8-2
|
|
|
6d30083 |
- Fix python3 subpackage by removing double-run of 2to3 (it's not idempotent!).
|
|
|
6d30083 |
|
|
|
1dae6b5 |
* Wed Apr 29 2015 Ralph Bean <rbean@redhat.com> - 0.6.8-1
|
|
|
1dae6b5 |
- new version
|
|
|
1dae6b5 |
|
|
|
d54fc6a |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.7-5
|
|
|
d54fc6a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
d54fc6a |
|
|
|
74faeba |
* Wed May 14 2014 Bohuslav Kabrda <bkabrda@redhat.com> - 0.6.7-4
|
|
|
74faeba |
- Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4
|
|
|
74faeba |
|
|
|
483b947 |
* Wed Dec 11 2013 Ralph Bean <rbean@redhat.com> - 0.6.7-3
|
|
|
483b947 |
- Versioned requirement on pyparsing. (#1040339)
|
|
|
483b947 |
|
|
|
df60d0a |
* Thu Nov 14 2013 Ralph Bean <rbean@redhat.com> - 0.6.7-2
|
|
|
df60d0a |
- Bump release.
|
|
|
df60d0a |
|
|
|
45215a8 |
* Thu Nov 14 2013 Ralph Bean <rbean@redhat.com> - 0.6.7-1
|
|
|
45215a8 |
- Latest upstream.
|
|
|
45215a8 |
- Drop patch which has been upstreamed.
|
|
|
45215a8 |
- Modernized python3 macro def.
|
|
|
45215a8 |
|
|
|
aa39f52 |
* Tue Jul 30 2013 Pádraig Brady <pbrady@redhat.com> - 0.6.4-7
|
|
|
aa39f52 |
- Suppress warnings about missing editors when $EDITOR not set
|
|
|
aa39f52 |
|
|
|
93fccf1 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.4-5
|
|
|
93fccf1 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
93fccf1 |
|
|
|
52d3c27 |
* Fri Aug 03 2012 David Malcolm <dmalcolm@redhat.com> - 0.6.4-4
|
|
|
52d3c27 |
- rebuild for https://fedoraproject.org/wiki/Features/Python_3.3
|
|
|
52d3c27 |
|
|
|
fc6a7bf |
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.4-3
|
|
|
fc6a7bf |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
fc6a7bf |
|
|
|
89b5dcc |
* Thu Jul 05 2012 Ralph Bean <rbean@redhat.com> - 0.6.4-2
|
|
|
89b5dcc |
- Corrected spelling error in description.
|
|
|
89b5dcc |
|
|
|
89b5dcc |
* Thu Jun 28 2012 Ralph Bean <rbean@redhat.com> - 0.6.4-1
|
|
|
89b5dcc |
- initial package for Fedora
|