c8563fc
%global pypi_name django-pytest
c8563fc
c8563fc
Name:           python-%{pypi_name}
c8563fc
Version:        0.2.0
48cf6cb
Release:        2%{?dist}
c8563fc
Summary:        Allows you to use py.test as a django test runner
c8563fc
c8563fc
License:        BSD
c8563fc
URL:            https://github.com/buchuki/django-pytest
c8563fc
Source0:        http://pypi.python.org/packages/source/d/django-pytest/%{pypi_name}-%{version}.tar.gz
c8563fc
c8563fc
BuildArch:      noarch
c8563fc
BuildRequires:  python-devel
c8563fc
BuildRequires:  python-setuptools
c8563fc
c8563fc
Requires:       python-django
c8563fc
Requires:       pytest
c8563fc
c8563fc
Provides:       %{pypi_name} = %{version}-%{release}
c8563fc
c8563fc
%description
c8563fc
This project allows you to use py.test as a django test runner,
c8563fc
instead of the default test runner.
c8563fc
c8563fc
%prep
c8563fc
%setup -q -n %{pypi_name}-%{version}
c8563fc
# remove the bundled egg-info
c8563fc
rm -rf %{pypi_name}.egg-info
c8563fc
c8563fc
c8563fc
%build
c8563fc
%{__python} setup.py build
c8563fc
c8563fc
c8563fc
%install
c8563fc
%{__python} setup.py install -O1 --skip-build --root %{buildroot}
c8563fc
c8563fc
 
c8563fc
%files
c8563fc
%doc LICENSE.txt README.md
c8563fc
%{python_sitelib}/django_pytest/
c8563fc
%{python_sitelib}/django_pytest-%{version}-py2.7.egg-info
c8563fc
c8563fc
%changelog
48cf6cb
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.0-2
48cf6cb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
48cf6cb
c8563fc
* Wed Mar 28 2012 Bohuslav Kabrda <bkabrda@redhat.com> - 0.2.0-1
c8563fc
- Update to version 0.2.0
c8563fc
- Be more verbose in %%files section
c8563fc
c8563fc
* Wed Mar 28 2012 Bohuslav Kabrda <bkabrda@redhat.com> - 0.1.5-1
c8563fc
- Initial package