83 lines
2.6 KiB
RPMSpec
83 lines
2.6 KiB
RPMSpec
Name: python-nose
|
|
Version: 1.3.6
|
|
Release: 1mamba
|
|
Summary: nose extends unittest to make testing easier
|
|
Group: System/Libraries/Python
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: https://pypi.python.org/pypi/nose/1.2.1
|
|
Source: https://pypi.python.org/packages/source/n/nose/nose-%{version}.tar.gz
|
|
License: LGPL
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: libpython-devel
|
|
## AUTOBUILDREQ-END
|
|
Requires: python >= %python_version
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
BuildArch: noarch
|
|
|
|
%description
|
|
nose provides an alternate test discovery and running process for unittest, one that is intended to mimic the behavior of py.test as much as is reasonably possible without resorting to too much magic.
|
|
|
|
%prep
|
|
%setup -q -n nose-%{version}
|
|
|
|
%build
|
|
%{__python} setup.py build
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
%{__python} setup.py install \
|
|
-O1 --skip-build \
|
|
--root="%{buildroot}" \
|
|
--install-headers=%{_includedir}/python \
|
|
--install-lib=%{python_sitearch} \
|
|
--single-version-externally-managed \
|
|
--record=%{name}.filelist
|
|
|
|
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%files -f %{name}.filelist
|
|
%defattr(-,root,root)
|
|
%doc AUTHORS CHANGELOG lgpl.txt NEWS README.txt
|
|
|
|
%changelog
|
|
* Tue Apr 07 2015 Automatic Build System <autodist@mambasoft.it> 1.3.6-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Mon Aug 25 2014 Automatic Build System <autodist@mambasoft.it> 1.3.4-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Wed May 07 2014 Automatic Build System <autodist@mambasoft.it> 1.3.3-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Wed Mar 12 2014 Automatic Build System <autodist@mambasoft.it> 1.3.1-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Fri May 17 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.0-2mamba
|
|
- python 2.7 mass rebuild
|
|
|
|
* Thu May 09 2013 Automatic Build System <autodist@mambasoft.it> 1.3.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sun Apr 28 2013 Automatic Build System <autodist@mambasoft.it> 1.2.1-1mamba
|
|
- update to 1.2.1
|
|
|
|
* Wed Oct 06 2010 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 0.11.3-2mamba
|
|
- rebuild as noarch
|
|
|
|
* Sat May 01 2010 gil <puntogil@libero.it> 0.11.3-1mamba
|
|
- update to 0.11.3
|
|
|
|
* Sun Jan 31 2010 gil <puntogil@libero.it> 0.11.1-1mamba
|
|
- update to 0.11.1
|
|
|
|
* Sat May 09 2009 gil <puntogil@libero.it> 0.11.0-1mamba
|
|
- update to 0.11.0
|
|
|
|
* Tue Dec 30 2008 gil <puntogil@libero.it> 0.10.4-1mamba
|
|
- package created by autospec
|