14
0

Accepting request 394523 from home:TheBlackCat:branches:devel:languages:python

Update to 4.7.1

OBS-URL: https://build.opensuse.org/request/show/394523
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-virtualenvwrapper?expand=0&rev=53
This commit is contained in:
Todd R
2016-05-09 18:52:59 +00:00
committed by Git OBS Bridge
parent 2cb0ec1e2e
commit 060fe92123
4 changed files with 90 additions and 23 deletions

View File

@@ -1,3 +1,60 @@
-------------------------------------------------------------------
Mon May 9 18:29:59 UTC 2016 - toddrme2178@gmail.com
- Update to 4.7.1
* enhance verbose output of hook loader
* Merged in erilem/virtualenvwrapper/user-scheme-installation (pull request #38)
* Change install docs to use --user
- Update to 4.7.0
* Merged in gnawybol/virtualenvwrapper/support_MINGW64 (pull request #36
* Detect MSYS if MSYSTEM is MINGW64
* Merged in kdeldycke/virtualenvwrapper/kdeldycke/restore-overridden-cd-command-to-its-def-1435073839852 (pull request #34)
* Restore overridden cd command to its default builtin behaviour
- Update to 4.6.0
* remove some explicit tox environments
* Merged in jessamynsmith/virtualenvwrapper/py34 (pull request #30)
* quiet some of the lsvirtualenv tests
* add test for previous patch
* Merged in robsonpeixoto/virtualenvwrapper/bug/265 (pull request #33)
* Removes empty when list all virtualenvs
* Merged in justinabrahms/virtualenvwrapper/justinabrahms/update-links-and-name-for-venv-post-1431982402822 (pull request #32)
* Update links and name for venv post
* Added testing and updated docs for python 3.4
- Update to 4.5.1
* Merged in jessamynsmith/virtualenvwrapper/env_with_space (pull request #28
* Changes as per code review
* Added tests to verify that cpvirtualenv, lsvirtualenv, and mkproject work with spaces in env names
* Made rmvirtualenv work with spaces
* Added tests for leading spaces (trailing spaces don't work in Linux, so don't test them)
* Made lsvirtualenv and allvirtualenv work with spaces in env names
* Made cd command work with space in virtualenv name
* Fixed ordering in asserts for workon tests
* Made workon fully support virtualenvs with spaces in names
* fix default for VIRTUALENVWRAPPER_WORKON_CD
- Update to 4.5.0
* Add -c/-n options to mktmpenv
* update mktmpenv test to assert changed directory
* Add test for creating venv with space in name
- Update to 4.4.1
* Touch temporary file after a name is created
* document 'workon .' and give attribution
* Support "workon ."
* fix pep8 error
* make cd after workon optional
* fix sphinx build
* Merged in hjwp/virtualenvwrapper (pull request #25)
* Stop mangling the python argument to virtualenv
* ignore -f lines in pip freeze output
* Merged in bittner/virtualenvwrapper (pull request #22)
* hacked attempt to get round MSYS_HOME environ dependency on windows/git-bash/msys
* Change "distribute" to "setuptools" in docs
* Merged in jessamynsmith/virtualenvwrapper (pull request #23)
* Override tox's desire to install pre-releases
* Reworded the documentation around user scripts vs plugin creation, to make it more clear which one you need. Also added a simple example of user scripts
* do not install distribute in test environments
* Correct spelling of "Bitbucket"
* Update issue tracker URL
-------------------------------------------------------------------
Sat Apr 4 14:55:10 UTC 2015 - benoit.monin@gmx.fr

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-virtualenvwrapper
#
# 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-virtualenvwrapper
Version: 4.3.2
Version: 4.7.1
Release: 0
Url: http://www.doughellmann.com/projects/virtualenvwrapper/
Summary: Enhancements to virtualenv
@@ -29,6 +29,9 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: python-devel
BuildRequires: python-pbr
BuildRequires: python-setuptools
BuildRequires: python-stevedore
BuildRequires: python-virtualenv
Requires: python-virtualenv-clone
Requires: python-stevedore
Requires: python-virtualenv
Requires: python-virtualenv-clone
@@ -65,34 +68,41 @@ python setup.py build
%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
mv %{buildroot}%{_bindir}/virtualenvwrapper_lazy.sh %{buildroot}%{_bindir}/virtualenvwrapper_lazy-%{py_ver}.sh
mv %{buildroot}%{_bindir}/virtualenvwrapper.sh %{buildroot}%{_bindir}/virtualenvwrapper-%{py_ver}.sh
ln -s %{_bindir}/virtualenvwrapper-%{py_ver}.sh %{buildroot}%{_bindir}/virtualenvwrapper.sh
ln -s %{_bindir}/virtualenvwrapper_lazy-%{py_ver}.sh %{buildroot}%{_bindir}/virtualenvwrapper_lazy.sh
%pre
# Since python scripts 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}/virtualenvwrapper.sh ] || rm -f %{_bindir}/virtualenvwrapper.sh
[ -h %{_bindir}/virtualenvwrapper_lazy.sh ] || rm -f %{_bindir}/virtualenvwrapper_lazy.sh
mv %{buildroot}%{_bindir}/virtualenvwrapper.sh %{buildroot}%{_bindir}/virtualenvwrapper
mv %{buildroot}%{_bindir}/virtualenvwrapper_lazy.sh %{buildroot}%{_bindir}/virtualenvwrapper_lazy
# Prepare for update-alternatives usage
mkdir -p %{buildroot}%{_sysconfdir}/alternatives
for p in virtualenvwrapper virtualenvwrapper_lazy ; do
mv %{buildroot}%{_bindir}/$p %{buildroot}%{_bindir}/$p-%{py_ver}
ln -s -f %{_sysconfdir}/alternatives/$p %{buildroot}%{_bindir}/$p
# create a dummy target for /etc/alternatives/$p
touch %{buildroot}%{_sysconfdir}/alternatives/$p
done
%post
update-alternatives \
--install %{_bindir}/virtualenvwrapper.sh virtualenvwrapper.sh %{_bindir}/virtualenvwrapper-%{py_ver}.sh 30 \
--slave %{_bindir}/virtualenvwrapper_lazy.sh virtualenvwrapper_lazy.sh %{_bindir}/virtualenvwrapper_lazy-%{py_ver}.sh
"%_sbindir/update-alternatives" \
--install %{_bindir}/virtualenvwrapper virtualenvwrapper %{_bindir}/virtualenvwrapper-%{py_ver} 30 \
--slave %{_bindir}/virtualenvwrapper_lazy virtualenvwrapper_lazy %{_bindir}/virtualenvwrapper_lazy-%{py_ver}
%preun
%postun
if [ $1 -eq 0 ] ; then
update-alternatives --remove virtualenvwrapper.sh %{_bindir}/virtualenvwrapper.sh-%{py_ver}
"%_sbindir/update-alternatives" --remove virtualenvwrapper %{_bindir}/virtualenvwrapper-%{py_ver}
fi
# %check
# sh tests/run_tests
%files
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog LICENSE README.txt README.es.rst README.ja.rst
%{_bindir}/virtualenvwrapper
%{_bindir}/virtualenvwrapper_lazy
%{_bindir}/virtualenvwrapper-%{py_ver}
%{_bindir}/virtualenvwrapper_lazy-%{py_ver}
%ghost %{_sysconfdir}/alternatives/virtualenvwrapper
%ghost %{_sysconfdir}/alternatives/virtualenvwrapper_lazy
%{python_sitelib}/*
%ghost %{_bindir}/virtualenvwrapper.sh
%{_bindir}/virtualenvwrapper-%{py_ver}.sh
%ghost %{_bindir}/virtualenvwrapper_lazy.sh
%{_bindir}/virtualenvwrapper_lazy-%{py_ver}.sh
%changelog

View File

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

View File

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