From 613d38b9bac982555201f36e722bfc757810043a4e06fab5347089d2f3594a7e Mon Sep 17 00:00:00 2001 From: Sascha Peilicke Date: Tue, 7 Jan 2014 13:50:50 +0000 Subject: [PATCH] =?UTF-8?q?-=20Update=20to=20version=201.11:=20=20=20+=20B?= =?UTF-8?q?ACKWARDS=20INCOMPATIBLE=20Switched=20to=20using=20wheels=20for?= =?UTF-8?q?=20the=20bundled=20copies=20of=20setuptools=20and=20pip.=20Usin?= =?UTF-8?q?g=20sdists=20is=20no=20longer=20supported=20-=20users=20supplyi?= =?UTF-8?q?ng=20their=20own=20versions=20of=20pip/setuptools=20will=20need?= =?UTF-8?q?=20to=20provide=20wheels.=20=20=20+=20BACKWARDS=20INCOMPATIBLE?= =?UTF-8?q?=20Modified=20the=20handling=20of=20--extra-search-dirs.=20This?= =?UTF-8?q?=20option=20now=20works=20like=20pip=E2=80=99s=20--find-links?= =?UTF-8?q?=20option,=20in=20that=20it=20adds=20extra=20directories=20to?= =?UTF-8?q?=20search=20for=20compatible=20wheels=20for=20pip=20and=20setup?= =?UTF-8?q?tools.=20The=20actual=20wheel=20selected=20is=20chosen=20based?= =?UTF-8?q?=20on=20version=20and=20compatibility,=20using=20the=20same=20a?= =?UTF-8?q?lgorithm=20as=20pip=20install=20setuptools.=20=20=20+=20Upgrade?= =?UTF-8?q?d=20pip=20to=20v1.5=20=20=20+=20Upgraded=20setuptools=20to=20v1?= =?UTF-8?q?.4=20-=20Fix=20non-executable=20script=20warning,=20symlink=20/?= =?UTF-8?q?usr/bin/virtualenv=20in=20buildroot=20(u-a=20warning)=20=20=20a?= =?UTF-8?q?nd=20ghost=20alternatives=20link=20on=2012.3=20or=20newer?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-virtualenv?expand=0&rev=31 --- python-virtualenv.changes | 11 +++++++++++ python-virtualenv.spec | 11 +++++++++-- virtualenv-1.10.1.tar.gz | 3 --- virtualenv-1.11.tar.gz | 3 +++ 4 files changed, 23 insertions(+), 5 deletions(-) delete mode 100644 virtualenv-1.10.1.tar.gz create mode 100644 virtualenv-1.11.tar.gz diff --git a/python-virtualenv.changes b/python-virtualenv.changes index 0d10670..488efeb 100644 --- a/python-virtualenv.changes +++ b/python-virtualenv.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Tue Jan 7 13:38:42 UTC 2014 - speilicke@suse.com + +- Update to version 1.11: + + BACKWARDS INCOMPATIBLE Switched to using wheels for the bundled copies of setuptools and pip. Using sdists is no longer supported - users supplying their own versions of pip/setuptools will need to provide wheels. + + BACKWARDS INCOMPATIBLE Modified the handling of --extra-search-dirs. This option now works like pip’s --find-links option, in that it adds extra directories to search for compatible wheels for pip and setuptools. The actual wheel selected is chosen based on version and compatibility, using the same algorithm as pip install setuptools. + + Upgraded pip to v1.5 + + Upgraded setuptools to v1.4 +- Fix non-executable script warning, symlink /usr/bin/virtualenv in buildroot (u-a warning) + and ghost alternatives link on 12.3 or newer + ------------------------------------------------------------------- Fri Oct 11 08:50:45 UTC 2013 - speilicke@suse.com diff --git a/python-virtualenv.spec b/python-virtualenv.spec index 17d2123..2092454 100644 --- a/python-virtualenv.spec +++ b/python-virtualenv.spec @@ -1,7 +1,7 @@ # # spec file for package python-virtualenv # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: python-virtualenv -Version: 1.10.1 +Version: 1.11 Release: 0 Url: http://www.virtualenv.org/ Summary: Virtual Python Environment builder @@ -62,6 +62,7 @@ libraries either). %prep %setup -q -n virtualenv-%{version} +sed -i "/#!.*/d" virtualenv.py # Fix non-executable script warning %build python setup.py build @@ -69,6 +70,9 @@ python setup.py build_sphinx && rm build/sphinx/html/.buildinfo %install python setup.py install --prefix=%{_prefix} --root=%{buildroot} +# Remove script copy and replace with symlink to please u-a: +rm %{buildroot}%{_bindir}/virtualenv +ln -s %{_bindir}/virtualenv-%{py_ver} %{buildroot}%{_bindir}/virtualenv %pre # Since /usr/bin/virtualenv became ghosted to be used with update-alternatives, we have to @@ -91,5 +95,8 @@ fi %ghost %{_bindir}/virtualenv %{_bindir}/virtualenv-%{py_ver} %{python_sitelib}/virtualenv* +%if 0%{?suse_version} >= 1230 +%ghost %{_sysconfdir}/alternatives/virtualenv +%endif %changelog diff --git a/virtualenv-1.10.1.tar.gz b/virtualenv-1.10.1.tar.gz deleted file mode 100644 index 90ca3f4..0000000 --- a/virtualenv-1.10.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:857449d69b9ec7d058dcc2e37c53d3895432300881aa61fd2ade178a807b0aa7 -size 1325303 diff --git a/virtualenv-1.11.tar.gz b/virtualenv-1.11.tar.gz new file mode 100644 index 0000000..10c8678 --- /dev/null +++ b/virtualenv-1.11.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c2cdd26de719760508ff1c440adbb058fce25a35b334a80e917d951d8f45aef6 +size 1559703