Sophie

Sophie

distrib > Mandriva > 2009.0 > x86_64 > by-pkgid > 81da3d22eae544d8d19d6ab7c762433c > files > 2

python-nose-0.10.3-1mdv2009.0.src.rpm

%define module	nose
%define name   	python-%{module}
%define version 0.10.3
%define release %mkrel 1

Summary: Unittest-based testing framework for Python
Name: 	 %{name}
Version: %{version}
Release: %{release}
Source0: %{module}-%{version}.tar.lzma
License: LGPLv2+
Group: 	 Development/Python
Url: 	 http://code.google.com/p/python-nose/
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
BuildRequires: python-devel
BuildArch: noarch

%description
nose is a Python test discovery and execution infrastructure
alternative to unittest that mimics the behavior of py.test as much as
is reasonably possible without resorting to too much magic.

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

%build

%install
%__rm -rf %{buildroot}
%__python setup.py install --root=%{buildroot} 
%__mkdir -p %{buildroot}%{_mandir}/man1/
%__mv %{buildroot}/usr/man/man1/nosetests.1 %{buildroot}%{_mandir}/man1/
%__lzma -z %{buildroot}%{_mandir}/man1/nosetests.1

%clean
%__rm -rf %{buildroot}

%files 
%defattr(-,root,root)
%doc AUTHORS CHANGELOG NEWS README.txt examples/ doc/
%{_bindir}/*
%{py_sitedir}/*.egg-info
%{py_sitedir}/%{module}*/*
%{_mandir}/man1/nosetests.*



%changelog
* Wed Jun 18 2008 Lev Givon <lev@mandriva.org> 0.10.3-1mdv2009.0
+ Revision: 225981
- Update to 0.10.3.

* Fri May 30 2008 Lev Givon <lev@mandriva.org> 0.10.2-1mdv2009.0
+ Revision: 213479
- Update to 0.10.2.

* Tue Feb 19 2008 Lev Givon <lev@mandriva.org> 0.10.1-2mdv2008.1
+ Revision: 172897
- import python-nose


* Mon Feb 18 2008 Lev Givon <lev@mandriva.org> 0.10.1-1mdv2008.0
- Initial Mandriva package.