c9c1fc5
# Enable Python dependency generation
c9c1fc5
%{?python_enable_dependency_generator}
049fe61
049fe61
%global upstream_name pudb
049fe61
%global module_name pudb
049fe61
049fe61
Name:          python-pudb
c9c1fc5
Version:       2017.1.4
f264e82
Release:       11%{?dist}
049fe61
Summary:       A full-screen, console-based Python debugger
049fe61
License:       MIT
049fe61
URL:           http://mathema.tician.de/software/pudb
c9c1fc5
Source0:       https://files.pythonhosted.org/packages/source/p/%{upstream_name}/%{upstream_name}-%{version}.tar.gz
049fe61
049fe61
BuildArch:     noarch
c9c1fc5
BuildRequires: python3-devel
c9c1fc5
BuildRequires: python3-setuptools
c30dc3a
c30dc3a
%global _description\
c30dc3a
PuDB is a full-screen, console-based visual debugger for Python.\
c30dc3a
\
c30dc3a
Its goal is to provide all the niceties of modern GUI-based debuggers in a more\
c30dc3a
lightweight and keyboard-friendly package. PuDB allows you to debug code right\
c30dc3a
where you write and test it--in a terminal. If you've worked with the excellent\
c30dc3a
(but nowadays ancient) DOS-based Turbo Pascal or C tools, PuDB's UI might look\
c30dc3a
familiar.
c30dc3a
c30dc3a
%description %_description
c30dc3a
049fe61
%package -n python3-%{upstream_name}
049fe61
Summary:       A full-screen, console-based Python debugger
c9c1fc5
%{?python_provide:%python_provide python3-%{upstream_name}}
049fe61
c9c1fc5
%description -n python3-%{upstream_name} %_description
049fe61
049fe61
049fe61
%prep
049fe61
%setup -q -n %{upstream_name}-%{version}
049fe61
rm -rf %{module_name}.egg-info
049fe61
049fe61
sed -i '1{\@^#! /usr/bin/env python@d}' pudb/debugger.py
049fe61
049fe61
%build
c9c1fc5
%py3_build
049fe61
049fe61
%install
c9c1fc5
%py3_install
049fe61
049fe61
%files -n python3-%{upstream_name}
c9c1fc5
%doc README.rst
c9c1fc5
%license LICENSE
049fe61
%{python3_sitelib}/%{module_name}
049fe61
%{python3_sitelib}/%{module_name}*.egg-info
049fe61
%{_bindir}/pudb3
049fe61
049fe61
%changelog
f264e82
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2017.1.4-11
f264e82
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
f264e82
9f7692f
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 2017.1.4-10
9f7692f
- Rebuilt for Python 3.9
9f7692f
f35225a
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2017.1.4-9
f35225a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
f35225a
7ad4372
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 2017.1.4-8
7ad4372
- Rebuilt for Python 3.8.0rc1 (#1748018)
7ad4372
06d44e2
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 2017.1.4-7
06d44e2
- Rebuilt for Python 3.8
06d44e2
5a289d9
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2017.1.4-6
5a289d9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
5a289d9
9b9de90
* Thu Jun 27 2019 Miro Hrončok <mhroncok@redhat.com> - 2017.1.4-5
9b9de90
- Removed python2-pudb (#1701957)
9b9de90
e791d35
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2017.1.4-4
e791d35
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
e791d35
a5f4fe1
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2017.1.4-3
a5f4fe1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
a5f4fe1
df1429c
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 2017.1.4-2
df1429c
- Rebuilt for Python 3.7
df1429c
c9c1fc5
* Mon Mar 19 2018 Neal Gompa <ngompa13@gmail.com> - 2017.1.4-1
c9c1fc5
- Rebase to pudb-2017.1.4
c9c1fc5
- Clean up spec
c9c1fc5
acf2d74
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2015.3-10
acf2d74
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
acf2d74
4e8d347
* Sat Jan 27 2018 Iryna Shcherbina <ishcherb@redhat.com> - 2015.3-9
4e8d347
- Update Python 2 dependency declarations to new packaging standards
4e8d347
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
4e8d347
c30dc3a
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 2015.3-8
c30dc3a
- Python 2 binary package renamed to python2-pudb
c30dc3a
  See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
c30dc3a
bf3157e
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2015.3-7
bf3157e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
bf3157e
76d9517
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2015.3-6
76d9517
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
76d9517
1e0d2e8
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 2015.3-5
1e0d2e8
- Rebuild for Python 3.6
1e0d2e8
b5af84e
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2015.3-4
b5af84e
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
b5af84e
9312b38
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2015.3-3
9312b38
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
9312b38
f6efaa4
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2015.3-2
f6efaa4
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
f6efaa4
3985f48
* Wed Oct 14 2015 Dhiru Kholia <dhiru@openwall.com> - 2015.3-1
3985f48
- update to pudb-2015.3
3985f48
a397346
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2014.1-4
a397346
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
a397346
925df8a
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2014.1-3
925df8a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
925df8a
9cde55d
* Wed May 28 2014 Kalev Lember <kalevlember@gmail.com> - 2014.1-2
9cde55d
- Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4
9cde55d
4c94fd2
* Sat Mar 15 2014 Dhiru Kholia <dhiru@openwall.com> - 2014.1-1
4c94fd2
- update to pudb-2014.1
4c94fd2
Dhiru Kholia 3cd7652
* Mon Dec 09 2013 Dhiru Kholia <dhiru@openwall.com> - 2013.5.1-1
Dhiru Kholia 3cd7652
- update to pudb-2013.5.1
Dhiru Kholia 3cd7652
d2b92bd
* Wed Nov 13 2013 Dhiru Kholia <dhiru@openwall.com> - 2013.4-1
d2b92bd
- update to pudb-2013.4
d2b92bd
049fe61
* Tue Sep 10 2013 Dhiru Kholia <dhiru@openwall.com> - 2013.3.6-2
049fe61
- replaced {python_sitelib} with {python2_sitelib}
049fe61
049fe61
* Fri Sep 06 2013 Dhiru Kholia <dhiru@openwall.com> - 2013.3.6-1
049fe61
- update to upstream release 2013.3.6
049fe61
049fe61
* Fri Sep 06 2013 Dhiru Kholia <dhiru@openwall.com> - 2013.3.5-5
049fe61
- replaced {__python} with {__python2}
049fe61
049fe61
* Thu Sep 05 2013 Dhiru Kholia <dhiru@openwall.com> - 2013.3.5-4
049fe61
- make layout of install section consistent with that of build section
049fe61
049fe61
* Thu Sep 05 2013 Dhiru Kholia <dhiru@openwall.com> - 2013.3.5-3
049fe61
- removed the unnecessary attr directive
049fe61
- fixed the location of the sed command invocation
049fe61
049fe61
* Thu Sep 05 2013 Dhiru Kholia <dhiru@openwall.com> - 2013.3.5-2
049fe61
- implemented initial fixes suggested in BZ #1004257
049fe61
- removed unused EL5 support, removed invalid BuildRoot, fixed BuildRequires
049fe61
049fe61
* Wed Sep 04 2013 Dhiru Kholia <dhiru@openwall.com> - 2013.3.5-1
049fe61
- initial version