25056f9
Name:          bpython
25056f9
Summary:       Fancy curses interface to the Python interactive interpreter
08d2ba4
Version:       0.21
08d2ba4
Release:       1%{?dist}
bff1d72
URL:           http://www.bpython-interpreter.org/
25056f9
License:       MIT
dd6b628
Source0:       https://github.com/bpython/bpython/archive/%{version}-release.tar.gz
dd6b628
Patch01:       bpython-0.19-path.patch
25056f9
BuildArch:     noarch
ac1ea40
BuildRequires: desktop-file-utils
870b452
BuildRequires: python3-devel
870b452
BuildRequires: python3-setuptools
cd0fc6b
BuildRequires: python3-sphinx
25056f9
%description
25056f9
bpython is a fancy interface to the Python interpreter for Unix-like
25056f9
operating systems. It has the following features:
25056f9
 o in-line syntax highlighting
25056f9
 o readline-like autocomplete with suggestions displayed as you type
25056f9
 o expected parameter list for any Python function.
25056f9
 o eewind function to pop the last line of code from memory and
25056f9
   re-evaluate.
25056f9
 o send the code you've entered off to a pastebin and display the
f27473a
   pastebin URL for copying, etc.
f27473a
 o save the code you've entered to a file
f27473a
 o auto indentation
f27473a
4dda57b
%package -n    python3-bpython
cd0fc6b
Summary:       Fancy curses interface to the Python 3 interactive interpreter
09bdefd
Provides:      bpython3 = %{version}-%{release}
cd0fc6b
Provides:      bpython = %{version}-%{release}
cd0fc6b
Obsoletes:     bpython < 0.17.1-6
cd0fc6b
Obsoletes:     bpython-gtk < 0.14
cd0fc6b
%{?python_provide:%python_provide python3-bpython}
08d2ba4
Requires:      python3-curtsies >= 0.3.5
ee99ee0
Requires:      python3-greenlet
ee99ee0
Requires:      python3-pygments
ee99ee0
Requires:      python3-requests > 1.2.3
ee99ee0
Requires:      python3-six >= 1.5
cd0fc6b
Recommends:    python3dist(jedi)
cd0fc6b
Recommends:    python3dist(watchdog)
870b452
%description -n python3-bpython
870b452
bpython is a fancy interface to the Python interpreter for Unix-like
870b452
operating systems. It has the following features:
870b452
 o in-line syntax highlighting
870b452
 o readline-like autocomplete with suggestions displayed as you type
870b452
 o expected parameter list for any Python function.
870b452
 o eewind function to pop the last line of code from memory and
870b452
   re-evaluate.
870b452
 o send the code you've entered off to a pastebin and display the
f27473a
   pastebin URL for copying, etc.
870b452
 o save the code you've entered to a file
870b452
 o auto indentation
870b452
cd0fc6b
This is the Python 3 build of bpython.
cd0fc6b
cd0fc6b
%package -n    python3-bpython-urwid
cd0fc6b
Summary:       Urwid interface to the Python 3 interactive interpreter
cd0fc6b
%{?python_provide:%python_provide python3-bpython-urwid}
cd0fc6b
Requires:      python3-bpython = %{version}-%{release}
cd0fc6b
Requires:      python3dist(urwid)
cd0fc6b
Requires:      python3dist(twisted)
cd0fc6b
cd0fc6b
%description -n python3-bpython-urwid
cd0fc6b
bpython is a fancy interface to the Python interpreter for Unix-like
cd0fc6b
operating systems. It has the following features:
cd0fc6b
 o in-line syntax highlighting
cd0fc6b
 o readline-like autocomplete with suggestions displayed as you type
cd0fc6b
 o expected parameter list for any Python function.
cd0fc6b
 o eewind function to pop the last line of code from memory and
cd0fc6b
   re-evaluate.
cd0fc6b
 o send the code you've entered off to a pastebin and display the
cd0fc6b
   pastebin URL for copying, etc.
cd0fc6b
 o save the code you've entered to a file
cd0fc6b
 o auto indentation
