- 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:
Sascha Peilicke 2012-02-21 09:01:53 +00:00 committed by Git OBS Bridge
parent 97b01b9de0
commit e3bf57e008
2 changed files with 8 additions and 2 deletions

View File

@ -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 Mon Feb 20 21:54:02 UTC 2012 - saschpe@gmx.de

View File

@ -25,12 +25,13 @@ Group: Development/Languages/Python
Source: http://pypi.python.org/packages/source/t/tox/tox-%{version}.zip Source: http://pypi.python.org/packages/source/t/tox/tox-%{version}.zip
BuildRequires: python-Sphinx BuildRequires: python-Sphinx
BuildRequires: python-devel BuildRequires: python-devel
BuildRequires: python-nose
BuildRequires: python-py BuildRequires: python-py
BuildRequires: python-pytest BuildRequires: python-pytest
BuildRequires: python-virtualenv
BuildRequires: unzip BuildRequires: unzip
Requires: python-argparse Requires: python-argparse
Requires: python-py Requires: python-py
Requires: python-virtualenv
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version} && 0%{?suse_version} <= 1110 %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()")} %{!?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} python setup.py install --prefix=%{_prefix} --root=%{buildroot}
%check %check
nosetests python setup.py test
%files %files
%defattr(-,root,root,-) %defattr(-,root,root,-)