From bda8666a2bbeb44af7f7e60b0fb78e169d26f05e954d4fb59dd34babb8e0b173 Mon Sep 17 00:00:00 2001 From: Sascha Peilicke Date: Mon, 29 Jul 2013 14:34:37 +0000 Subject: [PATCH] - 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 --- python-virtualenv.changes | 27 +++++++++++++++++++++++++++ python-virtualenv.spec | 24 +++++++++++------------- virtualenv-1.10.tar.gz | 3 +++ virtualenv-1.9.1.tar.bz2 | 3 --- 4 files changed, 41 insertions(+), 16 deletions(-) create mode 100644 virtualenv-1.10.tar.gz delete mode 100644 virtualenv-1.9.1.tar.bz2 diff --git a/python-virtualenv.changes b/python-virtualenv.changes index 9c072c3..278c691 100644 --- a/python-virtualenv.changes +++ b/python-virtualenv.changes @@ -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 diff --git a/python-virtualenv.spec b/python-virtualenv.spec index 424a2af..9a02f2d 100644 --- a/python-virtualenv.spec +++ b/python-virtualenv.spec @@ -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* diff --git a/virtualenv-1.10.tar.gz b/virtualenv-1.10.tar.gz new file mode 100644 index 0000000..574ebaf --- /dev/null +++ b/virtualenv-1.10.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e0851ef23c188c819d4f6de3e82521ab1f63fa80e154d30bd823afef73f341b0 +size 1323297 diff --git a/virtualenv-1.9.1.tar.bz2 b/virtualenv-1.9.1.tar.bz2 deleted file mode 100644 index 7bd6851..0000000 --- a/virtualenv-1.9.1.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ff1befb3852b089a288b087b932d1dc6b75ba0103b7aa3cca16bf5c1b6e8fd85 -size 1932065