|
|
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
|
|
|
43cdbdb |
Version: 1.4.2
|
|
|
d8eb521 |
Release: 1%{?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}
|
|
|
1afd93b |
%{__sed} -i -e "s|#!/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
|
|
|
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
|