From 613d38b9bac982555201f36e722bfc757810043a4e06fab5347089d2f3594a7e Mon Sep 17 00:00:00 2001 From: Sascha Peilicke Date: Tue, 7 Jan 2014 13:50:50 +0000 Subject: [PATCH 1/5] =?UTF-8?q?-=20Update=20to=20version=201.11:=20=20=20+?= =?UTF-8?q?=20BACKWARDS=20INCOMPATIBLE=20Switched=20to=20using=20wheels=20?= =?UTF-8?q?for=20the=20bundled=20copies=20of=20setuptools=20and=20pip.=20U?= =?UTF-8?q?sing=20sdists=20is=20no=20longer=20supported=20-=20users=20supp?= =?UTF-8?q?lying=20their=20own=20versions=20of=20pip/setuptools=20will=20n?= =?UTF-8?q?eed=20to=20provide=20wheels.=20=20=20+=20BACKWARDS=20INCOMPATIB?= =?UTF-8?q?LE=20Modified=20the=20handling=20of=20--extra-search-dirs.=20Th?= =?UTF-8?q?is=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 From b6b8c37c4f074fd3729d45730497ad8669c350c5f6c7935b6c0d5c6d9a75f0d7 Mon Sep 17 00:00:00 2001 From: Sascha Peilicke Date: Tue, 7 Jan 2014 13:54:08 +0000 Subject: [PATCH 2/5] - Symlink /usr/bin/virtualenv in buildroot (u-a warning) and ghost alternatives link on 12.3 or newer OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-virtualenv?expand=0&rev=32 --- python-virtualenv.changes | 3 +-- python-virtualenv.spec | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/python-virtualenv.changes b/python-virtualenv.changes index 488efeb..b43ec75 100644 --- a/python-virtualenv.changes +++ b/python-virtualenv.changes @@ -6,8 +6,7 @@ Tue Jan 7 13:38:42 UTC 2014 - speilicke@suse.com + 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 +- 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 2092454..5ec62b7 100644 --- a/python-virtualenv.spec +++ b/python-virtualenv.spec @@ -62,7 +62,6 @@ libraries either). %prep %setup -q -n virtualenv-%{version} -sed -i "/#!.*/d" virtualenv.py # Fix non-executable script warning %build python setup.py build From e5cc247c074954ce8a82736a164abf964b6c6f95a3085712054adcfa2066ed2f Mon Sep 17 00:00:00 2001 From: Sascha Peilicke Date: Tue, 7 Jan 2014 14:04:00 +0000 Subject: [PATCH 3/5] - Drop requires on python-pip and python-setuptools, virtualenv ships it's own copies OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-virtualenv?expand=0&rev=33 --- python-virtualenv.changes | 1 + python-virtualenv.spec | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/python-virtualenv.changes b/python-virtualenv.changes index b43ec75..a1fbc57 100644 --- a/python-virtualenv.changes +++ b/python-virtualenv.changes @@ -7,6 +7,7 @@ Tue Jan 7 13:38:42 UTC 2014 - speilicke@suse.com + Upgraded pip to v1.5 + Upgraded setuptools to v1.4 - Symlink /usr/bin/virtualenv in buildroot (u-a warning) and ghost alternatives link on 12.3 or newer +- Drop requires on python-pip and python-setuptools, virtualenv ships it's own copies ------------------------------------------------------------------- Fri Oct 11 08:50:45 UTC 2013 - speilicke@suse.com diff --git a/python-virtualenv.spec b/python-virtualenv.spec index 5ec62b7..db9a1b3 100644 --- a/python-virtualenv.spec +++ b/python-virtualenv.spec @@ -28,8 +28,6 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: python-devel # Documentation requirements BuildRequires: python-Sphinx -Requires: python-pip -Requires: python-setuptools Requires(post): update-alternatives Requires(postun): update-alternatives %if 0%{?suse_version} && 0%{?suse_version} <= 1110 From 74e110b8dfa614bc8cc1dad7ed85e2a53a808cb6cd7d67ea5abe16852f135b87 Mon Sep 17 00:00:00 2001 From: Sascha Peilicke Date: Tue, 7 Jan 2014 14:15:47 +0000 Subject: [PATCH 4/5] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-virtualenv?expand=0&rev=34 --- python-virtualenv.changes | 1 - python-virtualenv.spec | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/python-virtualenv.changes b/python-virtualenv.changes index a1fbc57..b43ec75 100644 --- a/python-virtualenv.changes +++ b/python-virtualenv.changes @@ -7,7 +7,6 @@ Tue Jan 7 13:38:42 UTC 2014 - speilicke@suse.com + Upgraded pip to v1.5 + Upgraded setuptools to v1.4 - Symlink /usr/bin/virtualenv in buildroot (u-a warning) and ghost alternatives link on 12.3 or newer -- Drop requires on python-pip and python-setuptools, virtualenv ships it's own copies ------------------------------------------------------------------- Fri Oct 11 08:50:45 UTC 2013 - speilicke@suse.com diff --git a/python-virtualenv.spec b/python-virtualenv.spec index db9a1b3..5ec62b7 100644 --- a/python-virtualenv.spec +++ b/python-virtualenv.spec @@ -28,6 +28,8 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: python-devel # Documentation requirements BuildRequires: python-Sphinx +Requires: python-pip +Requires: python-setuptools Requires(post): update-alternatives Requires(postun): update-alternatives %if 0%{?suse_version} && 0%{?suse_version} <= 1110 From 408583fd712df64b4fb6ee4c2c796363e5c36ddc78437d5df00a724ae301232c Mon Sep 17 00:00:00 2001 From: Sascha Peilicke Date: Wed, 8 Jan 2014 12:27:28 +0000 Subject: [PATCH 5/5] =?UTF-8?q?+=20BACKWARDS=20INCOMPATIBLE=20Switched=20t?= =?UTF-8?q?o=20using=20wheels=20for=20the=20bundled=20=20=20=20=20copies?= =?UTF-8?q?=20of=20setuptools=20and=20pip.=20Using=20sdists=20is=20no=20lo?= =?UTF-8?q?nger=20supported=20=20=20+=20BACKWARDS=20INCOMPATIBLE=20Modifie?= =?UTF-8?q?d=20the=20handling=20of=20--extra-search-dirs.=20=20=20=20=20Th?= =?UTF-8?q?is=20option=20now=20works=20like=20pip=E2=80=99s=20--find-links?= =?UTF-8?q?=20option,=20in=20that=20it=20=20=20=20=20adds=20extra=20direct?= =?UTF-8?q?ories=20to=20search=20for=20compatible=20wheels=20for=20pip=20a?= =?UTF-8?q?nd=20=20=20=20=20setuptools.=20The=20actual=20wheel=20selected?= =?UTF-8?q?=20is=20chosen=20based=20on=20version=20=20=20=20=20and=20compa?= =?UTF-8?q?tibility,=20using=20the=20same=20algorithm=20as=20pip=20install?= =?UTF-8?q?=20setuptools.=20-=20Symlink=20/usr/bin/virtualenv=20in=20build?= =?UTF-8?q?root=20(u-a=20warning)=20and=20ghost=20=20=20alternatives=20lin?= =?UTF-8?q?k=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=35 --- python-virtualenv.changes | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/python-virtualenv.changes b/python-virtualenv.changes index b43ec75..23e575d 100644 --- a/python-virtualenv.changes +++ b/python-virtualenv.changes @@ -2,11 +2,17 @@ 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. + + BACKWARDS INCOMPATIBLE Switched to using wheels for the bundled + copies of setuptools and pip. Using sdists is no longer supported + + 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 -- Symlink /usr/bin/virtualenv in buildroot (u-a warning) and ghost alternatives link on 12.3 or newer +- 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