[3374] | 1 | Name: python-decorator |
---|
| 2 | Version: 3.3.0 |
---|
[5701] | 3 | Release: 2%{?_dist_release} |
---|
[3374] | 4 | Summary: Module to simplify usage of decorators |
---|
| 5 | |
---|
| 6 | Group: Development/Languages |
---|
| 7 | License: BSD |
---|
| 8 | URL: http://pypi.python.org/pypi/decorator/ |
---|
| 9 | Source0: http://pypi.python.org/packages/source/d/decorator/decorator-%{version}.tar.gz |
---|
| 10 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
| 11 | |
---|
| 12 | BuildArch: noarch |
---|
| 13 | BuildRequires: python-devel |
---|
| 14 | BuildRequires: python-setuptools |
---|
| 15 | BuildRequires: python-nose |
---|
| 16 | |
---|
| 17 | %description |
---|
| 18 | The aim of the decorator module is to simplify the usage of decorators for |
---|
| 19 | the average programmer, and to popularize decorators usage giving examples |
---|
| 20 | of useful decorators, such as memoize, tracing, redirecting_stdout, locked, |
---|
| 21 | etc. The core of this module is a decorator factory called decorator. |
---|
| 22 | |
---|
| 23 | %prep |
---|
| 24 | %setup -q -n decorator-%{version} |
---|
| 25 | |
---|
| 26 | chmod a-x *.txt *.py |
---|
| 27 | %{__sed} -i 's/\r//' README.txt |
---|
| 28 | |
---|
| 29 | %build |
---|
| 30 | %{__python} setup.py build |
---|
| 31 | |
---|
| 32 | %install |
---|
| 33 | rm -rf $RPM_BUILD_ROOT |
---|
| 34 | %{__python} setup.py install --skip-build --root $RPM_BUILD_ROOT |
---|
| 35 | |
---|
| 36 | %clean |
---|
| 37 | rm -rf $RPM_BUILD_ROOT |
---|
| 38 | |
---|
| 39 | %files |
---|
| 40 | %defattr(-,root,root,-) |
---|
| 41 | %doc *.txt documentation.py |
---|
| 42 | %{python_sitelib}/* |
---|
| 43 | |
---|
| 44 | %changelog |
---|
[5701] | 45 | * Sat Feb 18 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.3.0-2 |
---|
| 46 | - rebuild with python-2.7.2 |
---|
| 47 | |
---|
[3374] | 48 | * Sat Apr 09 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 3.3.0-1 |
---|
| 49 | - initial build for Vine Linux |
---|
| 50 | |
---|
| 51 | * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.3.0-2 |
---|
| 52 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
---|
| 53 | |
---|
| 54 | * Sat Jan 1 2011 Toshio Kuratomi <toshio@fedoraproject.org> - 3.3.0-1 |
---|
| 55 | - Upstream update 3.3.0 that adds function annotation support for python3 code |
---|
| 56 | |
---|
| 57 | * Wed Dec 1 2010 Toshio Kuratomi <toshio@fedoraproject.org> - 3.2.1-1 |
---|
| 58 | - Upstream bugfix 3.2.1 |
---|
| 59 | - Enable unittests for python3 |
---|
| 60 | |
---|
| 61 | * Mon Aug 23 2010 Toshio Kuratomi <toshio@fedoraproject.org> - 3.2.0-4 |
---|
| 62 | - Rebuild for python-3.2. |
---|
| 63 | |
---|
| 64 | * Thu Jul 22 2010 David Malcolm <dmalcolm@redhat.com> - 3.2.0-3 |
---|
| 65 | - Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild |
---|
| 66 | |
---|
| 67 | * Wed Jul 7 2010 Toshio Kuratomi <toshio@fedoraproject.org> - 3.2.0-2 |
---|
| 68 | - Add documentation.py files to both subpackages (this contains a brief license |
---|
| 69 | assertion among other things). |
---|
| 70 | * Wed Jun 30 2010 Toshio Kuratomi <toshio@fedoraproject.org> - 3.2.0-1 |
---|
| 71 | - Minor cleanups |
---|
| 72 | - Upgrade to 3.2.0 |
---|
| 73 | - Add python3 subpackage |
---|
| 74 | |
---|
| 75 | * Tue Oct 6 2009 Toshio Kuratomi <toshio@fedoraproject.org> - 3.1.2-2 |
---|
| 76 | - Really include the new source tarball |
---|
| 77 | |
---|
| 78 | * Tue Oct 6 2009 Toshio Kuratomi <toshio@fedoraproject.org> - 3.1.2-1 |
---|
| 79 | - Update to upstream release 3.1.2 |
---|
| 80 | |
---|
| 81 | * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.1-3 |
---|
| 82 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
| 83 | |
---|
| 84 | * Sun May 31 2009 Luke Macken <lmacken@redhat.com> - 3.0.1-2 |
---|
| 85 | - Only run the test suite on Fedora 11, which has Py2.6 and the multiprocessing |
---|
| 86 | module. We can disable this once the compat module is packaged for F10 and |
---|
| 87 | below. |
---|
| 88 | |
---|
| 89 | * Thu May 21 2009 Toshio Kuratomi <toshio@fedoraproject.org> - 3.0.1-1 |
---|
| 90 | - Update to upstream release 3.0.1. |
---|
| 91 | |
---|
| 92 | * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.2-2 |
---|
| 93 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
| 94 | |
---|
| 95 | * Wed Jan 21 2009 Toshio Kuratomi <toshio@fedoraproject.org> - 2.3.2-1 |
---|
| 96 | - Update to 2.3.2 |
---|
| 97 | - Enable tests via nose |
---|
| 98 | |
---|
| 99 | * Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 2.2.0-2 |
---|
| 100 | - Rebuild for Python 2.6 |
---|