1
0

Accepting request 424646 from home:apersaud:branches:devel:languages:python

update to latest version, fix update-alternatives to be the same as for dlp3

OBS-URL: https://build.opensuse.org/request/show/424646
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-virtualenv?expand=0&rev=52
This commit is contained in:
Dirk Mueller 2016-09-07 08:56:23 +00:00 committed by Git OBS Bridge
parent eb538859c2
commit 188bfb63a3
6 changed files with 147 additions and 19 deletions

View File

@ -1,3 +1,69 @@
-------------------------------------------------------------------
Tue Mar 8 03:45:37 UTC 2016 - arun@gmx.de
- specfile:
* update copyright
- update to version 15.0.0:
* Remove the virtualenv-N.N script from the package; this can no
longer be correctly created from a wheel installation. Resolves
#851, #692
* Remove accidental runtime dependency on pip by extracting
certificate in the subprocess.
* Upgrade setuptools 20.2.2.
* Upgrade pip to 8.1.0.
- changes from version 14.0.6:
* Upgrade setuptools to 20.0
* Upgrade wheel to 0.29.0
* Fix an error where virtualenv didnt pass in a working ssl
certificate for pip, causing “weird” errors related to ssl.
- changes from version 14.0.5:
* Homogenize drive letter casing for both prefixes and
filenames. #858
- changes from version 14.0.4:
* Upgrade setuptools to 19.6.2
* Revert ac4ea65; only correct drive letter case. Fixes #856, #815
- changes from version 14.0.3:
* Upgrade setuptools to 19.6.1
- changes from version 14.0.2:
* Upgrade setuptools to 19.6
* Supress any errors from unset on different shells (PR #843)
* Normalize letter case for prefix path checking. Fixes #837
- changes from version 14.0.1:
* Upgrade from pip 8.0.0 to 8.0.2.
* Fix the default of --(no-)download to default to downloading.
- changes from version 14.0.0:
* BACKWARDS INCOMPATIBLE Drop support for Python 3.2.
* Upgrade setuptools to 19.4
* Upgrade wheel to 0.26.0
* Upgrade pip to 8.0.0
* Upgrade argparse to 1.4.0
* Added support for python-config script (PR #798)
* Updated activate.fish (PR #589) (PR #799)
* Account for a site.pyo correctly in some python implementations
(PR #759)
* Properly restore an empty PS1 (#407)
* Properly remove pydoc when deactivating
* Remove workaround for very old Mageia / Mandriva linuxes (PR #472)
* Added a space after virtualenv name in the prompt: (env) $PS1
* Make sure not to run a user install when creating the virtualenv
(PR #803)
* Remove virtualenv.pys path from sys.path when executing with a
new python. Fixes issue #779, #763 (PR #805)
* Remove use of () in .bat files so Program Files (x86) works #35
* Download new releases of the preinstalled software from PyPI when
there are new releases available. This behavior can be disabled
using --no-download.
* Make --no-setuptools, --no-pip, and --no-wheel independent of each
other.
-------------------------------------------------------------------
Wed Jul 29 12:41:42 UTC 2015 - toddrme2178@gmail.com

View File

@ -1,7 +1,7 @@
#
# spec file for package python-virtualenv-doc
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2016 SUSE LINUX 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-doc
Version: 13.1.2
Version: 15.0.0
Release: 0
Url: http://www.virtualenv.org/
Summary: Documentation for python-virtualenv

View File

@ -1,3 +1,70 @@
-------------------------------------------------------------------
Tue Mar 8 03:45:37 UTC 2016 - arun@gmx.de
- specfile:
* update copyright
* fix update-alternatives
- update to version 15.0.0:
* Remove the virtualenv-N.N script from the package; this can no
longer be correctly created from a wheel installation. Resolves
#851, #692
* Remove accidental runtime dependency on pip by extracting
certificate in the subprocess.
* Upgrade setuptools 20.2.2.
* Upgrade pip to 8.1.0.
- changes from version 14.0.6:
* Upgrade setuptools to 20.0
* Upgrade wheel to 0.29.0
* Fix an error where virtualenv didnt pass in a working ssl
certificate for pip, causing “weird” errors related to ssl.
- changes from version 14.0.5:
* Homogenize drive letter casing for both prefixes and
filenames. #858
- changes from version 14.0.4:
* Upgrade setuptools to 19.6.2
* Revert ac4ea65; only correct drive letter case. Fixes #856, #815
- changes from version 14.0.3:
* Upgrade setuptools to 19.6.1
- changes from version 14.0.2:
* Upgrade setuptools to 19.6
* Supress any errors from unset on different shells (PR #843)
* Normalize letter case for prefix path checking. Fixes #837
- changes from version 14.0.1:
* Upgrade from pip 8.0.0 to 8.0.2.
* Fix the default of --(no-)download to default to downloading.
- changes from version 14.0.0:
* BACKWARDS INCOMPATIBLE Drop support for Python 3.2.
* Upgrade setuptools to 19.4
* Upgrade wheel to 0.26.0
* Upgrade pip to 8.0.0
* Upgrade argparse to 1.4.0
* Added support for python-config script (PR #798)
* Updated activate.fish (PR #589) (PR #799)
* Account for a site.pyo correctly in some python implementations
(PR #759)
* Properly restore an empty PS1 (#407)
* Properly remove pydoc when deactivating
* Remove workaround for very old Mageia / Mandriva linuxes (PR #472)
* Added a space after virtualenv name in the prompt: (env) $PS1
* Make sure not to run a user install when creating the virtualenv
(PR #803)
* Remove virtualenv.pys path from sys.path when executing with a
new python. Fixes issue #779, #763 (PR #805)
* Remove use of () in .bat files so Program Files (x86) works #35
* Download new releases of the preinstalled software from PyPI when
there are new releases available. This behavior can be disabled
using --no-download.
* Make --no-setuptools, --no-pip, and --no-wheel independent of each
other.
-------------------------------------------------------------------
Wed Sep 16 15:50:53 UTC 2015 - rhafer@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package python-virtualenv
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2016 SUSE LINUX 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: 13.1.2
Version: 15.0.0
Release: 0
Url: http://www.virtualenv.org/
Summary: Virtual Python Environment builder
@ -65,18 +65,15 @@ python setup.py build
%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
# get rid of the old binary resulting from the non-update-alternativies-ified package:
[ -h %{_bindir}/virtualenv ] || rm -f %{_bindir}/virtualenv
# create update-alternatives
mkdir -p %{buildroot}%{_sysconfdir}/alternatives
mv %{buildroot}%{_bindir}/virtualenv %{buildroot}%{_bindir}/virtualenv-%{py_ver}
ln -s -f %{_sysconfdir}/alternatives/virtualenv %{buildroot}%{_bindir}/virtualenv
touch %{buildroot}%{_sysconfdir}/alternatives/virtualenv
%post
update-alternatives \
--install %{_bindir}/virtualenv virtualenv %{_bindir}/virtualenv-%{py_ver} 20
--install %{_bindir}/virtualenv virtualenv %{_bindir}/virtualenv-%{py_ver} 20
%preun
if [ $1 -eq 0 ] ; then
@ -86,11 +83,9 @@ fi
%files
%defattr(-,root,root,-)
%doc LICENSE.txt README.rst
%ghost %{_bindir}/virtualenv
%{_bindir}/virtualenv
%{_bindir}/virtualenv-%{py_ver}
%{python_sitelib}/virtualenv*
%if 0%{?suse_version} >= 1230
%ghost %{_sysconfdir}/alternatives/virtualenv
%endif
%changelog

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:aabc8ef18cddbd8a2a9c7f92bc43e2fea54b1147330d65db920ef3ce9812e3dc
size 1719609

3
virtualenv-15.0.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:70d63fb7e949d07aeb37f6ecc94e8b60671edb15b890aa86dba5dfaf2225dc19
size 1842672