Hello community,
here is the log from the commit of package python3-mock for openSUSE:Factory checked in at 2014-02-13 15:02:56
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python3-mock (Old)
and /work/SRC/openSUSE:Factory/.python3-mock.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python3-mock"
Changes:
--------
--- /work/SRC/openSUSE:Factory/python3-mock/python3-mock.changes 2013-08-27 21:22:10.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python3-mock.new/python3-mock.changes 2014-02-13 15:02:57.000000000 +0100
@@ -1,0 +2,8 @@
+Wed Feb 12 11:03:45 UTC 2014 - speilicke@suse.com
+
+- Add mock-unittest2py27.patch: For py3.2+, the stdlib unittest module
+ is sufficient
+- Remove python-unittest2 requirement
+- Use python-setuptools instead of distribute (upstreams merged)
+
+-------------------------------------------------------------------
New:
----
mock-unittest2py27.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python3-mock.spec ++++++
--- /var/tmp/diff_new_pack.0n9IWi/_old 2014-02-13 15:02:57.000000000 +0100
+++ /var/tmp/diff_new_pack.0n9IWi/_new 2014-02-13 15:02:57.000000000 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python3-mock
#
-# 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
@@ -24,11 +24,13 @@
License: BSD-2-Clause
Group: Development/Languages/Python
Source: http://pypi.python.org/packages/source/m/mock/mock-%{version}.tar.gz
+# PATCH-FIX-UPSTREAM speilicke@suse.com -- http://code.google.com/p/mock/issues/detail?id=194
+Patch0: mock-unittest2py27.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
+#NOTE(saschpe): Need 'python3' for the xml module:
BuildRequires: python3
BuildRequires: python3-devel
-BuildRequires: python3-distribute
-BuildRequires: python3-unittest2
+BuildRequires: python3-setuptools
BuildArch: noarch
%description
@@ -40,6 +42,7 @@
%prep
%setup -q -n mock-%{version}
+%patch0 -p1
rm -rf html/.doctrees # Remove junk
%build
@@ -49,7 +52,7 @@
python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
%check
-unit2-python%{py3_ver} discover
+python3 setup.py test
%files
%defattr(-,root,root,-)
++++++ mock-unittest2py27.patch ++++++
# HG changeset patch
# User Sascha Peilicke