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