You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
105 lines
3.5 KiB
105 lines
3.5 KiB
# 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.4.6
|
|
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
|
|
Requires: python-setuptools, python-setuptools-devel, python-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 docs/news.txt PKG-INFO
|
|
# For noarch packages: sitelib
|
|
%{python_sitelib}/*
|
|
%attr(755,root,root) %{_bindir}/virtualenv
|
|
|
|
|
|
%changelog
|
|
* Fri Apr 2 2010 Steve 'Ashcrow' Milner <me@stevemilner.org> - 1.4.6-1
|
|
- allow script creation without setuptools
|
|
- fix problem with --relocate when bin/ has subdirs (fixes #12)
|
|
- Allow more flexible .pth file fixup
|
|
- make nt a required module, along with posix. it may not be a builtin module on jython
|
|
- don't mess with PEP 302-supplied __file__, from CPython, and merge in a small startup optimization for Jython, from Jython
|
|
|
|
* Tue Dec 22 2009 Steve 'Ashcrow' Milner <me@stevemilner.org> - 1.4.3-1
|
|
- Updated for upstream release.
|
|
|
|
* Thu Nov 12 2009 Steve 'Ashcrow' Milner <me@stevemilner.org> - 1.4.2-1
|
|
- Updated for upstream release.
|
|
|
|
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.3-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
* Tue Apr 28 2009 Steve 'Ashcrow' Milner <me@stevemilner.org> - 1.3.3-1
|
|
- Updated for upstream release.
|
|
|
|
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.2-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
* Thu Dec 25 2008 Steve 'Ashcrow' Milner <me@stevemilner.org> - 1.3.2-1
|
|
- Updated for upstream release.
|
|
|
|
* Thu Dec 04 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 1.3.1-4
|
|
- Rebuild for Python 2.6
|
|
|
|
* Mon Dec 1 2008 Steve 'Ashcrow' Milner <me@stevemilner.org> - 1.3.1-3
|
|
- Added missing dependencies.
|
|
|
|
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 1.3.1-2
|
|
- Rebuild for Python 2.6
|
|
|
|
* Fri Nov 28 2008 Steve 'Ashcrow' Milner <me@stevemilner.org> - 1.3.1-1
|
|
- Updated for upstream release
|
|
|
|
* Sun Sep 28 2008 Steve 'Ashcrow' Milner <me@stevemilner.org> - 1.3-1
|
|
- Updated for upstream release
|
|
|
|
* 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
|