forked from pool/python-tox
- Don't use nose, but custom script to run testsuite
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tox?expand=0&rev=2
This commit is contained in:
parent
97b01b9de0
commit
e3bf57e008
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 21 09:01:57 UTC 2012 - saschpe@suse.de
|
||||
|
||||
- Don't use nose, but custom script to run testsuite
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 20 21:54:02 UTC 2012 - saschpe@gmx.de
|
||||
|
||||
|
@ -25,12 +25,13 @@ Group: Development/Languages/Python
|
||||
Source: http://pypi.python.org/packages/source/t/tox/tox-%{version}.zip
|
||||
BuildRequires: python-Sphinx
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: python-nose
|
||||
BuildRequires: python-py
|
||||
BuildRequires: python-pytest
|
||||
BuildRequires: python-virtualenv
|
||||
BuildRequires: unzip
|
||||
Requires: python-argparse
|
||||
Requires: python-py
|
||||
Requires: python-virtualenv
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
|
||||
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||
@ -63,7 +64,7 @@ cd doc && make html && rm -r _build/html/.buildinfo # Generate HTML documentatio
|
||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||
|
||||
%check
|
||||
nosetests
|
||||
python setup.py test
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
|
Loading…
Reference in New Issue
Block a user