cd0fc6b
25056f9
%prep
dd6b628
%setup -q -n %{name}-%{version}-release
ee99ee0
%patch01 -p1
870b452
25056f9
%build
bc25e41
%{py3_build}
870b452
25056f9
%install
bc25e41
%{py3_install}
cd0fc6b
# backwards compatibility links python3
cd0fc6b
ln -s bpython %{buildroot}/%{_bindir}/bpython3
cd0fc6b
ln -s bpython-curses %{buildroot}/%{_bindir}/bpython3-curses
cd0fc6b
ln -s bpdb %{buildroot}%{_bindir}/bpdb3
cd0fc6b
ln -s bpython %{buildroot}%{_bindir}/python3-bpython
cd0fc6b
cd0fc6b
%files -n python3-bpython
bc25e41
%license LICENSE
08d2ba4
%doc AUTHORS.rst CHANGELOG.rst README.rst
08d2ba4
%doc theme/light.theme theme/sample.theme theme/windows.theme
c9a3437
%{_bindir}/bpdb
1a583fd
%{_bindir}/bpython
1a583fd
%{_bindir}/bpython-curses
cd0fc6b
%{_bindir}/bpdb3
cd0fc6b
%{_bindir}/bpython3
cd0fc6b
%{_bindir}/bpython3-curses
cd0fc6b
%{_bindir}/python3-bpython
cd0fc6b
%{python3_sitelib}/bpython*/
cd0fc6b
%{python3_sitelib}/bpdb/
1a583fd
%{_mandir}/man1/bpython.1*
1a583fd
%{_mandir}/man5/bpython-config.5*
1a583fd
%{_datadir}/pixmaps/bpython.png
ee99ee0
%{_datadir}/appdata/org.bpython-interpreter.bpython.appdata.xml
ee99ee0
%{_datadir}/applications/org.bpython-interpreter.bpython.desktop
f27473a
cd0fc6b
%files -n python3-bpython-urwid
cd0fc6b
%{_bindir}/bpython-urwid
870b452
25056f9
%changelog
08d2ba4
* Sat Apr 03 2021 Terje Rosten <terje.rosten@ntnu.no> - 0.21-1
08d2ba4
- 0.21
08d2ba4
24eede3
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.20.1-3
24eede3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
24eede3
0d7710f
* Sun Jan 24 2021 Terje Rosten <terje.rosten@ntnu.no> - 0.20.1-2
0d7710f
- Backport upstream patch to fix six issue (rhbz#1914468)
0d7710f
9a7eff7
* Tue Jan 19 2021 Terje Rosten <terje.rosten@ntnu.no> - 0.20.1-1
9a7eff7
- 0.20.1
9a7eff7
0969da3
* Tue Oct 13 2020 Terje Rosten <terje.rosten@ntnu.no> - 0.20-1
0969da3
- 0.20
0969da3
5587531
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.19-3
5587531
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
5587531
2e0000e
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 0.19-2
2e0000e
- Rebuilt for Python 3.9
2e0000e
dd6b628
* Sat Apr 18 2020 Terje Rosten <terje.rosten@ntnu.no> - 0.19-1
dd6b628
- 0.19
dd6b628
dc710dd
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.18-5
dc710dd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
dc710dd
118ba3d
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.18-4
118ba3d
- Rebuilt for Python 3.8.0rc1 (#1748018)
118ba3d
8612930
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.18-3
8612930
- Rebuilt for Python 3.8
8612930
4fcd4ff
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.18-2
4fcd4ff
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
4fcd4ff
ee99ee0
* Tue May 14 2019 Terje Rosten <terje.rosten@ntnu.no> - 0.18-1
ee99ee0
- Undo breakage in reqs from previous commit
ee99ee0
- 0.18
ee99ee0
cd0fc6b
* Fri Mar 08 2019 Miro Hrončok <mhroncok@redhat.com> - 0.17.1-6
cd0fc6b
- Drop Python 2 bpython
cd0fc6b
- Add Python 3 bpython-urwid
cd0fc6b
fb67cee
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.17.1-5
fb67cee
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
fb67cee
cf17aee
* Sat Jul 14 2018 Terje Rosten <terje.rosten@ntnu.no> - 0.17.1-4
cf17aee
- Use correct python macro
cf17aee
a4f4269
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.17.1-3
a4f4269
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
a4f4269
e6e044d
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.17.1-2
e6e044d
- Rebuilt for Python 3.7
e6e044d
560fe80
* Tue Feb 13 2018 Terje Rosten <terje.rosten@ntnu.no> - 0.17.1-1
560fe80
- 0.17.1
560fe80
62a31fc
* Tue Feb 06 2018 Iryna Shcherbina <ishcherb@redhat.com> - 0.17-2
62a31fc
- Update Python 2 dependency declarations to new packaging standards
62a31fc
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
62a31fc
683f2ca
* Fri Jul 28 2017 Terje Rosten <terje.rosten@ntnu.no> - 0.17-1
683f2ca
- 0.17
683f2ca
d9923b6
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.16-3
d9923b6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
d9923b6
b6e6eb6
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.16-2
b6e6eb6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
b6e6eb6
181702f
* Wed Jan 04 2017 Terje Rosten <terje.rosten@ntnu.no> - 0.16-1
181702f
- 0.16
181702f
8bb1172
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 0.15-4
8bb1172
- Rebuild for Python 3.6
8bb1172
684ff6f
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.15-3
684ff6f
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
684ff6f
cf4ff19
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.15-2
cf4ff19
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
cf4ff19
bc25e41
* Sun Jan 17 2016 Terje Rosten <terje.rosten@ntnu.no> - 0.15-1
bc25e41
- 0.15
bc25e41
e0de232
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.14.2-3
e0de232
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
e0de232
0e11f92
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.14.2-2
0e11f92
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
0e11f92
c9a3437
* Tue Jun 02 2015 Terje Rosten <terje.rosten@ntnu.no> - 0.14.2-1
c9a3437
- 0.14.2
c9a3437
1a583fd
* Thu Mar 26 2015 Terje Rosten <terje.rosten@ntnu.no> - 0.14.1-1
1a583fd
- 0.14.1
1a583fd
- gtk gone upstream, remove sub package and add obsolete
1a583fd
- appdata, desktop file and png upstream
1a583fd
- new deps
1a583fd
- curtsies now default
1a583fd
Richard Hughes 439969c
* Thu Mar 26 2015 Richard Hughes <rhughes@redhat.com> - 0.13.2-2
Richard Hughes 439969c
- Add an AppData file for the software center
Richard Hughes 439969c
09bdefd
* Mon Jan 12 2015 Terje Rosten <terje.rosten@ntnu.no> - 0.13.2-1
09bdefd
- 0.13.2
09bdefd
- Swap bpython3 symlinks
09bdefd
- Add bpython3 provide
09bdefd
- Python requests package required
09bdefd
ec7fd91
* Sun Jan 11 2015 Terje Rosten <terje.rosten@ntnu.no> - 0.13.1-3
ec7fd91
- Add bpython3 symlink
ec7fd91
f27473a
* Sat Jan 10 2015 Terje Rosten <terje.rosten@ntnu.no> - 0.13.1-2
f27473a
- Move bpython-gtk to subpackage (bz #1178996)
f27473a
74a1e4e
* Mon Aug 11 2014 Terje Rosten <terje.rosten@ntnu.no> - 0.13.1-1
74a1e4e
- 0.13.1
74a1e4e
9806df0
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.12-6
9806df0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
9806df0
195a865
* Tue May 27 2014 Kalev Lember <kalevlember@gmail.com> - 0.12-5
195a865
- Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4
195a865
4dda57b
* Mon Nov 18 2013 Terje Rosten <terje.rosten@ntnu.no> - 0.12-4
4dda57b
- Add patch to fix resize crash (bz #667934)
4dda57b
206c347
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.12-3
206c347
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
206c347
10fb45a
* Wed Mar 06 2013 Terje Rosten <terje.rosten@ntnu.no> - 0.12-2
10fb45a
- Add patch to fix import crash (bz #823662)
10fb45a
0bffbb0
* Wed Jan 30 2013 Terje Rosten <terje.rosten@ntnu.no> - 0.12-1
0bffbb0
- 0.12
0bffbb0
fa04080
* Sat Aug 04 2012 David Malcolm <dmalcolm@redhat.com> - 0.11-4
fa04080
- rebuild for https://fedoraproject.org/wiki/Features/Python_3.3
fa04080
71fff1e
* Fri Aug  3 2012 David Malcolm <dmalcolm@redhat.com> - 0.11-3
71fff1e
- remove rhel logic from with_python3 conditional
71fff1e
00c3287
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11-2
00c3287
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
00c3287
b520165
* Mon May 07 2012 Terje Rosten <terje.rosten@ntnu.no> - 0.11-1
b520165
- 0.11
b520165
c4acc2b
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.1-3
c4acc2b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
c4acc2b
ac1ea40
* Mon Oct 17 2011 Terje Rosten <terje.rosten@ntnu.no> - 0.10.1-2
ac1ea40
- Add python-urwid to buildreq
ac1ea40
695f06d
* Mon Oct 17 2011 Terje Rosten <terje.rosten@ntnu.no> - 0.10.1-1
695f06d
- 0.10.1
695f06d
b56f2b9
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.7.1-2
b56f2b9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
b56f2b9
695f06d
* Thu Sep 02 2010 Terje Rosten <terje.rosten@ntnu.no> - 0.9.7.1-1
176d1db
- 0.9.7.1
176d1db
64431f3
* Wed Aug 25 2010 Thomas Spura <tomspur@fedoraproject.org> - 0.9.6.2-7
64431f3
- rebuild with python3.2
64431f3
  http://lists.fedoraproject.org/pipermail/devel/2010-August/141368.html
64431f3
dee2034
* Wed Jul 21 2010 David Malcolm <dmalcolm@redhat.com> - 0.9.6.2-6
dee2034
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
dee2034
43ebbdd
* Sun May 30 2010 Terje Rosten <terje.rosten@ntnu.no> - 0.9.6.2-5
43ebbdd
- Add patch to fix suspend
43ebbdd
870b452
* Sun May 09 2010 Terje Rosten <terje.rosten@ntnu.no> - 0.9.6.2-4
870b452
- bpython don't use pyparsing
870b452
870b452
* Fri May 07 2010 David Malcolm <dmalcolm@redhat.com> - 0.9.6.2-3
870b452
- Add python3 subpackage (bz #590107)
870b452
74a1e4e
* Fri Apr 09 2010 Terje Rosten <terje.rosten@ntnu.no> - 0.9.6.2-2
6b855b1
- Fix man page (bz #561800)
6b855b1
74a1e4e
* Fri Apr 09 2010 Terje Rosten <terje.rosten@ntnu.no> - 0.9.6.2-1
8af6d74
- 0.9.6.2
8af6d74
0465e2e
* Thu Nov 05 2009 Terje Rosten <terje.rosten@ntnu.no> - 0.9.5.2-1
0465e2e
- 0.9.5.2
0465e2e
bff1d72
* Fri Jul 31 2009 Terje Rosten <terje.rosten@ntnu.no> - 0.9.4-1
bff1d72
- 0.9.4
bff1d72
- Update urls
bff1d72
098b2d7
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.0-2
098b2d7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
098b2d7
ded77d5
* Mon May 18 2009 Terje Rosten <terje.rosten@ntnu.no> - 0.8.0-1
ded77d5
- 0.8.0
ded77d5
335c5fe
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.1-3
335c5fe
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
335c5fe
5025a1e
* Mon Jan  5 2009 Terje Rosten <terje.rosten@ntnu.no> - 0.7.1-2
5025a1e
- Add setuptools to buildreq
5025a1e
2240e37
* Mon Jan  5 2009 Terje Rosten <terje.rosten@ntnu.no> - 0.7.1-1
2240e37
- 0.7.1
2240e37
3c6a366
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 0.7.0-2
3c6a366
- Rebuild for Python 2.6
3c6a366
a972a90
* Mon  Sep 1 2008 Terje Rosten <terje.rosten@ntnu.no> - 0.7.0-1
a972a90
- 0.7.0
a972a90
8750690
* Tue Aug 12 2008 Terje Rosten <terje.rosten@ntnu.no> - 0.6.3-1
8750690
- 0.6.3
8750690
25056f9
* Mon May  5 2008 Terje Rosten <terje.rosten@ntnu.no> - 0.3.1-2
25056f9
- fix summary
25056f9
- remove desktop file and optflags
25056f9
25056f9
* Wed Apr 30 2008 Terje Rosten <terje.rosten@ntnu.no> - 0.3.1-1
25056f9
- 0.3.1
25056f9
- drop patch
25056f9
25056f9
* Sun Apr 27 2008 Terje Rosten <terje.rosten@ntnu.no> - 0.2.3-1
25056f9
- random fixes
25056f9
25056f9
* Sun Apr 27 2008 Pascal Bleser <guru@unixtech.be> 0.2.3
25056f9
- new package