89b10b8
%global modname q
89b10b8
89b10b8
Name:           python-%{modname}
89b10b8
Version:        2.6
a5c34bf
Release:        22%{?dist}
a966c1d
Summary:        Quick and dirty python debugging output
a966c1d
a966c1d
License:        ASL 2.0
a966c1d
URL:            https://pypi.python.org/pypi/q
89b10b8
Source0:        https://files.pythonhosted.org/packages/source/%(n=%{modname}; echo ${n:0:1})/%{modname}/%{modname}-%{version}.tar.gz
89b10b8
# https://github.com/zestyping/q/pull/28
89b10b8
Patch0001:      0001-Alternate-pprint-for-values.patch
a966c1d
89b10b8
BuildArch:      noarch
a966c1d
89b10b8
%global _description \
89b10b8
If you have ever been frustrated trying to debug with print because a web\
89b10b8
application or a unittesting framework is swallowing your debugging output,\
89b10b8
q will make you jump for joy.\
89b10b8
\
89b10b8
  import q\
89b10b8
  variable = 'Hmmm... something happened here'\
8bf69cc
  q.q(variable)\
89b10b8
\
a966c1d
cat /tmp/q
a966c1d
89b10b8
%description %{_description}
f57736d
f57736d
89b10b8
%package -n python3-%{modname}
89b10b8
Summary:        %{summary}
89b10b8
%{?python_provide:%python_provide python3-%{modname}}
89b10b8
BuildRequires:  python3-devel
7d0aed2
BuildRequires:  python3-setuptools
a966c1d
89b10b8
%description -n python3-%{modname} %{_description}
a966c1d
89b10b8
Python 3 version.
244ed66
89b10b8
%prep
89b10b8
%autosetup -n %{modname}-%{version} -p1
a966c1d
a966c1d
%build
89b10b8
%py3_build
a966c1d
a966c1d
%install
89b10b8
%py3_install
a966c1d
89b10b8
%check
89b10b8
%{__python3} test/test_*.py -v
a966c1d
89b10b8
%files -n python3-%{modname}
f57736d
%doc README.md
7d0aed2
%{python3_sitelib}/%{modname}-*.egg-info/
89b10b8
%{python3_sitelib}/%{modname}.py
89b10b8
%{python3_sitelib}/__pycache__/%{modname}.*
a966c1d
a966c1d
%changelog
a5c34bf
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.6-22
a5c34bf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
a5c34bf
1b72aec
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.6-21
1b72aec
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
1b72aec
f84b4cc
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 2.6-20
f84b4cc
- Rebuilt for Python 3.10
f84b4cc
e9898a9
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.6-19
e9898a9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
e9898a9
6510892
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.6-18
6510892
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
6510892
8f5f6aa
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 2.6-17
8f5f6aa
- Rebuilt for Python 3.9
8f5f6aa
8f8bc3d
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.6-16
8f8bc3d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
8f8bc3d
7d0aed2
* Fri Nov 15 2019 Miro Hrončok <mhroncok@redhat.com> - 2.6-15
7d0aed2
- Subpackage python2-q has been removed
7d0aed2
  See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
7d0aed2
dad9859
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 2.6-14
dad9859
- Rebuilt for Python 3.8.0rc1 (#1748018)
dad9859
9274f87
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 2.6-13
9274f87
- Rebuilt for Python 3.8
9274f87
00e0713
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.6-12
00e0713
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
00e0713
00db6f5
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.6-11
00db6f5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
00db6f5
124685d
* Tue Sep 18 2018 Toshio Kuratomi <toshio@fedoraproject.org> - - 2.6-10
124685d
- Deal with rpm's inability to replace directories with files
124685d
cafc16e
* Tue Sep 18 2018 Toshio Kuratomi <toshio@fedoraproject.org> - - 2.6-9
cafc16e
- Remove the setuptools dep as it doesn't add anything to the package and this way
cafc16e
  we wouldn't have to keep setuptools running on the python2 stack.
cafc16e
8bf69cc
* Tue Sep 18 2018 Toshio Kuratomi <toshio@fedoraproject.org> - - 2.6-8
8bf69cc
- Conditionalize the python2 and python3 builds.  This will allow the Python2
8bf69cc
  build to be automatically omitted once Python2 is removed from Fedora and the
8bf69cc
  spec file to be shared with EPEL builds.
8bf69cc
719af0b
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.6-7
719af0b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
719af0b
316adb8
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 2.6-6
316adb8
- Rebuilt for Python 3.7
316adb8
1f46376
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.6-5
1f46376
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
1f46376
03964b6
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.6-4
03964b6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
03964b6
f803b0f
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.6-3
f803b0f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
f803b0f
1a95592
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 2.6-2
1a95592
- Rebuild for Python 3.6
1a95592
89b10b8
* Thu Nov 17 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 2.6-1
89b10b8
- Update to 2.6
89b10b8
- Modernize spec
89b10b8
- Run test suite
89b10b8
bf5ca56
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5-6
bf5ca56
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
bf5ca56
5816eed
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.5-5
5816eed
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
5816eed
08222e0
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5-4
08222e0
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
08222e0
818cf5c
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5-3
818cf5c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
818cf5c
ace91d3
* Fri Dec 12 2014 Toshio Kuratomi <toshio@fedoraproject.org> - 2.5-2
ace91d3
- Add prettyprint of values
ace91d3
- Make the tracing decorator more transparent
ace91d3
aa3b7ad
* Fri Dec  5 2014 Toshio Kuratomi <toshio@fedoraproject.org> - 2.5-1
aa3b7ad
- New upstream version
aa3b7ad
6275bde
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4-4
6275bde
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
6275bde
1ef9de1
* Wed May 28 2014 Kalev Lember <kalevlember@gmail.com> - 2.4-3
1ef9de1
- Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4
1ef9de1
aeb0bb1
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4-2
aeb0bb1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
aeb0bb1
f57736d
* Wed May 22 2013 Toshio Kuratomi <toshio@fedoraproject.org> - 2.4-1
f57736d
- New upstream with some enhancements from severl people.
f57736d
- Build with python3 support.
f57736d
7077c17
* Thu Apr 11 2013 Toshio Kuratomi <toshio@fedoraproject.org> - 2.3-2
008c7ee
- New upstream release.
008c7ee
- README file from upstream's SCM
008c7ee
- Note patches we have for upstream
008c7ee
a966c1d
* Tue Mar 19 2013 Toshio Kuratomi <toshio@fedoraproject.org> - 1.1-1
a966c1d
- Initial Fedora build
a966c1d
a966c1d