Hello community,
here is the log from the commit of package python-virtualenvwrapper for
openSUSE:Factory checked in at 2013-10-14 14:30:52
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-virtualenvwrapper (Old)
and /work/SRC/openSUSE:Factory/.python-virtualenvwrapper.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-virtualenvwrapper"
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-virtualenvwrapper/python-virtualenvwrapper.changes
2013-05-13 15:30:11.000000000 +0200
+++
/work/SRC/openSUSE:Factory/.python-virtualenvwrapper.new/python-virtualenvwrapper.changes
2013-10-14 14:30:53.000000000 +0200
@@ -1,0 +2,26 @@
+Sat Oct 12 16:42:19 UTC 2013 - [email protected]
+
+- Implement update-alternative
+
+-------------------------------------------------------------------
+Sat Oct 12 15:29:13 UTC 2013 - [email protected]
+
+- Update to version 4.1.1
+ + Fix packaging issue with 4.1
+- Changes between version 4.1 and 4.0
+ + Ensure that all $() style commands that produce paths are quoted.
+ Addresses issue 164.
+ + Add wipeenv command for removing all packages installed in the virtualenv.
+ + Allow users of virtualenvwrapper_lazy.sh to extend the list of API
+ commands that trigger the lazy-loader by extending _VIRTUALENVWRAPPER_API.
+ + Fix detection of --python option to mkvirtualenv. Resolves issue 190.
+ + Add allvirtualenv command to run a command across all virtualenvs.
+ + Fix lsvirtualenv when there are spaces in WORKON_HOME.
+ Resolves issue 194.
+ + Switch to pbr for packaging
+- Add documentation from tarball and generated documentation
+- Add python-pbr BuildRequirement; new build requirement needed to build
+- Replace python-distribute with python-setuptools BuildRequires
+- Use download URL as source
+
+-------------------------------------------------------------------
Old:
----
virtualenvwrapper-4.0.tar.bz2
New:
----
virtualenvwrapper-4.1.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-virtualenvwrapper.spec ++++++
--- /var/tmp/diff_new_pack.CjKy1u/_old 2013-10-14 14:30:55.000000000 +0200
+++ /var/tmp/diff_new_pack.CjKy1u/_new 2013-10-14 14:30:55.000000000 +0200
@@ -17,19 +17,22 @@
Name: python-virtualenvwrapper
-Version: 4.0
+Version: 4.1.1
Release: 0
Url: http://www.doughellmann.com/projects/virtualenvwrapper/
Summary: Enhancements to virtualenv
License: HPND
Group: Development/Languages/Python
-Source: virtualenvwrapper-%{version}.tar.bz2
+Source:
https://pypi.python.org/packages/source/v/virtualenvwrapper/virtualenvwrapper-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: python-devel
-BuildRequires: python-distribute
+BuildRequires: python-pbr
+BuildRequires: python-setuptools
Requires: python-stevedore
Requires: python-virtualenv
Requires: python-virtualenv-clone
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
%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
@@ -60,11 +63,36 @@
%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:
+[[ ! -L %{_bindir}/virtualenvwrapper.sh ]] && rm -f
%{_bindir}/virtualenvwrapper.sh
+[[ ! -L %{_bindir}/virtualenvwrapper_lazy.sh ]] && rm -f
%{_bindir}/virtualenvwrapper_lazy.sh
+exit 0
+
+%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
+
+
+%preun
+if [ $1 -eq 0 ] ; then
+ update-alternatives --remove virtualenvwrapper.sh
%{_bindir}/virtualenvwrapper.sh-%{py_ver}
+fi
%files
%defattr(-,root,root,-)
+%doc README.txt README.ja.rst README.es.rst LICENSE announce.rst
%{python_sitelib}/*
-%{_bindir}/virtualenvwrapper.sh
-%{_bindir}/virtualenvwrapper_lazy.sh
+%ghost %{_bindir}/virtualenvwrapper.sh
+%{_bindir}/virtualenvwrapper-%{py_ver}.sh
+%ghost %{_bindir}/virtualenvwrapper_lazy.sh
+%{_bindir}/virtualenvwrapper_lazy-%{py_ver}.sh
%changelog
--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]