|
Carl George |
a8dae08 |
Name: ptpython
|
|
|
ee09e6c |
Version: 2.0.6
|
|
|
ee09e6c |
Release: 1%{?dist}
|
|
Carl George |
a8dae08 |
Summary: Python REPL build on top of prompt_toolkit
|
|
Carl George |
a8dae08 |
License: BSD
|
|
Carl George |
a8dae08 |
URL: https://github.com/jonathanslenders/ptpython
|
|
|
5fe2e30 |
Source0: %pypi_source
|
|
Carl George |
a8dae08 |
BuildArch: noarch
|
|
Carl George |
a8dae08 |
|
|
Carl George |
a8dae08 |
|
|
|
8be029e |
%global _description \
|
|
|
8be029e |
Ptpython is an advanced Python REPL built on top of the prompt_toolkit library.\
|
|
|
8be029e |
It features syntax highlighting, multiline editing (the up arrow works),\
|
|
|
8be029e |
autocompletion, mouse support, support for color schemes, support for bracketed\
|
|
|
8be029e |
paste, both Vi and Emacs key bindings, support for double width (Chinese)\
|
|
Carl George |
a8dae08 |
characters, and many other things.
|
|
Carl George |
a8dae08 |
|
|
Carl George |
a8dae08 |
|
|
|
8be029e |
%description %{_description}
|
|
|
8be029e |
|
|
|
8be029e |
|
|
Carl George |
a8dae08 |
%package -n ptpython3
|
|
Carl George |
a8dae08 |
Summary: %{summary}
|
|
Carl George |
a8dae08 |
BuildRequires: python3-devel
|
|
Carl George |
a8dae08 |
BuildRequires: python3-setuptools
|
|
Carl George |
a8dae08 |
Requires: python3-docopt
|
|
Carl George |
a8dae08 |
Requires: python3-jedi >= 0.9.0
|
|
|
5fe2e30 |
Requires: python3-prompt_toolkit >= 2.0.5
|
|
Carl George |
a8dae08 |
Requires: python3-pygments
|
|
Carl George |
a8dae08 |
Suggests: python3-ipython-console
|
|
Carl George |
a8dae08 |
Provides: python3-ptpython = %{version}-%{release}
|
|
Carl George |
a8dae08 |
%{?python_provide:%python_provide python3-ptpython}
|
|
Carl George |
a8dae08 |
|
|
Carl George |
a8dae08 |
|
|
|
8be029e |
%description -n ptpython3 %{_description}
|
|
Carl George |
a8dae08 |
|
|
Carl George |
a8dae08 |
|
|
Carl George |
a8dae08 |
%prep
|
|
|
5fe2e30 |
%autosetup
|
|
|
5fe2e30 |
rm -rf %{eggname}.egg-info
|
|
Carl George |
a8dae08 |
find -name \*.py | xargs sed -i -e '1 {/^#!\//d}'
|
|
Carl George |
a8dae08 |
|
|
Carl George |
a8dae08 |
|
|
Carl George |
a8dae08 |
%build
|
|
|
75c11bd |
%py3_build
|
|
Carl George |
a8dae08 |
|
|
Carl George |
a8dae08 |
|
|
Carl George |
a8dae08 |
%install
|
|
|
75c11bd |
%py3_install
|
|
Carl George |
a8dae08 |
|
|
Carl George |
a8dae08 |
|
|
Carl George |
a8dae08 |
%files -n ptpython3
|
|
Carl George |
a8dae08 |
%license LICENSE
|
|
Carl George |
a8dae08 |
%doc CHANGELOG README.rst
|
|
|
5fe2e30 |
%{python3_sitelib}/ptpython
|
|
|
5fe2e30 |
%{python3_sitelib}/ptpython-%{version}-py%{python3_version}.egg-info
|
|
|
75c11bd |
%{_bindir}/ptpython
|
|
Carl George |
a8dae08 |
%{_bindir}/ptpython3
|
|
Carl George |
a8dae08 |
%{_bindir}/ptpython%{python3_version}
|
|
|
75c11bd |
%{_bindir}/ptipython
|
|
Carl George |
a8dae08 |
%{_bindir}/ptipython3
|
|
Carl George |
a8dae08 |
%{_bindir}/ptipython%{python3_version}
|
|
Carl George |
a8dae08 |
|
|
Carl George |
a8dae08 |
|
|
Carl George |
a8dae08 |
%changelog
|
|
|
ee09e6c |
* Tue Mar 24 2020 Carl George <carl@george.computer> - 2.0.6-1
|
|
|
ee09e6c |
- Update to 2.0.6
|
|
|
ee09e6c |
|
|
|
d4200d0 |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.2-6
|
|
|
d4200d0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
d4200d0 |
|
|
|
4db8e97 |
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 2.0.2-5
|
|
|
4db8e97 |
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
|
|
4db8e97 |
|
|
|
d8b7c03 |
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 2.0.2-4
|
|
|
d8b7c03 |
- Rebuilt for Python 3.8
|
|
|
d8b7c03 |
|
|
|
13e5ef7 |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.2-3
|
|
|
13e5ef7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
13e5ef7 |
|
|
|
417cbc9 |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.2-2
|
|
|
417cbc9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
417cbc9 |
|
|
|
5fe2e30 |
* Tue Oct 02 2018 Carl George <carl@george.computer> - 2.0.2-1
|
|
|
5fe2e30 |
- Latest upstream
|
|
|
75c11bd |
- Drop ptpython2 subpackage
|
|
|
5fe2e30 |
|
|
|
090d03a |
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.41-8
|
|
|
090d03a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
090d03a |
|
|
|
4dd7fa8 |
* Tue Jun 19 2018 Carl George <carl@george.computer> - 0.41-7
|
|
|
4dd7fa8 |
- Add patch1 to fix Python 3.7 build (upstream #250)
|
|
|
4dd7fa8 |
|
|
|
8859773 |
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.41-6
|
|
|
8859773 |
- Rebuilt for Python 3.7
|
|
|
8859773 |
|
|
|
a3b3b71 |
* Wed Feb 21 2018 Iryna Shcherbina <ishcherb@redhat.com> - 0.41-5
|
|
|
a3b3b71 |
- Update Python 2 dependency declarations to new packaging standards
|
|
|
a3b3b71 |
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
|
|
|
a3b3b71 |
|
|
|
24f53a5 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.41-4
|
|
|
24f53a5 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
24f53a5 |
|
|
|
2074041 |
* Tue Nov 28 2017 Carl George <carl@george.computer> - 0.41-3
|
|
|
2074041 |
- Re-rebuild for F27
|
|
|
2074041 |
|
|
|
8fcb2dc |
* Mon Sep 25 2017 Carl George <carl@george.computer> - 0.41-2
|
|
|
8fcb2dc |
- Require python2-jedi
|
|
|
8fcb2dc |
|
|
|
3d3e2c5 |
* Thu Jul 27 2017 Carl George <carl@george.computer> - 0.41-1
|
|
|
3d3e2c5 |
- Latest upstream
|
|
|
3d3e2c5 |
|
|
|
7b6c52e |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.39-2
|
|
|
7b6c52e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
7b6c52e |
|
|
Carl George |
456fb9e |
* Tue May 02 2017 Carl George <carl.george@rackspace.com> - 0.39-1
|
|
Carl George |
456fb9e |
- Latest upstream
|
|
Carl George |
bfe1633 |
- Add patch0 to undo https://github.com/jonathanslenders/ptpython/commit/16e4e31
|
|
Carl George |
456fb9e |
|
|
Carl George |
a8dae08 |
* Sat Mar 18 2017 Carl George <carl.george@rackspace.com> - 0.36-1
|
|
Carl George |
a8dae08 |
- Initial package.
|