Hello community,
here is the log from the commit of package python-virtualenv-clone for
openSUSE:Factory checked in at 2014-12-10 23:44:46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-virtualenv-clone (Old)
and /work/SRC/openSUSE:Factory/.python-virtualenv-clone.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-virtualenv-clone"
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-virtualenv-clone/python-virtualenv-clone.changes
2013-10-25 11:34:32.000000000 +0200
+++
/work/SRC/openSUSE:Factory/.python-virtualenv-clone.new/python-virtualenv-clone.changes
2014-12-10 23:44:34.000000000 +0100
@@ -1,0 +2,18 @@
+Tue Dec 9 15:41:42 UTC 2014 - [email protected]
+
+- Fix update-alternatives as requested.
+
+-------------------------------------------------------------------
+Mon Dec 1 12:34:42 UTC 2014 - [email protected]
+
+- Update to 2.5
+ * Speed clone_virtualenv up slightly by removing duplicate calls
+ to spawn process
+ * Improve windows compatibility
+ * Ship LICENSE along with the source distribution to pypi.
+ * Added verbose mode with logging.
+ * Bugfixes
+- Implement update alternatives to allow co-install with python 3
+ version.
+
+-------------------------------------------------------------------
Old:
----
virtualenv-clone-0.2.4.tar.bz2
New:
----
virtualenv-clone-0.2.5.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-virtualenv-clone.spec ++++++
--- /var/tmp/diff_new_pack.kTqQUi/_old 2014-12-10 23:44:36.000000000 +0100
+++ /var/tmp/diff_new_pack.kTqQUi/_new 2014-12-10 23:44:36.000000000 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-virtualenv-clone
#
-# 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,19 +17,21 @@
Name: python-virtualenv-clone
-Version: 0.2.4
+Version: 0.2.5
Release: 0
Summary: Script to clone virtualenvs
License: MIT
Group: Development/Languages/Python
Url: http://github.com/edwardgeorge/virtualenv-clone
-Source: virtualenv-clone-%{version}.tar.bz2
+Source: virtualenv-clone-%{version}.tar.gz
BuildRequires: python-devel
BuildRequires: python-setuptools
+Recommends: python-virtualenv
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%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()")}
-%{!?python_sitearch: %global python_sitearch %(python -c "from
distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
%else
BuildArch: noarch
%endif
@@ -76,9 +78,27 @@
%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+# setup up update-alternatives
+mkdir -p %{buildroot}%{_sysconfdir}/alternatives
+touch %{buildroot}%{_sysconfdir}/alternatives/virtualenv-clone
+mv %{buildroot}%{_bindir}/virtualenv-clone
%{buildroot}%{_bindir}/virtualenv-clone-%{py_ver}
+ln -sf %{_sysconfdir}/alternatives/virtualenv-clone
%{buildroot}/%{_bindir}/virtualenv-clone
+
+%post
+update-alternatives \
+ --install %{_bindir}/virtualenv-clone virtualenv-clone
%{_bindir}/virtualenv-clone-%{py_ver} 30
+
+%postun
+if [ $1 -eq 0 ] ; then
+ update-alternatives --remove virtualenv-clone
%{_bindir}/virtualenv-clone-%{py_ver}
+fi
+
%files
%defattr(-,root,root,-)
-%{python_sitelib}/*
+%doc LICENSE README
%{_bindir}/virtualenv-clone
+%{_bindir}/virtualenv-clone-%{py_ver}
+%ghost %{_sysconfdir}/alternatives/virtualenv-clone
+%{python_sitelib}/*
%changelog
--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]