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