parent
d58e49d1e5
commit
1afd93b339
@ -0,0 +1 @@
|
||||
virtualenv-1.2.tar.gz
|
@ -0,0 +1 @@
|
||||
python-virtualenv-1_2-1_fc9:HEAD:python-virtualenv-1.2-1.fc9.src.rpm:1220822452
|
@ -0,0 +1,64 @@
|
||||
# sitelib for noarch packages
|
||||
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||
|
||||
Name: python-virtualenv
|
||||
Version: 1.2
|
||||
Release: 1%{?dist}
|
||||
Summary: Tool to create isolated Python environments
|
||||
|
||||
Group: Development/Languages
|
||||
License: MIT
|
||||
URL: http://pypi.python.org/pypi/virtualenv
|
||||
Source0: http://pypi.python.org/packages/source/v/virtualenv/virtualenv-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
BuildArch: noarch
|
||||
BuildRequires: python-devel, python-setuptools-devel
|
||||
|
||||
|
||||
%description
|
||||
virtualenv is a tool to create isolated Python environments. virtualenv
|
||||
is a successor to workingenv, and an extension of virtual-python. It is
|
||||
written by Ian Bicking, and sponsored by the Open Planning Project. It is
|
||||
licensed under an MIT-style permissive license.
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n virtualenv-%{version}
|
||||
%{__sed} -i -e "s|#!/usr/bin/env python||" virtualenv.py
|
||||
|
||||
|
||||
%build
|
||||
%{__python} setup.py build
|
||||
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
%{__python} setup.py install --skip-build --root $RPM_BUILD_ROOT
|
||||
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc docs/index.txt docs/license.txt PKG-INFO
|
||||
# For noarch packages: sitelib
|
||||
%{python_sitelib}/*
|
||||
%attr(755,root,root) %{_bindir}/virtualenv
|
||||
%exclude %{python_sitelib}/support-files
|
||||
|
||||
|
||||
%changelog
|
||||
* Sat Aug 30 2008 Steve 'Ashcrow' Milner <me@stevemilner.org> - 1.2-1
|
||||
- Updated for upstream release
|
||||
|
||||
* Fri Aug 29 2008 Steve 'Ashcrow' Milner <me@stevemilner.org> - 1.1-3
|
||||
- Updated from review notes
|
||||
|
||||
* Thu Aug 28 2008 Steve 'Ashcrow' Milner <me@stevemilner.org> - 1.1-2
|
||||
- Updated from review notes
|
||||
|
||||
* Tue Aug 26 2008 Steve 'Ashcrow' Milner <me@stevemilner.org> - 1.1-1
|
||||
- Initial Version
|
Loading…
Reference in new issue