Sophie

Sophie

distrib > Mageia > 3 > i586 > media > core-release-src > by-pkgid > ee6fea0472035d4bd638cb7f9d11cfed > files > 2

python-flexmock-0.9.6-1.mga3.src.rpm

# Created by pyp2rpm-1.0.0
%global pypi_name flexmock
%define version 0.9.6

Name:           python-flexmock
Version:        %{version}
Release:        %mkrel 1
Group:          Development/Python
Summary:        Mock/Stub/Spy library for Python

License:        BSD
URL:            http://pypi.python.org/pypi/flexmock
Source0:        http://pypi.python.org/packages/source/f/flexmock/flexmock-%{version}.tar.gz
BuildArch:      noarch
 
BuildRequires:  python-devel


%description
.. image:: http://api.flattr.com/button/flattr-badge-large.png
   :alt: Flattr
this
   :target: http://flattr.com/thing/433275/flexmock

flexmock is a testing
library for Python that makes it easy to create mocks, stubs and fakes.

The
API is inspired by a Ruby library of the same name, but Python flexmock is not
a clone of the Ruby version. It omits a number of redundancies in the Ruby
flexmock ...


%prep
%setup -q -n %{pypi_name}-%{version}



%build
%{__python} setup.py build


%install
%{__python} setup.py install --skip-build --root %{buildroot}


%files
%doc README.md LICENSE
%{python_sitelib}/%{pypi_name}.py*
%{python_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info


%changelog

* Mon Jan 28 2013 joequant <joequant> 0.9.6-1.mga3
+ Revision: 392896
- imported package python-flexmock