726486d
%global pypi_name decorator
726486d
726486d
Name:           python-%{pypi_name}
4bbfa70
Version:        5.1.1
fd3efbd
Release:        4%{?dist}
fe56bac
Summary:        Module to simplify usage of decorators
fe56bac
fe56bac
License:        BSD
726486d
URL:            https://github.com/micheles/decorator
70fa96f
Source0:        %pypi_source decorator
a4139ea
fe56bac
BuildArch:      noarch
fe56bac
Orion Poplawski f05ffc9
BuildRequires:  python3-setuptools
726486d
BuildRequires:  python3-devel
a690bf0
fe56bac
%description
fe56bac
The aim of the decorator module is to simplify the usage of decorators for
fe56bac
the average programmer, and to popularize decorators usage giving examples
fe56bac
of useful decorators, such as memoize, tracing, redirecting_stdout, locked,
fe56bac
etc.  The core of this module is a decorator factory called decorator.
fe56bac
a690bf0
%package -n python3-decorator
a690bf0
Summary:        Module to simplify usage of decorators in python3
Orion Poplawski f05ffc9
%{?python_provide:%python_provide python3-decorator}
a690bf0
a690bf0
%description -n python3-decorator
a690bf0
The aim of the decorator module is to simplify the usage of decorators for
a690bf0
the average programmer, and to popularize decorators usage giving examples
a690bf0
of useful decorators, such as memoize, tracing, redirecting_stdout, locked,
a690bf0
etc.  The core of this module is a decorator factory called decorator.
a690bf0
fe56bac
%prep
a4139ea
%autosetup -p1 -n %{pypi_name}-%{version}
a690bf0
fe56bac
%build
726486d
%py3_build
a690bf0
fe56bac
%install
726486d
%py3_install
574a6cd
641d4cf
# Remove this when https://github.com/micheles/decorator/issues/32 is fixed.
641d4cf
find %{buildroot} -name SOURCES.txt~ -exec rm -f {} \;
fe56bac
fe56bac
%check
726486d
%{__python3} setup.py test
fe56bac
726486d
%files -n python3-%{pypi_name}
Michal Konečný 0696e98
%doc README.rst CHANGES.md
ea649af
%license LICENSE.txt
Orion Poplawski f05ffc9
%{python3_sitelib}/decorator.py
Orion Poplawski f05ffc9
%{python3_sitelib}/decorator-*.egg-info/
Orion Poplawski f05ffc9
%{python3_sitelib}/__pycache__/*
a690bf0
fe56bac
%changelog
fd3efbd
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 5.1.1-4
fd3efbd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
fd3efbd
1907058
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 5.1.1-3
1907058
- Rebuilt for Python 3.11
1907058
4175535
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 5.1.1-2
4175535
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
4175535
4bbfa70
* Sat Jan 08 2022 Kevin Fenzi <kevin@scrye.com> - 5.1.1-1
4bbfa70
- Update to 5.1.1. Fixes rhbz#2038092
4bbfa70
f627236
* Sat Sep 25 2021 Kevin Fenzi <kevin@scrye.com> - 5.1.0-1
f627236
- Update to 5.1.0. Fixes rhbz#2003327
f627236
9cdc8f6
* Tue Jul 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.9-3
9cdc8f6
- Second attempt - Rebuilt for
9cdc8f6
  https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
9cdc8f6
ea58fbc
* Wed Jun 02 2021 Python Maint <python-maint@redhat.com> - 5.0.9-2
ea58fbc
- Rebuilt for Python 3.10
ea58fbc
9a579bf
* Sat May 22 2021 Kevin Fenzi <kevin@scrye.com> - 5.0.9-1
9a579bf
- Update to 5.0.9. Fixes rhbz#1960812
9a579bf
32b644f
* Sat Apr 24 2021 Kevin Fenzi <kevin@scrye.com> - 5.0.7-1
32b644f
- Upgrade to 5.0.7. Fixes rhbz#1945827
32b644f
0e9df93
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 4.4.2-4
0e9df93
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
0e9df93
3f214dd
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.4.2-3
3f214dd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
3f214dd
06a84ae
* Fri May 22 2020 Miro Hrončok <mhroncok@redhat.com> - 4.4.2-2
06a84ae
- Rebuilt for Python 3.9
06a84ae
Michal Konečný 0696e98
* Fri Apr 03 2020 Michal Konečný <mkonecny@redhat.com> - 4.4.2-1
Michal Konečný 0696e98
- new version
Michal Konečný 0696e98
  Remove python39.patch no longer needed
Michal Konečný 0696e98
196f18f
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.4.0-6
196f18f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
196f18f
574a6cd
* Thu Jan 16 2020 Miro Hrončok <mhroncok@redhat.com> - 4.4.0-5
574a6cd
- Subpackage python2-decorator has been removed
574a6cd
  See https://fedoraproject.org/wiki/Changes/RetirePython2
574a6cd
7e65ae8
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 4.4.0-4
7e65ae8
- Rebuilt for Python 3.8.0rc1 (#1748018)
7e65ae8
37c88c0
* Thu Aug 15 2019 Miro Hrončok <mhroncok@redhat.com> - 4.4.0-3
37c88c0
- Rebuilt for Python 3.8
37c88c0
f0bb911
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.4.0-2
f0bb911
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
f0bb911
7316bd8
* Sat Jun 22 2019 Kevin Fenzi <kevin@scrye.com> - 4.4.0-1
7316bd8
- Update to 4.4.0. Fixes bug #1669189
7316bd8
ce5b88a
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.3.0-2
ce5b88a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
ce5b88a
70fa96f
* Wed Jul 25 2018 Pierre-Yves Chibon <pingou@pingoured.fr> - 4.3.0-1
70fa96f
- Update to 4.3.0
70fa96f
5423d4a
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.2.1-3
5423d4a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
5423d4a
e075f21
* Thu Jun 14 2018 Miro Hrončok <mhroncok@redhat.com> - 4.2.1-2
e075f21
- Rebuilt for Python 3.7
e075f21
aa2db69
* Wed Feb  7 2018 Haïkel Guémar <hguemar@fedoraproject.org> - 4.2.1-1
aa2db69
- Upstream 4.2.1
aa2db69
c5e1e37
* Tue Jan 16 2018 Iryna Shcherbina <ishcherb@redhat.com> - 4.1.2-2
c5e1e37
- Update Python 2 dependency declarations to new packaging standards
c5e1e37
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
c5e1e37
ec6ef29
* Sat Sep 16 2017 Kevin Fenzi <kevin@scrye.com> - 4.1.2-1
ec6ef29
- Update to 4.1.2. Fixes bug #1471373
ec6ef29
34cd8fe
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.11-3
34cd8fe
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
34cd8fe
e9e7a72
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.11-2
e9e7a72
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
e9e7a72
bcd2058
* Mon Jan 23 2017 Fabio Alessandro Locati <fale@fedoraproject.org> - 4.0.11-1
bcd2058
- Update to 4.0.11
bcd2058
641d4cf
* Thu Dec 29 2016 Kevin Fenzi <kevin@scrye.com> - 4.0.10-5
641d4cf
- Remove SOURCES.txt~ file. Fixes bug #1404634
641d4cf
51901d5
* Fri Dec 09 2016 Charalampos Stratakis <cstratak@redhat.com> - 4.0.10-4
51901d5
- Rebuild for Python 3.6
51901d5
bcd2058
* Mon Aug 29 2016 Fabio Alessandro Locati <fale@fedoraproject.org> - 4.0.10-3
726486d
- SPEC Cleanup
726486d
- Remove unused build requires
726486d
e0411a4
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.0.10-2
e0411a4
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
e0411a4
69e5824
* Tue Jun 07 2016 Kevin Fenzi <kevin@scrye.com> - 4.0.10-1
69e5824
- Update to 4.0.10. Fixes bug #1343523
69e5824
c7fd64d
* Mon Apr 04 2016 Ralph Bean <rbean@redhat.com> - 4.0.9-1
c7fd64d
- new version
c7fd64d
Orion Poplawski f05ffc9
* Tue Feb 2 2016 Orion Poplawski <orion@cora.nwra.com> - 4.0.6-2
Orion Poplawski f05ffc9
- Modernize spec
Orion Poplawski f05ffc9
- Fix python3 package file ownership
Orion Poplawski f05ffc9
- Run python3 tests
Orion Poplawski f05ffc9
5c97776
* Fri Dec 11 2015 Ralph Bean <rbean@redhat.com> - 4.0.6-1
5c97776
- new version
5c97776
Robert Kuska b7f5c59
* Wed Nov 04 2015 Robert Kuska <rkuska@redhat.com> - 4.0.4-2
Robert Kuska b7f5c59
- Rebuilt for Python3.5 rebuild
Robert Kuska b7f5c59
693ab6d
* Fri Sep 25 2015 Ralph Bean <rbean@redhat.com> - 4.0.4-1
693ab6d
- new version
693ab6d
ea649af
* Wed Sep 16 2015 Ralph Bean <rbean@redhat.com> - 4.0.2-1
ea649af
- new version
ea649af
7f1f8b0
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.4.2-2
7f1f8b0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
7f1f8b0
3295ffe
* Mon Mar 23 2015 Ralph Bean <rbean@redhat.com> - 3.4.2-1
3295ffe
- new version
da02699
- The documentation.py files are now gone from upstream.
3295ffe
6f28ad6
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.4.0-5
6f28ad6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
6f28ad6
d02de73
* Wed May 14 2014 Bohuslav Kabrda <bkabrda@redhat.com> - 3.4.0-4
d02de73
- Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4
d02de73
bebe1c3
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.4.0-3
bebe1c3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
bebe1c3
e225255
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.4.0-2
e225255
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
e225255
0810b9f
* Thu Oct 18 2012 Toshio Kuratomi <toshio@fedoraproject.org> - 3.4.0-1
0810b9f
- New upstream release
0810b9f
1a03c3a
* Sat Aug 04 2012 David Malcolm <dmalcolm@redhat.com> - 3.3.3-4
1a03c3a
- rebuild for https://fedoraproject.org/wiki/Features/Python_3.3
1a03c3a
406677a
* Fri Aug  3 2012 David Malcolm <dmalcolm@redhat.com> - 3.3.3-3
406677a
- remove rhel logic from with_python3 conditional
406677a
453f29b
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.3.3-2
453f29b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
453f29b
ecb7535
* Tue Apr 24 2012 Toshio Kuratomi <toshio@fedoraproject.org> - 3.3.3-1
ecb7535
- New upstream release
ecb7535
f73aa43
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.3.2-2
f73aa43
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
f73aa43
db0584c
* Fri Sep 2 2011 Toshio Kuratomi <toshio@fedoraproject.org> - 3.3.2-1
db0584c
- New upstream release
db0584c
91e920e
* Thu Apr 28 2011 Toshio Kuratomi <toshio@fedoraproject.org> - 3.3.1-1
91e920e
- Upstream update 3.3.1 that deprecates the .decorated attribute name in
91e920e
  favor of .__wrapped__
91e920e
eef62ac
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.3.0-2
eef62ac
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
eef62ac
2661f92
* Sat Jan 1 2011 Toshio Kuratomi <toshio@fedoraproject.org> - 3.3.0-1
2661f92
- Upstream update 3.3.0 that adds function annotation support for python3 code
2661f92
ae3068b
* Wed Dec 1 2010 Toshio Kuratomi <toshio@fedoraproject.org> - 3.2.1-1
ae3068b
- Upstream bugfix 3.2.1
ae3068b
- Enable unittests for python3
ae3068b
19e6906
* Mon Aug 23 2010 Toshio Kuratomi <toshio@fedoraproject.org> - 3.2.0-4
19e6906
- Rebuild for python-3.2.
19e6906
bfbe656
* Thu Jul 22 2010 David Malcolm <dmalcolm@redhat.com> - 3.2.0-3
bfbe656
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
bfbe656
c769395
* Wed Jul 7 2010 Toshio Kuratomi <toshio@fedoraproject.org> - 3.2.0-2
c769395
- Add documentation.py files to both subpackages (this contains a brief license
c769395
  assertion among other things).
da02699
0802ecf
* Wed Jun 30 2010 Toshio Kuratomi <toshio@fedoraproject.org> - 3.2.0-1
0802ecf
- Minor cleanups
0802ecf
- Upgrade to 3.2.0
a690bf0
- Add python3 subpackage
0802ecf
9dae86a
* Tue Oct 6 2009 Toshio Kuratomi <toshio@fedoraproject.org> - 3.1.2-2
9dae86a
- Really include the new source tarball
9dae86a
fcbdf71
* Tue Oct 6 2009 Toshio Kuratomi <toshio@fedoraproject.org> - 3.1.2-1
fcbdf71
- Update to upstream release 3.1.2
fcbdf71
ec530da
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.1-3
ec530da
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
ec530da
db851a1
* Sun May 31 2009 Luke Macken <lmacken@redhat.com> - 3.0.1-2
db851a1
- Only run the test suite on Fedora 11, which has Py2.6 and the multiprocessing
db851a1
  module.  We can disable this once the compat module is packaged for F10 and
db851a1
  below.
db851a1
5b1ba1d
* Thu May 21 2009 Toshio Kuratomi <toshio@fedoraproject.org> - 3.0.1-1
5b1ba1d
- Update to upstream release 3.0.1.
5b1ba1d
fe6acdc
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.2-2
fe6acdc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
fe6acdc
ecb4ee5
* Wed Jan 21 2009 Toshio Kuratomi <toshio@fedoraproject.org> - 2.3.2-1
ecb4ee5
- Update to 2.3.2
ecb4ee5
- Enable tests via nose
ecb4ee5
5b9455d
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 2.2.0-2
5b9455d
- Rebuild for Python 2.6