|
|
1afd93b |
# sitelib for noarch packages
|
|
|
1afd93b |
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
|
|
1afd93b |
|
|
|
1afd93b |
Name: python-virtualenv
|
|
|
c7594e4 |
Version: 1.4.8
|
|
|
c7594e4 |
Release: 2%{?dist}
|
|
|
1afd93b |
Summary: Tool to create isolated Python environments
|
|
|
1afd93b |
|
|
|
1afd93b |
Group: Development/Languages
|
|
|
1afd93b |
License: MIT
|
|
|
1afd93b |
URL: http://pypi.python.org/pypi/virtualenv
|
|
|
1afd93b |
Source0: http://pypi.python.org/packages/source/v/virtualenv/virtualenv-%{version}.tar.gz
|
|
|
1afd93b |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
1afd93b |
|
|
|
1afd93b |
BuildArch: noarch
|
|
|
1afd93b |
BuildRequires: python-devel, python-setuptools-devel
|
|
|
0a12792 |
Requires: python-setuptools, python-setuptools-devel, python-devel
|
|
|
1afd93b |
|
|
|
1afd93b |
|
|
|
1afd93b |
%description
|
|
|
1afd93b |
virtualenv is a tool to create isolated Python environments. virtualenv
|
|
|
1afd93b |
is a successor to workingenv, and an extension of virtual-python. It is
|
|
|
1afd93b |
written by Ian Bicking, and sponsored by the Open Planning Project. It is
|
|
|
1afd93b |
licensed under an MIT-style permissive license.
|
|
|
1afd93b |
|
|
|
1afd93b |
|
|
|
1afd93b |
%prep
|
|
|
1afd93b |
%setup -q -n virtualenv-%{version}
|
|
|
c7594e4 |
%{__sed} -i -e "1s|#!/usr/bin/env python||" virtualenv.py
|
|
|
1afd93b |
|
|
|
1afd93b |
|
|
|
1afd93b |
%build
|
|
|
1afd93b |
%{__python} setup.py build
|
|
|
1afd93b |
|
|
|
1afd93b |
|
|
|
1afd93b |
%install
|
|
|
1afd93b |
rm -rf $RPM_BUILD_ROOT
|
|
|
1afd93b |
%{__python} setup.py install --skip-build --root $RPM_BUILD_ROOT
|
|
|
1afd93b |
|
|
|
1afd93b |
|
|
|
1afd93b |
%clean
|
|
|
1afd93b |
rm -rf $RPM_BUILD_ROOT
|
|
|
1afd93b |
|
|
|
1afd93b |
|
|
|
1afd93b |
%files
|
|
|
1afd93b |
%defattr(-,root,root,-)
|
|
|
43cdbdb |
%doc docs/index.txt docs/license.txt docs/news.txt PKG-INFO
|
|
|
1afd93b |
# For noarch packages: sitelib
|
|
|
1afd93b |
%{python_sitelib}/*
|
|
|
1afd93b |
%attr(755,root,root) %{_bindir}/virtualenv
|
|
|
1afd93b |
|
|
|
1afd93b |
|
|
|
1afd93b |
%changelog
|
|
|
c7594e4 |
* Tue Jun 8 2010 Steve 'Ashcrow' Milner <me@stevemilner.org> - 1.4.8-2
|
|
|
c7594e4 |
- Only replace the python shebang on the first line (Robert Buchholz)
|
|
|
c7594e4 |
|
|
|
c7594e4 |
* Fri Apr 28 2010 Steve 'Ashcrow' Milner <me@stevemilner.org> - 1.4.8-1
|
|
|
c7594e4 |
- update pip to 0.7
|
|
|
c7594e4 |
- move regen-docs into bin/
|
|
|
c7594e4 |
- Fix #31, make activate_this.py work on Windows (use Lib/site-packages)
|
|
|
c7594e4 |
unset PYTHONHOME envioronment variable -- first step towards fixing the PYTHONHOME issue; see e.g. https://bugs.launchpad.net/virtualenv/+bug/290844
|
|
|
c7594e4 |
- unset PYTHONHOME in the (Unix) activate script (and reset it in deactivate())
|
|
|
c7594e4 |
- use the activate.sh in virtualenv.py via running bin/rebuild-script.py
|
|
|
c7594e4 |
- add warning message if PYTHONHOME is set
|
|
|
c7594e4 |
|
|
|
e9678be |
* Fri Apr 2 2010 Steve 'Ashcrow' Milner <me@stevemilner.org> - 1.4.6-1
|
|
|
e9678be |
- allow script creation without setuptools
|
|
|
e9678be |
- fix problem with --relocate when bin/ has subdirs (fixes #12)
|
|
|
e9678be |
- Allow more flexible .pth file fixup
|
|
|
e9678be |
- make nt a required module, along with posix. it may not be a builtin module on jython
|
|
|
e9678be |
- don't mess with PEP 302-supplied __file__, from CPython, and merge in a small startup optimization for Jython, from Jython
|
|
|
e9678be |
|
|
|
5d79e6a |
* Tue Dec 22 2009 Steve 'Ashcrow' Milner <me@stevemilner.org> - 1.4.3-1
|
|
|
5d79e6a |
- Updated for upstream release.
|
|
|
5d79e6a |
|
|
|
43cdbdb |
* Thu Nov 12 2009 Steve 'Ashcrow' Milner <me@stevemilner.org> - 1.4.2-1
|
|
|
43cdbdb |
- Updated for upstream release.
|
|
|
43cdbdb |
|
|
|
43cdbdb |
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.3-2
|
|
|
43cdbdb |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
43cdbdb |
|
|
|
d8eb521 |
* Tue Apr 28 2009 Steve 'Ashcrow' Milner <me@stevemilner.org> - 1.3.3-1
|
|
|
d8eb521 |
- Updated for upstream release.
|
|
|
d8eb521 |
|
|
|
50e9df4 |
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.2-2
|
|
|
50e9df4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
50e9df4 |
|
|
|
0a12792 |
* Thu Dec 25 2008 Steve 'Ashcrow' Milner <me@stevemilner.org> - 1.3.2-1
|
|
|
0a12792 |
- Updated for upstream release.
|
|
|
0a12792 |
|
|
|
11a605c |
* Thu Dec 04 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 1.3.1-4
|
|
|
11a605c |
- Rebuild for Python 2.6
|
|
|
11a605c |
|
|
|
c21f7d0 |
* Mon Dec 1 2008 Steve 'Ashcrow' Milner <me@stevemilner.org> - 1.3.1-3
|
|
|
c21f7d0 |
- Added missing dependencies.
|
|
|
c21f7d0 |
|
|
|
5b3f92f |
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 1.3.1-2
|
|
|
5b3f92f |
- Rebuild for Python 2.6
|
|
|
5b3f92f |
|
|
|
a0f0570 |
* Fri Nov 28 2008 Steve 'Ashcrow' Milner <me@stevemilner.org> - 1.3.1-1
|
|
|
a0f0570 |
- Updated for upstream release
|
|
|
a0f0570 |
|
|
|
85462af |
* Sun Sep 28 2008 Steve 'Ashcrow' Milner <me@stevemilner.org> - 1.3-1
|
|
|
85462af |
- Updated for upstream release
|
|
|
85462af |
|
|
|
1afd93b |
* Sat Aug 30 2008 Steve 'Ashcrow' Milner <me@stevemilner.org> - 1.2-1
|
|
|
1afd93b |
- Updated for upstream release
|
|
|
1afd93b |
|
|
|
1afd93b |
* Fri Aug 29 2008 Steve 'Ashcrow' Milner <me@stevemilner.org> - 1.1-3
|
|
|
1afd93b |
- Updated from review notes
|
|
|
1afd93b |
|
|
|
1afd93b |
* Thu Aug 28 2008 Steve 'Ashcrow' Milner <me@stevemilner.org> - 1.1-2
|
|
|
1afd93b |
- Updated from review notes
|
|
|
1afd93b |
|
|
|
1afd93b |
* Tue Aug 26 2008 Steve 'Ashcrow' Milner <me@stevemilner.org> - 1.1-1
|
|
|
1afd93b |
- Initial Version
|