Blame SPECS/python-decorator.spec

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