python-virtualenv-vl.spec 4.8 KB

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