Blame SPECS/python-decorator.spec

5cc73f
%global pypi_name decorator
5cc73f
5cc73f
Name:           python-%{pypi_name}
5cc73f
Version:        4.4.2
5cc73f
Release:        6%{?dist}
5cc73f
Summary:        Module to simplify usage of decorators
5cc73f
5cc73f
License:        BSD
5cc73f
URL:            https://github.com/micheles/decorator
5cc73f
Source0:        %pypi_source decorator
5cc73f
5cc73f
BuildArch:      noarch
5cc73f
5cc73f
BuildRequires:  python3-setuptools
5cc73f
BuildRequires:  python3-devel
5cc73f
5cc73f
%description
5cc73f
The aim of the decorator module is to simplify the usage of decorators for
5cc73f
the average programmer, and to popularize decorators usage giving examples
5cc73f
of useful decorators, such as memoize, tracing, redirecting_stdout, locked,
5cc73f
etc.  The core of this module is a decorator factory called decorator.
5cc73f
5cc73f
%package -n python3-decorator
5cc73f
Summary:        Module to simplify usage of decorators in python3
5cc73f
%{?python_provide:%python_provide python3-decorator}
5cc73f
5cc73f
%description -n python3-decorator
5cc73f
The aim of the decorator module is to simplify the usage of decorators for
5cc73f
the average programmer, and to popularize decorators usage giving examples
5cc73f
of useful decorators, such as memoize, tracing, redirecting_stdout, locked,
5cc73f
etc.  The core of this module is a decorator factory called decorator.
5cc73f
5cc73f
%prep
5cc73f
%autosetup -p1 -n %{pypi_name}-%{version}
5cc73f
5cc73f
%build
5cc73f
%py3_build
5cc73f
5cc73f
%install
5cc73f
%py3_install
5cc73f
5cc73f
# Remove this when https://github.com/micheles/decorator/issues/32 is fixed.
5cc73f
find %{buildroot} -name SOURCES.txt~ -exec rm -f {} \;
5cc73f
5cc73f
%check
5cc73f
%{__python3} setup.py test
5cc73f
5cc73f
%files -n python3-%{pypi_name}
5cc73f
%doc README.rst CHANGES.md
5cc73f
%license LICENSE.txt
5cc73f
%{python3_sitelib}/decorator.py
5cc73f
%{python3_sitelib}/decorator-*.egg-info/
5cc73f
%{python3_sitelib}/__pycache__/*
5cc73f
5cc73f
%changelog
5cc73f
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 4.4.2-6
5cc73f
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
5cc73f
  Related: rhbz#1991688
5cc73f
5cc73f
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 4.4.2-5
5cc73f
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
5cc73f
5cc73f
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 4.4.2-4
5cc73f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
5cc73f
5cc73f
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.4.2-3
5cc73f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
5cc73f
5cc73f
* Fri May 22 2020 Miro Hrončok <mhroncok@redhat.com> - 4.4.2-2
5cc73f
- Rebuilt for Python 3.9
5cc73f
5cc73f
* Fri Apr 03 2020 Michal Konečný <mkonecny@redhat.com> - 4.4.2-1
5cc73f
- new version
5cc73f
  Remove python39.patch no longer needed
5cc73f
5cc73f
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.4.0-6
5cc73f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
5cc73f
5cc73f
* Thu Jan 16 2020 Miro Hrončok <mhroncok@redhat.com> - 4.4.0-5
5cc73f
- Subpackage python2-decorator has been removed
5cc73f
  See https://fedoraproject.org/wiki/Changes/RetirePython2
5cc73f
5cc73f
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 4.4.0-4
5cc73f
- Rebuilt for Python 3.8.0rc1 (#1748018)
5cc73f
5cc73f
* Thu Aug 15 2019 Miro Hrončok <mhroncok@redhat.com> - 4.4.0-3
5cc73f
- Rebuilt for Python 3.8
5cc73f
5cc73f
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.4.0-2
5cc73f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
5cc73f
5cc73f
* Sat Jun 22 2019 Kevin Fenzi <kevin@scrye.com> - 4.4.0-1
5cc73f
- Update to 4.4.0. Fixes bug #1669189
5cc73f
5cc73f
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.3.0-2
5cc73f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
5cc73f
5cc73f
* Wed Jul 25 2018 Pierre-Yves Chibon <pingou@pingoured.fr> - 4.3.0-1
5cc73f
- Update to 4.3.0
5cc73f
5cc73f
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.2.1-3
5cc73f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
5cc73f
5cc73f
* Thu Jun 14 2018 Miro Hrončok <mhroncok@redhat.com> - 4.2.1-2
5cc73f
- Rebuilt for Python 3.7
5cc73f
5cc73f
* Wed Feb  7 2018 Haïkel Guémar <hguemar@fedoraproject.org> - 4.2.1-1
5cc73f
- Upstream 4.2.1
5cc73f
5cc73f
* Tue Jan 16 2018 Iryna Shcherbina <ishcherb@redhat.com> - 4.1.2-2
5cc73f
- Update Python 2 dependency declarations to new packaging standards
5cc73f
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
5cc73f
5cc73f
* Sat Sep 16 2017 Kevin Fenzi <kevin@scrye.com> - 4.1.2-1
5cc73f
- Update to 4.1.2. Fixes bug #1471373
5cc73f
5cc73f
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.11-3
5cc73f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
5cc73f
5cc73f
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.0.11-2
5cc73f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
5cc73f
5cc73f
* Mon Jan 23 2017 Fabio Alessandro Locati <fale@fedoraproject.org> - 4.0.11-1
5cc73f
- Update to 4.0.11
5cc73f
5cc73f
* Thu Dec 29 2016 Kevin Fenzi <kevin@scrye.com> - 4.0.10-5
5cc73f
- Remove SOURCES.txt~ file. Fixes bug #1404634
5cc73f
5cc73f
* Fri Dec 09 2016 Charalampos Stratakis <cstratak@redhat.com> - 4.0.10-4
5cc73f
- Rebuild for Python 3.6
5cc73f
5cc73f
* Mon Aug 29 2016 Fabio Alessandro Locati <fale@fedoraproject.org> - 4.0.10-3
5cc73f
- SPEC Cleanup
5cc73f
- Remove unused build requires
5cc73f
5cc73f
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.0.10-2
5cc73f
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
5cc73f
5cc73f
* Tue Jun 07 2016 Kevin Fenzi <kevin@scrye.com> - 4.0.10-1
5cc73f
- Update to 4.0.10. Fixes bug #1343523
5cc73f
5cc73f
* Mon Apr 04 2016 Ralph Bean <rbean@redhat.com> - 4.0.9-1
5cc73f
- new version
5cc73f
5cc73f
* Tue Feb 2 2016 Orion Poplawski <orion@cora.nwra.com> - 4.0.6-2
5cc73f
- Modernize spec
5cc73f
- Fix python3 package file ownership
5cc73f
- Run python3 tests
5cc73f
5cc73f
* Fri Dec 11 2015 Ralph Bean <rbean@redhat.com> - 4.0.6-1
5cc73f
- new version
5cc73f
5cc73f
* Wed Nov 04 2015 Robert Kuska <rkuska@redhat.com> - 4.0.4-2
5cc73f
- Rebuilt for Python3.5 rebuild
5cc73f
5cc73f
* Fri Sep 25 2015 Ralph Bean <rbean@redhat.com> - 4.0.4-1
5cc73f
- new version
5cc73f
5cc73f
* Wed Sep 16 2015 Ralph Bean <rbean@redhat.com> - 4.0.2-1
5cc73f
- new version
5cc73f
5cc73f
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.4.2-2
5cc73f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
5cc73f
5cc73f
* Mon Mar 23 2015 Ralph Bean <rbean@redhat.com> - 3.4.2-1
5cc73f
- new version
5cc73f
- The documentation.py files are now gone from upstream.
5cc73f
5cc73f
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.4.0-5
5cc73f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
5cc73f
5cc73f
* Wed May 14 2014 Bohuslav Kabrda <bkabrda@redhat.com> - 3.4.0-4
5cc73f
- Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4
5cc73f
5cc73f
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.4.0-3
5cc73f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
5cc73f
5cc73f
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.4.0-2
5cc73f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
5cc73f
5cc73f
* Thu Oct 18 2012 Toshio Kuratomi <toshio@fedoraproject.org> - 3.4.0-1
5cc73f
- New upstream release
5cc73f
5cc73f
* Sat Aug 04 2012 David Malcolm <dmalcolm@redhat.com> - 3.3.3-4
5cc73f
- rebuild for https://fedoraproject.org/wiki/Features/Python_3.3
5cc73f
5cc73f
* Fri Aug  3 2012 David Malcolm <dmalcolm@redhat.com> - 3.3.3-3
5cc73f
- remove rhel logic from with_python3 conditional
5cc73f
5cc73f
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.3.3-2
5cc73f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
5cc73f
5cc73f
* Tue Apr 24 2012 Toshio Kuratomi <toshio@fedoraproject.org> - 3.3.3-1
5cc73f
- New upstream release
5cc73f
5cc73f
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.3.2-2
5cc73f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
5cc73f
5cc73f
* Fri Sep 2 2011 Toshio Kuratomi <toshio@fedoraproject.org> - 3.3.2-1
5cc73f
- New upstream release
5cc73f
5cc73f
* Thu Apr 28 2011 Toshio Kuratomi <toshio@fedoraproject.org> - 3.3.1-1
5cc73f
- Upstream update 3.3.1 that deprecates the .decorated attribute name in
5cc73f
  favor of .__wrapped__
5cc73f
5cc73f
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.3.0-2
5cc73f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
5cc73f
5cc73f
* Sat Jan 1 2011 Toshio Kuratomi <toshio@fedoraproject.org> - 3.3.0-1
5cc73f
- Upstream update 3.3.0 that adds function annotation support for python3 code
5cc73f
5cc73f
* Wed Dec 1 2010 Toshio Kuratomi <toshio@fedoraproject.org> - 3.2.1-1
5cc73f
- Upstream bugfix 3.2.1
5cc73f
- Enable unittests for python3
5cc73f
5cc73f
* Mon Aug 23 2010 Toshio Kuratomi <toshio@fedoraproject.org> - 3.2.0-4
5cc73f
- Rebuild for python-3.2.
5cc73f
5cc73f
* Thu Jul 22 2010 David Malcolm <dmalcolm@redhat.com> - 3.2.0-3
5cc73f
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
5cc73f
5cc73f
* Wed Jul 7 2010 Toshio Kuratomi <toshio@fedoraproject.org> - 3.2.0-2
5cc73f
- Add documentation.py files to both subpackages (this contains a brief license
5cc73f
  assertion among other things).
5cc73f
5cc73f
* Wed Jun 30 2010 Toshio Kuratomi <toshio@fedoraproject.org> - 3.2.0-1
5cc73f
- Minor cleanups
5cc73f
- Upgrade to 3.2.0
5cc73f
- Add python3 subpackage
5cc73f
5cc73f
* Tue Oct 6 2009 Toshio Kuratomi <toshio@fedoraproject.org> - 3.1.2-2
5cc73f
- Really include the new source tarball
5cc73f
5cc73f
* Tue Oct 6 2009 Toshio Kuratomi <toshio@fedoraproject.org> - 3.1.2-1
5cc73f
- Update to upstream release 3.1.2
5cc73f
5cc73f
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.1-3
5cc73f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
5cc73f
5cc73f
* Sun May 31 2009 Luke Macken <lmacken@redhat.com> - 3.0.1-2
5cc73f
- Only run the test suite on Fedora 11, which has Py2.6 and the multiprocessing
5cc73f
  module.  We can disable this once the compat module is packaged for F10 and
5cc73f
  below.
5cc73f
5cc73f
* Thu May 21 2009 Toshio Kuratomi <toshio@fedoraproject.org> - 3.0.1-1
5cc73f
- Update to upstream release 3.0.1.
5cc73f
5cc73f
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.2-2
5cc73f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
5cc73f
5cc73f
* Wed Jan 21 2009 Toshio Kuratomi <toshio@fedoraproject.org> - 2.3.2-1
5cc73f
- Update to 2.3.2
5cc73f
- Enable tests via nose
5cc73f
5cc73f
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 2.2.0-2
5cc73f
- Rebuild for Python 2.6