Hello community,
here is the log from the commit of package python-virtualenvwrapper for
openSUSE:Factory checked in at 2019-12-16 15:20:35
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-virtualenvwrapper (Old)
and /work/SRC/openSUSE:Factory/.python-virtualenvwrapper.new.4691 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-virtualenvwrapper"
Mon Dec 16 15:20:35 2019 rev:24 rq:757257 version:4.8.4
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-virtualenvwrapper/python-virtualenvwrapper.changes
2019-05-27 08:38:29.663068425 +0200
+++
/work/SRC/openSUSE:Factory/.python-virtualenvwrapper.new.4691/python-virtualenvwrapper.changes
2019-12-16 15:20:40.019131708 +0100
@@ -1,0 +2,6 @@
+Sun Dec 15 17:10:58 UTC 2019 - Kristyna Streitova <[email protected]>
+
+- add virtualenvwrapper-4.8.4-python_version.patch to use python3
+ instead of python2
+
+-------------------------------------------------------------------
New:
----
virtualenvwrapper-4.8.4-python_version.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-virtualenvwrapper.spec ++++++
--- /var/tmp/diff_new_pack.9fyfY5/_old 2019-12-16 15:20:40.775131392 +0100
+++ /var/tmp/diff_new_pack.9fyfY5/_new 2019-12-16 15:20:40.775131392 +0100
@@ -26,6 +26,7 @@
Group: Development/Languages/Python
URL: https://virtualenvwrapper.readthedocs.io/
Source:
https://files.pythonhosted.org/packages/source/v/virtualenvwrapper/virtualenvwrapper-%{version}.tar.gz
+Patch0: virtualenvwrapper-4.8.4-python_version.patch
BuildRequires: %{python_module pbr}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
@@ -60,6 +61,7 @@
%prep
%setup -q -n virtualenvwrapper-%{version}
sed -i -e '1i#!/bin/sh' virtualenvwrapper.sh
+%patch0 -p1
%build
%python_build
++++++ virtualenvwrapper-4.8.4-python_version.patch ++++++
Index: virtualenvwrapper-4.8.4/virtualenvwrapper.sh
===================================================================
--- virtualenvwrapper-4.8.4.orig/virtualenvwrapper.sh
+++ virtualenvwrapper-4.8.4/virtualenvwrapper.sh
@@ -47,7 +47,7 @@
# Locate the global Python where virtualenvwrapper is installed.
if [ "${VIRTUALENVWRAPPER_PYTHON:-}" = "" ]
then
- VIRTUALENVWRAPPER_PYTHON="$(command \which python)"
+ VIRTUALENVWRAPPER_PYTHON="$(command \which python3)"
fi
# Set the name of the virtualenv app to use.