Blob Blame History Raw
%global modname virtualenvwrapper

Name:             python-virtualenvwrapper
Version:          3.2
Release:          3%{?dist}
Summary:          Enhancements to virtualenv

Group:            Development/Languages
License:          MIT
URL:              http://pypi.python.org/pypi/virtualenvwrapper
Source0:          http://pypi.python.org/packages/source/v/virtualenvwrapper/virtualenvwrapper-3.2.tar.gz
Patch0:           0001-Shebangs-and-permissions.patch
Patch1:           0002-remove-tmp-trap.patch

BuildArch:        noarch


BuildRequires:    python-devel
BuildRequires:    python-setuptools
BuildRequires:    python-virtualenv

Requires:         python-virtualenv

%description
virtualenvwrapper is a set of extensions to Ian Bicking's `virtualenv
<http://pypi.python.org/pypi/virtualenv>`_ tool.  The extensions include
wrappers for creating and deleting virtual environments and otherwise
managing your development workflow, making it easier to work on more than
one project at a time without introducing conflicts in their dependencies.

%prep
%setup -q -n %{modname}-%{version}
%patch0 -p1
%patch1 -p0

%build
%{__python} setup.py build 

%install
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT


%files
%doc README.txt
%{python_sitelib}/* 
%{_bindir}/virtualenvwrapper.sh

%changelog
* Mon May 07 2012 Ralph Bean <rbean@redhat.com> 3.2-3
- Applied security patch from Aaron Griffis.  http://bit.ly/IHJqxs

* Tue Apr 17 2012 Ralph Bean <rbean@redhat.com> 3.2-2
- Updated the Shebangs-and-permissions patch to add a shebang to
  /usr/bin/virtualenvwrapper.sh

* Mon Apr 09 2012 Ralph Bean <rbean@redhat.com> 3.2-1
- Packaged latest version which includes disambiguated license.
- Removed %defattr macro.
- Added patch to quiet up rpmlint.

* Wed Apr 04 2012 Ralph Bean <rbean@redhat.com> 3.1-1
- initial package for Fedora