python-decorator-vl.spec 3.5 KB

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