|
|
ffbefb |
%{?scl:%scl_package python-virtualenv}
|
|
|
ffbefb |
%{!?scl:%global pkg_name %{name}}
|
|
|
ffbefb |
|
|
|
ffbefb |
Name: %{?scl_prefix}python-virtualenv
|
|
|
ffbefb |
Version: 1.11.6
|
|
|
ffbefb |
Release: 1%{?dist}
|
|
|
ffbefb |
Summary: Tool to create isolated Python environments
|
|
|
ffbefb |
|
|
|
ffbefb |
Group: Development/Languages
|
|
|
ffbefb |
License: MIT
|
|
|
ffbefb |
URL: http://pypi.python.org/pypi/virtualenv
|
|
|
ffbefb |
Source0: http://pypi.python.org/packages/source/v/virtualenv/virtualenv-%{version}.tar.gz
|
|
|
ffbefb |
BuildRoot: %{_tmppath}/%{pkg_name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
ffbefb |
|
|
|
ffbefb |
BuildArch: noarch
|
|
|
ffbefb |
BuildRequires: %{?scl_prefix}python-devel
|
|
|
ffbefb |
BuildRequires: %{?scl_prefix}python-sphinx
|
|
|
ffbefb |
Requires: %{?scl_prefix}python-setuptools
|
|
|
ffbefb |
Requires: %{?scl_prefix}python-devel
|
|
|
ffbefb |
|
|
|
ffbefb |
%description
|
|
|
ffbefb |
virtualenv is a tool to create isolated Python environments. virtualenv
|
|
|
ffbefb |
is a successor to workingenv, and an extension of virtual-python. It is
|
|
|
ffbefb |
written by Ian Bicking, and sponsored by the Open Planning Project. It is
|
|
|
ffbefb |
licensed under an MIT-style permissive license.
|
|
|
ffbefb |
|
|
|
ffbefb |
%prep
|
|
|
ffbefb |
%setup -q -n virtualenv-%{version}
|
|
|
ffbefb |
%{__sed} -i -e "1s|#!/usr/bin/env python||" virtualenv.py
|
|
|
ffbefb |
|
|
|
ffbefb |
%build
|
|
|
ffbefb |
# Build code
|
|
|
ffbefb |
%{?scl:scl enable %{scl} "}
|
|
|
ffbefb |
%{__python3} setup.py build
|
|
|
ffbefb |
%{?scl:"}
|
|
|
ffbefb |
|
|
|
ffbefb |
# Build docs
|
|
|
ffbefb |
%{?scl:scl enable %{scl} "}
|
|
|
ffbefb |
%{__python3} setup.py build_sphinx
|
|
|
ffbefb |
%{?scl:"}
|
|
|
ffbefb |
|
|
|
ffbefb |
%install
|
|
|
ffbefb |
rm -rf $RPM_BUILD_ROOT
|
|
|
ffbefb |
%{?scl:scl enable %{scl} "}
|
|
|
ffbefb |
%{__python3} setup.py install --skip-build --root $RPM_BUILD_ROOT
|
|
|
ffbefb |
%{?scl:"}
|
|
|
ffbefb |
rm -f build/sphinx/html/.buildinfo
|
|
|
ffbefb |
|
|
|
ffbefb |
%clean
|
|
|
ffbefb |
rm -rf $RPM_BUILD_ROOT
|
|
|
ffbefb |
|
|
|
ffbefb |
%files
|
|
|
ffbefb |
%defattr(-,root,root,-)
|
|
|
ffbefb |
%doc docs/*rst PKG-INFO AUTHORS.txt LICENSE.txt
|
|
|
ffbefb |
%doc build/sphinx/*
|
|
|
ffbefb |
%{python3_sitelib}/*
|
|
|
ffbefb |
%attr(755,root,root) %{_bindir}/virtualenv*
|
|
|
ffbefb |
|
|
|
ffbefb |
%changelog
|
|
|
ffbefb |
* Thu Jan 22 2015 Matej Stuchlik <mstuchli@redhat.com> - 1.11.6-1
|
|
|
ffbefb |
- Update to 1.11.6
|
|
|
ffbefb |
|
|
|
ffbefb |
* Mon Nov 18 2013 Robert Kuska <rkuska@redhat.com> - 1.10.1-2
|
|
|
ffbefb |
- Bump release number to avoid conflict with rhel-7.0
|
|
|
ffbefb |
|
|
|
ffbefb |
* Tue Aug 20 2013 Robert Kuska <rkuska@redhat.com> - 1.10.1-1
|
|
|
ffbefb |
- Update to v1.10.1
|
|
|
ffbefb |
Resolves: rhbz#996707
|
|
|
ffbefb |
|
|
|
ffbefb |
* Fri May 17 2013 Robert Kuska <rkuska@redhat.com> - 1.7.2-4
|
|
|
ffbefb |
- Fixed rhbz#963660
|
|
|
ffbefb |
|
|
|
ffbefb |
* Thu May 09 2013 Bohuslav Kabrda <bkabrda@redhat.com> - 1.7.2-3
|
|
|
ffbefb |
- Rebuild to generate bytecode properly after fixing rhbz#956289
|
|
|
ffbefb |
|
|
|
ffbefb |
* Wed Sep 19 2012 Bohuslav Kabrda <bkabrda@redhat.com> - 1.7.2-2
|
|
|
ffbefb |
- Rebuilt for SCL.
|
|
|
ffbefb |
|
|
|
ffbefb |
* Tue Aug 14 2012 Steve Milner <me@stevemilner.org> - 1.7.2-1
|
|
|
ffbefb |
- Update for upstream bug fixes.
|
|
|
ffbefb |
- Added path for versioned binary.
|
|
|
ffbefb |
- Patch no longer required.
|
|
|
ffbefb |
|
|
|
ffbefb |
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7.1.2-3
|
|
|
ffbefb |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
ffbefb |
|
|
|
ffbefb |
* Wed Mar 14 2012 Steve 'Ashcrow' Milner <me@stevemilner.org> - 1.7.1.2-1
|
|
|
ffbefb |
- Update for upstream bug fixes.
|
|
|
ffbefb |
- Added patch for sphinx building
|
|
|
ffbefb |
|
|
|
ffbefb |
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7-2
|
|
|
ffbefb |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
ffbefb |
|
|
|
ffbefb |
* Tue Dec 20 2011 Steve 'Ashcrow' Milner <me@stevemilner.org> - 1.7-1
|
|
|
ffbefb |
- Update for https://bugzilla.redhat.com/show_bug.cgi?id=769067
|
|
|
ffbefb |
|
|
|
ffbefb |
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.1-2
|
|
|
ffbefb |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
ffbefb |
|
|
|
ffbefb |
* Sat Oct 16 2010 Steve 'Ashcrow' Milner <me@stevemilner.org> - 1.5.1-1
|
|
|
ffbefb |
- Added _weakrefset requirement for Python 2.7.1.
|
|
|
ffbefb |
- Add support for PyPy.
|
|
|
ffbefb |
- Uses a proper temporary dir when installing environment requirements.
|
|
|
ffbefb |
- Add --prompt option to be able to override the default prompt prefix.
|
|
|
ffbefb |
- Add fish and csh activate scripts.
|
|
|
ffbefb |
|
|
|
ffbefb |
* Thu Jul 22 2010 David Malcolm <dmalcolm@redhat.com> - 1.4.8-4
|
|
|
ffbefb |
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
|
|
|
ffbefb |
|
|
|
ffbefb |
* Tue Jul 7 2010 Steve 'Ashcrow' Milner <me@stevemilner.org> - 1.4.8-3
|
|
|
ffbefb |
- Fixed EPEL installation issue from BZ#611536
|
|
|
ffbefb |
|
|
|
ffbefb |
* Tue Jun 8 2010 Steve 'Ashcrow' Milner <me@stevemilner.org> - 1.4.8-2
|
|
|
ffbefb |
- Only replace the python shebang on the first line (Robert Buchholz)
|
|
|
ffbefb |
|
|
|
ffbefb |
* Fri Apr 28 2010 Steve 'Ashcrow' Milner <me@stevemilner.org> - 1.4.8-1
|
|
|
ffbefb |
- update pip to 0.7
|
|
|
ffbefb |
- move regen-docs into bin/
|
|
|
ffbefb |
- Fix #31, make activate_this.py work on Windows (use Lib/site-packages)
|
|
|
ffbefb |
unset PYTHONHOME envioronment variable -- first step towards fixing the PYTHONHOME issue; see e.g. https://bugs.launchpad.net/virtualenv/+bug/290844
|
|
|
ffbefb |
- unset PYTHONHOME in the (Unix) activate script (and reset it in deactivate())
|
|
|
ffbefb |
- use the activate.sh in virtualenv.py via running bin/rebuild-script.py
|
|
|
ffbefb |
- add warning message if PYTHONHOME is set
|
|
|
ffbefb |
|
|
|
ffbefb |
* Fri Apr 2 2010 Steve 'Ashcrow' Milner <me@stevemilner.org> - 1.4.6-1
|
|
|
ffbefb |
- allow script creation without setuptools
|
|
|
ffbefb |
- fix problem with --relocate when bin/ has subdirs (fixes #12)
|
|
|
ffbefb |
- Allow more flexible .pth file fixup
|
|
|
ffbefb |
- make nt a required module, along with posix. it may not be a builtin module on jython
|
|
|
ffbefb |
- don't mess with PEP 302-supplied __file__, from CPython, and merge in a small startup optimization for Jython, from Jython
|
|
|
ffbefb |
|
|
|
ffbefb |
* Tue Dec 22 2009 Steve 'Ashcrow' Milner <me@stevemilner.org> - 1.4.3-1
|
|
|
ffbefb |
- Updated for upstream release.
|
|
|
ffbefb |
|
|
|
ffbefb |
* Thu Nov 12 2009 Steve 'Ashcrow' Milner <me@stevemilner.org> - 1.4.2-1
|
|
|
ffbefb |
- Updated for upstream release.
|
|
|
ffbefb |
|
|
|
ffbefb |
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.3-2
|
|
|
ffbefb |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
ffbefb |
|
|
|
ffbefb |
* Tue Apr 28 2009 Steve 'Ashcrow' Milner <me@stevemilner.org> - 1.3.3-1
|
|
|
ffbefb |
- Updated for upstream release.
|
|
|
ffbefb |
|
|
|
ffbefb |
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.2-2
|
|
|
ffbefb |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
ffbefb |
|
|
|
ffbefb |
* Thu Dec 25 2008 Steve 'Ashcrow' Milner <me@stevemilner.org> - 1.3.2-1
|
|
|
ffbefb |
- Updated for upstream release.
|
|
|
ffbefb |
|
|
|
ffbefb |
* Thu Dec 04 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 1.3.1-4
|
|
|
ffbefb |
- Rebuild for Python 2.6
|
|
|
ffbefb |
|
|
|
ffbefb |
* Mon Dec 1 2008 Steve 'Ashcrow' Milner <me@stevemilner.org> - 1.3.1-3
|
|
|
ffbefb |
- Added missing dependencies.
|
|
|
ffbefb |
|
|
|
ffbefb |
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 1.3.1-2
|
|
|
ffbefb |
- Rebuild for Python 2.6
|
|
|
ffbefb |
|
|
|
ffbefb |
* Fri Nov 28 2008 Steve 'Ashcrow' Milner <me@stevemilner.org> - 1.3.1-1
|
|
|
ffbefb |
- Updated for upstream release
|
|
|
ffbefb |
|
|
|
ffbefb |
* Sun Sep 28 2008 Steve 'Ashcrow' Milner <me@stevemilner.org> - 1.3-1
|
|
|
ffbefb |
- Updated for upstream release
|
|
|
ffbefb |
|
|
|
ffbefb |
* Sat Aug 30 2008 Steve 'Ashcrow' Milner <me@stevemilner.org> - 1.2-1
|
|
|
ffbefb |
- Updated for upstream release
|
|
|
ffbefb |
|
|
|
ffbefb |
* Fri Aug 29 2008 Steve 'Ashcrow' Milner <me@stevemilner.org> - 1.1-3
|
|
|
ffbefb |
- Updated from review notes
|
|
|
ffbefb |
|
|
|
ffbefb |
* Thu Aug 28 2008 Steve 'Ashcrow' Milner <me@stevemilner.org> - 1.1-2
|
|
|
ffbefb |
- Updated from review notes
|
|
|
ffbefb |
|
|
|
ffbefb |
* Tue Aug 26 2008 Steve 'Ashcrow' Milner <me@stevemilner.org> - 1.1-1
|
|
|
ffbefb |
- Initial Version
|