- Update to version 1.10:
+ BACKWARDS INCOMPATIBLE Dropped support for Python 2.5. The minimum supported Python version is now Python 2.6. + BACKWARDS INCOMPATIBLE Using virtualenv.py as an isolated script (i.e. without an associated virtualenv_support directory) is no longer supported for security reasons and will fail with an error. + Along with this, --never-download is now always pinned to True, and is only being maintained in the short term for backward compatibility (Pull #412). + IMPORTANT Switched to the new setuptools (v0.9.7) which has been merged with Distribute again and works for Python 2 and 3 with one codebase. The --distribute and --setuptools options are now no-op. + Updated to pip 1.4. + Added support for PyPy3k + Added the option to use a version number with the -p option to get the system copy of that Python version (Windows only) + Removed embedded ez_setup.py, distribute_setup.py and distribute_from_egg.py files as part of switching to merged setuptools. + Fixed --relocatable to work better on Windows. + Fixed issue with readline on Windows. - Spec clean: + Depend on setuptools instead of distribute again + Package README.rst + Build HTML documentation and install it (instead of sources) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-virtualenv?expand=0&rev=25
This commit is contained in:
parent
1603fca704
commit
bda8666a2b
@ -1,3 +1,30 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 29 14:29:55 UTC 2013 - speilicke@suse.com
|
||||
|
||||
- Update to version 1.10:
|
||||
+ BACKWARDS INCOMPATIBLE Dropped support for Python 2.5. The minimum supported
|
||||
Python version is now Python 2.6.
|
||||
+ BACKWARDS INCOMPATIBLE Using virtualenv.py as an isolated script (i.e.
|
||||
without an associated virtualenv_support directory) is no longer supported
|
||||
for security reasons and will fail with an error.
|
||||
+ Along with this, --never-download is now always pinned to True, and is only
|
||||
being maintained in the short term for backward compatibility (Pull #412).
|
||||
+ IMPORTANT Switched to the new setuptools (v0.9.7) which has been merged with
|
||||
Distribute again and works for Python 2 and 3 with one codebase. The
|
||||
--distribute and --setuptools options are now no-op.
|
||||
+ Updated to pip 1.4.
|
||||
+ Added support for PyPy3k
|
||||
+ Added the option to use a version number with the -p option to get the system
|
||||
copy of that Python version (Windows only)
|
||||
+ Removed embedded ez_setup.py, distribute_setup.py and distribute_from_egg.py
|
||||
files as part of switching to merged setuptools.
|
||||
+ Fixed --relocatable to work better on Windows.
|
||||
+ Fixed issue with readline on Windows.
|
||||
- Spec clean:
|
||||
+ Depend on setuptools instead of distribute again
|
||||
+ Package README.rst
|
||||
+ Build HTML documentation and install it (instead of sources)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 8 13:09:06 UTC 2013 - alexandre@exatati.com.br
|
||||
|
||||
|
@ -16,27 +16,25 @@
|
||||
#
|
||||
|
||||
|
||||
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
||||
|
||||
Name: python-virtualenv
|
||||
Version: 1.9.1
|
||||
Version: 1.10
|
||||
Release: 0
|
||||
Url: http://www.virtualenv.org/
|
||||
Summary: Virtual Python Environment builder
|
||||
License: MIT
|
||||
Group: Development/Languages/Python
|
||||
Source: virtualenv-%{version}.tar.bz2
|
||||
Source: https://pypi.python.org/packages/source/v/virtualenv/virtualenv-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: python-devel
|
||||
Requires: python-distribute
|
||||
# Documentation requirements
|
||||
BuildRequires: python-Sphinx
|
||||
Requires: python-pip
|
||||
%if 0%{?suse_version}
|
||||
%py_requires
|
||||
%if 0%{?suse_version} > 1110
|
||||
Requires: python-setuptools
|
||||
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
|
||||
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||
%else
|
||||
BuildArch: noarch
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%description
|
||||
virtualenv is a tool to create isolated Python environments.
|
||||
@ -62,18 +60,18 @@ libraries either).
|
||||
|
||||
%prep
|
||||
%setup -q -n virtualenv-%{version}
|
||||
rm virtualenv_support/*.{egg,gz} # Remove in-tree libraries that are available as packages too
|
||||
sed -i "1d" virtualenv.py # Remove she-bang line for non-executable script
|
||||
rm virtualenv_support/*.gz # Remove in-tree libraries that are available as packages too
|
||||
|
||||
%build
|
||||
python setup.py build
|
||||
python setup.py build_sphinx
|
||||
|
||||
%install
|
||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc AUTHORS.txt LICENSE.txt docs
|
||||
%doc LICENSE.txt README.rst build/sphinx/html
|
||||
%{_bindir}/virtualenv*
|
||||
%{python_sitelib}/virtualenv*
|
||||
|
||||
|
3
virtualenv-1.10.tar.gz
Normal file
3
virtualenv-1.10.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:e0851ef23c188c819d4f6de3e82521ab1f63fa80e154d30bd823afef73f341b0
|
||||
size 1323297
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ff1befb3852b089a288b087b932d1dc6b75ba0103b7aa3cca16bf5c1b6e8fd85
|
||||
size 1932065
|
Loading…
Reference in New Issue
Block a user