python-decorator-vl.spec 3.3 KB

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