python-decorator-vl.spec 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. Name: python-decorator
  2. Version: 3.3.0
  3. Release: 2%{?_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 Feb 18 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.3.0-2
  36. - rebuild with python-2.7.2
  37. * Sat Apr 09 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 3.3.0-1
  38. - initial build for Vine Linux
  39. * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.3.0-2
  40. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  41. * Sat Jan 1 2011 Toshio Kuratomi <toshio@fedoraproject.org> - 3.3.0-1
  42. - Upstream update 3.3.0 that adds function annotation support for python3 code
  43. * Wed Dec 1 2010 Toshio Kuratomi <toshio@fedoraproject.org> - 3.2.1-1
  44. - Upstream bugfix 3.2.1
  45. - Enable unittests for python3
  46. * Mon Aug 23 2010 Toshio Kuratomi <toshio@fedoraproject.org> - 3.2.0-4
  47. - Rebuild for python-3.2.
  48. * Thu Jul 22 2010 David Malcolm <dmalcolm@redhat.com> - 3.2.0-3
  49. - Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
  50. * Wed Jul 7 2010 Toshio Kuratomi <toshio@fedoraproject.org> - 3.2.0-2
  51. - Add documentation.py files to both subpackages (this contains a brief license
  52. assertion among other things).
  53. * Wed Jun 30 2010 Toshio Kuratomi <toshio@fedoraproject.org> - 3.2.0-1
  54. - Minor cleanups
  55. - Upgrade to 3.2.0
  56. - Add python3 subpackage
  57. * Tue Oct 6 2009 Toshio Kuratomi <toshio@fedoraproject.org> - 3.1.2-2
  58. - Really include the new source tarball
  59. * Tue Oct 6 2009 Toshio Kuratomi <toshio@fedoraproject.org> - 3.1.2-1
  60. - Update to upstream release 3.1.2
  61. * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.1-3
  62. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  63. * Sun May 31 2009 Luke Macken <lmacken@redhat.com> - 3.0.1-2
  64. - Only run the test suite on Fedora 11, which has Py2.6 and the multiprocessing
  65. module. We can disable this once the compat module is packaged for F10 and
  66. below.
  67. * Thu May 21 2009 Toshio Kuratomi <toshio@fedoraproject.org> - 3.0.1-1
  68. - Update to upstream release 3.0.1.
  69. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.2-2
  70. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  71. * Wed Jan 21 2009 Toshio Kuratomi <toshio@fedoraproject.org> - 2.3.2-1
  72. - Update to 2.3.2
  73. - Enable tests via nose
  74. * Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 2.2.0-2
  75. - Rebuild for Python 2.6