Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 576707 Details for
Bug 537246
RFE: python3-virtualenv
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
python3 support for python-virtualenv-1.7.1.2
bz537246-python3-virtualenv.patch (text/plain), 3.29 KB, created by
Felix Schwarz
on 2012-04-11 08:46:18 UTC
(
hide
)
Description:
python3 support for python-virtualenv-1.7.1.2
Filename:
MIME Type:
Creator:
Felix Schwarz
Created:
2012-04-11 08:46:18 UTC
Size:
3.29 KB
patch
obsolete
>diff --git a/python-virtualenv.spec b/python-virtualenv.spec >index 3927403..f0751a6 100644 >--- a/python-virtualenv.spec >+++ b/python-virtualenv.spec >@@ -1,9 +1,14 @@ > # sitelib for noarch packages > %{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} > >+%{!?python3_version: %global python3_version %(%{__python3} -c "import sys; sys.stdout.write(sys.version[:3])")} >+%if 0%{?fedora} > 12 || 0%{?rhel} > 6 >+%global with_python3 1 >+%endif >+ > Name: python-virtualenv > Version: 1.7.1.2 >-Release: 2%{?dist} >+Release: 3%{?dist} > Summary: Tool to create isolated Python environments > > Group: Development/Languages >@@ -23,6 +28,10 @@ Requires: python-setuptools, python-devel > BuildRequires: python-setuptools-devel, python-sphinx > Requires: python-setuptools-devel > %endif >+%if 0%{?with_python3} >+BuildRequires: python3-devel >+BuildRequires: python3-setuptools >+%endif > > > %description >@@ -32,11 +41,34 @@ written by Ian Bicking, and sponsored by the Open Planning Project. It is > licensed under an MIT-style permissive license. > > >+ >+%if 0%{?with_python3} >+%package -n python3-virtualenv >+Summary: Tool to create isolated Python3 environments >+Group: Development/Languages >+Requires: python3-setuptools >+ >+%description -n python3-virtualenv >+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. >+ >+This package installs the virtualenv module for Python 3 and virtualenv3 >+program that can create Python 3 environments. >+%endif # with_python3 >+ >+ > %prep > %setup -q -n virtualenv-%{version} > %{__sed} -i -e "1s|#!/usr/bin/env python||" virtualenv.py > %patch0 -p1 > >+%if 0%{?with_python3} >+rm -rf %{py3dir} >+cp -a . %{py3dir} >+%endif # with_python3 >+ > %build > # Build code > %{__python} setup.py build >@@ -46,9 +78,25 @@ licensed under an MIT-style permissive license. > %{__python} setup.py build_sphinx > %endif > >+%if 0%{?with_python3} >+pushd %{py3dir} >+%{__python3} setup.py build >+popd >+%endif # with_python3 >+ > > %install > rm -rf $RPM_BUILD_ROOT >+# Must do the python3 install first because the scripts in /usr/bin are >+# overwritten with every setup.py install (and we want the python2 version >+# to be the default for now). >+%if 0%{?with_python3} >+pushd %{py3dir} >+%{__python3} setup.py install --skip-build --root %{buildroot} >+mv %{buildroot}%{_bindir}/virtualenv %{buildroot}%{_bindir}/virtualenv3 >+popd >+%endif # with_python3 >+ > %{__python} setup.py install --skip-build --root $RPM_BUILD_ROOT > rm -f build/sphinx/html/.buildinfo > >@@ -68,8 +116,19 @@ rm -rf $RPM_BUILD_ROOT > %{python_sitelib}/* > %attr(755,root,root) %{_bindir}/virtualenv > >+%if 0%{?with_python3} >+%files -n python3-virtualenv >+%defattr(-,root,root,-) >+%doc docs/*txt PKG-INFO AUTHORS.txt LICENSE.txt >+%{_bindir}/virtualenv3 >+%{python3_sitelib}/* >+%endif >+ > > %changelog >+* Wed Apr 11 2012 Felix Schwarz <fschwarz@fedoraproject.org> - 1.7.1.2-2 >+- added Python 3 subpackage >+ > * Wed Mar 14 2012 Steve 'Ashcrow' Milner <me@stevemilner.org> - 1.7.1.2-1 > - Update for upstream bug fixes. > - Added patch for sphinx building
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 537246
:
369337
|
491905
|
576707
|
597734