Package python-module-mock: Specfile

Name: python-module-mock
Version: 0.7.0
Release: alt1
Summary: A Python mock object library

Group: Development/Python
License: Apache License 2.0
Url: http://code.google.com/p/mock/
Packager: Vitaly Kuznetsov <vitty@altlinux.ru>

Source: %name-%version.tar

BuildArch: noarch
BuildRequires: python-dev

%description
mock is a Python module that provides a core Mock class. It is intended to
reduce the need for creating a host of trivial 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

%build
%python_build

%install
%python_install

%files
%doc README.txt html/
# For noarch packages: sitelib
%python_sitelibdir/*

%changelog
* Mon Mar 14 2011 Vitaly Kuznetsov <vitty@altlinux.ru> 0.7.0-alt1
- Initial