Hello community,

here is the log from the commit of package python-mock for openSUSE:Factory
checked in at Mon Sep 5 18:13:59 CEST 2011.



--------
New Changes file:

--- /dev/null   2010-08-26 16:28:41.000000000 +0200
+++ python-mock/python-mock.changes     2011-09-02 10:53:14.000000000 +0200
@@ -0,0 +1,50 @@
+-------------------------------------------------------------------
+Fri Sep  2 08:43:44 UTC 2011 - [email protected]
+
+- Update to version 0.7.2:
+  * BUGFIX: instances of list subclasses can now be used as mock specs
+  * BUGFIX: MagicMock equality / inequality protocol methods changed to use the
+    default equality / inequality.
+- Simpler spec file
+
+-------------------------------------------------------------------
+Tue Jan 25 13:39:07 UTC 2011 - [email protected]
+
+- cleaned up spec file:
+  * fixed noarch check (to make openSUSE-11.1 x86_64 bit work)
+  * recompressed tarball with bzip2
+  * set RPM optflags
+
+-------------------------------------------------------------------
+Fri Jan 21 11:09:15 CET 2011 - [email protected]
+
+ - fixed SourceURL
+
+-------------------------------------------------------------------
+Fri Jan 21 10:42:14 CET 2011 - [email protected]
+
+ - removed DOS line-endings from doc file
+ - removed spurious permissions from docs
+
+-------------------------------------------------------------------
+Thu Jan 20 15:23:37 CET 2011 - [email protected]
+
+ - added README, docs and tests
+ - run tests during %%check phase
+
+-------------------------------------------------------------------
+Thu Jan 20 10:56:51 CET 2011 - [email protected]
+
+- fixed Source URL
+
+-------------------------------------------------------------------
+Tue Dec 9 14:43 CET 2010 - [email protected]
+
+- fixed Group
+- set BuildArch to noarch
+- added py_requires macro
+
+-------------------------------------------------------------------
+Tue Dec 7 10:43 CET 2010 - [email protected]
+
+- initial package

calling whatdependson for head-i586


New:
----
  mock-0.7.2.tar.gz
  python-mock.changes
  python-mock.spec

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

Other differences:
------------------
++++++ python-mock.spec ++++++
#
# spec file for package python-mock
#
# Copyright (c) 2011 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:           python-mock
Version:        0.7.2
Release:        1
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:  python-devel
BuildRequires:  python-distribute
BuildRequires:  python-unittest2
%if 0%{?suse_version}
%py_requires
%if 0%{?suse_version} > 1110
BuildArch:      noarch
%endif
%endif
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from 
distutils.sysconfig import get_python_lib; print get_python_lib()")}

%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
python setup.py build

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

%check
unit2 discover

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

%changelog

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



Remember to have fun...

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

Reply via email to