source: projects/specs/branches/6/p/python-decorator/python-decorator-vl.spec @ 3374

Revision 3374, 3.3 KB checked in by daisuke, 13 years ago (diff)

python-decorator: new package

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