Hello community,

here is the log from the commit of package python-mock for openSUSE:Factory 
checked in at 2013-01-17 10:02:38
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-mock (Old)
 and      /work/SRC/openSUSE:Factory/.python-mock.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-mock", Maintainer is "[email protected]"

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-mock/python-mock.changes  2012-11-25 
13:50:36.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.python-mock.new/python-mock.changes     
2013-01-17 10:02:39.000000000 +0100
@@ -1,0 +2,5 @@
+Fri Jan 11 15:12:13 UTC 2013 - [email protected]
+
+- Initial python3 support
+
+-------------------------------------------------------------------
New Changes file:

--- /dev/null   2013-01-09 19:40:42.352580873 +0100
+++ /work/SRC/openSUSE:Factory/.python-mock.new/python3-mock.changes    
2013-01-17 10:02:39.000000000 +0100
@@ -0,0 +1,5 @@
+-------------------------------------------------------------------
+Fri Jan 11 15:12:29 UTC 2013 - [email protected]
+
+- Initial python3 support
+

New:
----
  python3-mock.changes
  python3-mock.spec

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-mock.spec ++++++
--- /var/tmp/diff_new_pack.La8spH/_old  2013-01-17 10:02:40.000000000 +0100
+++ /var/tmp/diff_new_pack.La8spH/_new  2013-01-17 10:02:40.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-mock
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 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

++++++ python3-mock.spec ++++++
#
# spec file for package python3-mock
#
# Copyright (c) 2013 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
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


Name:           python3-mock
Version:        1.0.1
Release:        0
Url:            http://www.voidspace.org.uk/python/mock/
Summary:        A Python Mocking and Patching Library for Testing
License:        BSD-3-Clause
Group:          Development/Languages/Python
Source:         
http://pypi.python.org/packages/source/m/mock/mock-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  python3
BuildRequires:  python3-devel
BuildRequires:  python3-distribute
BuildRequires:  python3-unittest2
BuildArch:      noarch

%description
mock is a Python module that provides a core Mock class. It removes the need
to create a host of stubs throughout your test suite. After performing an
action, you can make assertions about which methods / attributes were used and
arguments they were called with. You can also specify return values and set
needed attributes in the normal way.

%prep
%setup -q -n mock-%{version}
rm -rf html/.doctrees # Remove junk

%build
python3 setup.py build

%install
python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}

%check
unit2-python%{py3_ver} discover

%files
%defattr(-,root,root,-)
%doc README.txt html
%{python3_sitelib}/*

%changelog
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to