python-virtualenv-vl.spec 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  1. %global oname virtualenv
  2. Summary: Tool to create isolated Python environments
  3. Summary(ja): 隔離されたPython環境を構築するためのツール
  4. Name: python-%{oname}
  5. Version: 1.4.8
  6. Release: 1%{?_dist_release}
  7. Group: Development/Languages
  8. License: MIT
  9. URL: http://pypi.python.org/pypi/%{oname}
  10. Source0: http://pypi.python.org/packages/source/v/%{oname}/%{oname}-%{version}.tar.gz
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  12. BuildArch: noarch
  13. BuildRequires: python-devel
  14. Requires: python-setuptools, python-devel
  15. BuildRequires: python-setuptools
  16. Requires: python-setuptools
  17. %description
  18. virtualenv is a tool to create isolated Python environments. virtualenv
  19. is a successor to workingenv, and an extension of virtual-python. It is
  20. written by Ian Bicking, and sponsored by the Open Planning Project. It is
  21. licensed under an MIT-style permissive license.
  22. %prep
  23. %setup -q -n %{oname}-%{version}
  24. %{__sed} -i -e "1s|#!/usr/bin/env python||" virtualenv.py
  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 docs/index.txt docs/license.txt docs/news.txt PKG-INFO
  35. # For noarch packages: sitelib
  36. %{python_sitelib}/*
  37. %attr(755,root,root) %{_bindir}/virtualenv
  38. %changelog
  39. * Sat Sep 04 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 1.4.8-1
  40. - initial build for Vine Linux
  41. * Thu Jul 22 2010 David Malcolm <dmalcolm@redhat.com> - 1.4.8-4
  42. - Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
  43. * Tue Jul 7 2010 Steve 'Ashcrow' Milner <me@stevemilner.org> - 1.4.8-3
  44. - Fixed EPEL installation issue from BZ#611536
  45. * Tue Jun 8 2010 Steve 'Ashcrow' Milner <me@stevemilner.org> - 1.4.8-2
  46. - Only replace the python shebang on the first line (Robert Buchholz)
  47. * Fri Apr 28 2010 Steve 'Ashcrow' Milner <me@stevemilner.org> - 1.4.8-1
  48. - update pip to 0.7
  49. - move regen-docs into bin/
  50. - Fix #31, make activate_this.py work on Windows (use Lib/site-packages)
  51. unset PYTHONHOME envioronment variable -- first step towards fixing the PYTHONHOME issue; see e.g. https://bugs.launchpad.net/virtualenv/+bug/290844
  52. - unset PYTHONHOME in the (Unix) activate script (and reset it in deactivate())
  53. - use the activate.sh in virtualenv.py via running bin/rebuild-script.py
  54. - add warning message if PYTHONHOME is set
  55. * Fri Apr 2 2010 Steve 'Ashcrow' Milner <me@stevemilner.org> - 1.4.6-1
  56. - allow script creation without setuptools
  57. - fix problem with --relocate when bin/ has subdirs (fixes #12)
  58. - Allow more flexible .pth file fixup
  59. - make nt a required module, along with posix. it may not be a builtin module on jython
  60. - don't mess with PEP 302-supplied __file__, from CPython, and merge in a small startup optimization for Jython, from Jython
  61. * Tue Dec 22 2009 Steve 'Ashcrow' Milner <me@stevemilner.org> - 1.4.3-1
  62. - Updated for upstream release.
  63. * Thu Nov 12 2009 Steve 'Ashcrow' Milner <me@stevemilner.org> - 1.4.2-1
  64. - Updated for upstream release.
  65. * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.3-2
  66. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  67. * Tue Apr 28 2009 Steve 'Ashcrow' Milner <me@stevemilner.org> - 1.3.3-1
  68. - Updated for upstream release.
  69. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.2-2
  70. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  71. * Thu Dec 25 2008 Steve 'Ashcrow' Milner <me@stevemilner.org> - 1.3.2-1
  72. - Updated for upstream release.
  73. * Thu Dec 04 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 1.3.1-4
  74. - Rebuild for Python 2.6
  75. * Mon Dec 1 2008 Steve 'Ashcrow' Milner <me@stevemilner.org> - 1.3.1-3
  76. - Added missing dependencies.
  77. * Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 1.3.1-2
  78. - Rebuild for Python 2.6
  79. * Fri Nov 28 2008 Steve 'Ashcrow' Milner <me@stevemilner.org> - 1.3.1-1
  80. - Updated for upstream release
  81. * Sun Sep 28 2008 Steve 'Ashcrow' Milner <me@stevemilner.org> - 1.3-1
  82. - Updated for upstream release
  83. * Sat Aug 30 2008 Steve 'Ashcrow' Milner <me@stevemilner.org> - 1.2-1
  84. - Updated for upstream release
  85. * Fri Aug 29 2008 Steve 'Ashcrow' Milner <me@stevemilner.org> - 1.1-3
  86. - Updated from review notes
  87. * Thu Aug 28 2008 Steve 'Ashcrow' Milner <me@stevemilner.org> - 1.1-2
  88. - Updated from review notes
  89. * Tue Aug 26 2008 Steve 'Ashcrow' Milner <me@stevemilner.org> - 1.1-1
  90. - Initial Version