14
0

- Use upstream URL

- Run testsuite
- Update to version 0.9.32:
  + Stacktrace filtering no longer hides unittest frames that are surrounded by
    user frames. We will reenable this when we figure out a better algorithm for
    retaining meaning. (Robert Collins, #1188420)
  + The compatibility code for skipped tests with unittest2 was broken.
    (Robert Collins, #1190951)
  + Various documentation improvements (Clint Byrum, Xiao Hanyu).
- Changes from version 0.9.31:
  + ExpectedException now accepts a msg parameter for describing an error,
    much the same as assertEquals etc. (Robert Collins)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-testtools?expand=0&rev=20
This commit is contained in:
Sascha Peilicke
2013-06-21 09:34:48 +00:00
committed by Git OBS Bridge
parent 925a432674
commit a5a9d757d6
4 changed files with 31 additions and 11 deletions

View File

@@ -17,16 +17,20 @@
Name: python-testtools
Version: 0.9.30
Version: 0.9.32
Release: 0
Summary: Extensions to the Python Standard Library Unit Testing Framework
License: MIT
Group: Development/Languages/Python
Url: https://launchpad.net/testtools
Source: https://pypi.python.org/packages/source/t/testtools/testtools-%{version}.tar.gz
BuildRequires: python-Sphinx
BuildRequires: python-devel
# Documentation requirements:
BuildRequires: python-Sphinx
# Test requirements
BuildRequires: python-extras
BuildRequires: python-python-mimeparse
Requires: python-extras
Requires: python-python-mimeparse
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
@@ -46,18 +50,18 @@ also ports recent unittest changes all the way back to Python 2.4.
%build
python setup.py build
cd doc && make html && rm _build/html/.buildinfo # Build HTML documentation
python setup.py build_sphinx
%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
# There is a mistake in setup.cfg; test command has no catch option; disable it for instance
#%check
#python setup.py test
%check
python setup.py test
%files
%defattr(-,root,root,-)
%doc LICENSE NEWS README.rst doc/_build/html
%{python_sitelib}/testtools*
%doc LICENSE NEWS README.rst build/sphinx/html
%{python_sitelib}/testtools
%{python_sitelib}/testtools-%{version}-py%{py_ver}.egg-info
%changelog