|
|
508fe00 |
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
|
|
508fe00 |
%{!?pyver: %define pyver %(%{__python} -c "import sys ; print sys.version[:3]")}
|
|
|
508fe00 |
|
|
|
508fe00 |
Name: python-nose
|
|
|
0c655ca |
Version: 0.10.3
|
|
|
8ba1899 |
Release: 1%{?dist}
|
|
|
508fe00 |
Summary: A discovery-based unittest extension for Python
|
|
|
508fe00 |
|
|
|
508fe00 |
Group: Development/Languages
|
|
|
57471be |
License: LGPLv2
|
|
|
508fe00 |
URL: http://somethingaboutorange.com/mrl/projects/nose/
|
|
|
065d0c8 |
Source0: http://somethingaboutorange.com/mrl/projects/nose/nose-%{version}.tar.gz
|
|
|
508fe00 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
508fe00 |
|
|
|
508fe00 |
BuildArch: noarch
|
|
|
065d0c8 |
BuildRequires: python-devel python-setuptools-devel
|
|
|
229ed19 |
Requires: python-setuptools
|
|
|
493bd40 |
|
|
|
508fe00 |
|
|
|
508fe00 |
%description
|
|
|
508fe00 |
nose: a discovery-based unittest extension.
|
|
|
508fe00 |
|
|
|
508fe00 |
nose provides an alternate test discovery and running process for unittest,
|
|
|
508fe00 |
one that is intended to mimic the behavior of py.test as much as is
|
|
|
508fe00 |
reasonably possible without resorting to too much magic.
|
|
|
508fe00 |
|
|
|
508fe00 |
%prep
|
|
|
065d0c8 |
%setup -q -n nose-%{version}
|
|
|
508fe00 |
|
|
|
508fe00 |
%build
|
|
|
508fe00 |
CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build
|
|
|
508fe00 |
|
|
|
508fe00 |
%install
|
|
|
508fe00 |
rm -rf $RPM_BUILD_ROOT
|
|
|
4795449 |
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT \
|
|
|
4795449 |
--single-version-externally-managed --install-data=%{_datadir}
|
|
|
4795449 |
|
|
|
508fe00 |
%clean
|
|
|
508fe00 |
rm -rf $RPM_BUILD_ROOT
|
|
|
508fe00 |
|
|
|
508fe00 |
%files
|
|
|
508fe00 |
%defattr(-,root,root,-)
|
|
|
508fe00 |
%doc AUTHORS CHANGELOG lgpl.txt NEWS README.txt
|
|
|
508fe00 |
%{_bindir}/nosetests
|
|
|
4795449 |
%{_mandir}/man1/nosetests.1.gz
|
|
|
065d0c8 |
%{python_sitelib}/nose-%{version}-py%{pyver}.egg-info
|
|
|
508fe00 |
%{python_sitelib}/nose
|
|
|
508fe00 |
|
|
|
508fe00 |
%changelog
|
|
|
0c655ca |
* Sat Aug 02 2008 Luke Macken <lmacken@redhat.com> 0.10.3-1
|
|
|
0c655ca |
- Update to 0.10.3
|
|
|
0c655ca |
|
|
|
8ba1899 |
* Thu Feb 28 2008 Luke Macken <lmacken@redhat.com> 0.10.1-1
|
|
|
8ba1899 |
- Update to 0.10.1
|
|
|
8ba1899 |
|
|
|
229ed19 |
* Mon Dec 3 2007 Luke Macken <lmacken@redhat.com> 0.10.0-2
|
|
|
229ed19 |
- Add python-setuptools to Requires (Bug #408491)
|
|
|
229ed19 |
|
|
|
065d0c8 |
* Tue Nov 27 2007 Luke Macken <lmacken@redhat.com> 0.10.0-1
|
|
|
065d0c8 |
- 0.10.0
|
|
|
065d0c8 |
|
|
|
493bd40 |
* Sun Sep 2 2007 Luke Macken <lmacken@redhat.com> 0.10.0-0.3.b1
|
|
|
493bd40 |
- Update for python-setuptools changes in rawhide
|
|
|
493bd40 |
|
|
|
57471be |
* Tue Aug 21 2007 Luke Macken <lmacken@redhat.com> 0.10.0-0.2.b1
|
|
|
57471be |
- 0.10.0b1
|
|
|
57471be |
- Update license tag to LGPLv2
|
|
|
57471be |
|
|
|
6cb632b |
* Fri Jun 20 2007 Luke Macken <lmacken@redhat.com> 0.10.0-0.1.a2
|
|
|
6cb632b |
- 0.10.0a2
|
|
|
6cb632b |
|
|
|
9f64956 |
* Sat Jun 2 2007 Luke Macken <lmacken@redhat.com> 0.9.3-1
|
|
|
9f64956 |
- Latest upstream release
|
|
|
9f64956 |
- Remove python-nose-0.9.2-mandir.patch
|
|
|
9f64956 |
|
|
|
4795449 |
* Sat Mar 3 2007 Luke Macken <lmacken@redhat.com> 0.9.2-1
|
|
|
4795449 |
- Add nosetests(1) manpage, and python-nose-0.9.2-mandir.patch to put it in
|
|
|
4795449 |
the correct location.
|
|
|
4795449 |
- 0.9.2
|
|
|
4795449 |
|
|
|
2fa2dda |
* Sat Dec 9 2006 Luke Macken <lmacken@redhat.com> 0.9.1-2
|
|
|
2fa2dda |
- Rebuild for python 2.5
|
|
|
2fa2dda |
|
|
|
0e39903 |
* Fri Nov 24 2006 Luke Macken <lmacken@redhat.com> 0.9.1-1
|
|
|
0e39903 |
- 0.9.1
|
|
|
0e39903 |
|
|
|
89ac2a5 |
* Fri Sep 8 2006 Luke Macken <lmacken@redhat.com> 0.9.0-1
|
|
|
89ac2a5 |
- 0.9.0
|
|
|
89ac2a5 |
|
|
|
508fe00 |
* Wed Apr 19 2006 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 0.8.7.2-1
|
|
|
508fe00 |
- Initial RPM release
|