]>
Commit | Line | Data |
---|---|---|
010232c6 | 1 | Summary: Support for different testing frameworks |
6cceccf3 | 2 | Name: Zope-Testing |
3 | Version: 3.5.0 | |
010232c6 | 4 | Release: 1 |
5 | License: ZPL 2.1 | |
6 | Group: Libraries/Python | |
6cceccf3 | 7 | Source0: http://download.zope.org/distribution/zope.testing-%{version}.tar.gz |
8 | # Source0-md5: 3e482a31cc6c6dac8d7abd0b0e146da4 | |
331424ca | 9 | URL: http://www.zope.org/ |
6cceccf3 | 10 | BuildRequires: python |
11 | BuildRequires: python-devel | |
12 | %pyrequires_eq python-modules | |
13 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
14 | ||
15 | %description | |
010232c6 | 16 | This package provides a number of testing frameworks. It includes |
17 | a flexible test runner, and supports both doctest and unittest. | |
6cceccf3 | 18 | |
19 | %prep | |
20 | %setup -q -n zope.testing-%{version} | |
21 | ||
22 | %build | |
23 | python ./setup.py build | |
24 | ||
25 | %install | |
26 | rm -rf $RPM_BUILD_ROOT | |
27 | ||
28 | python ./setup.py install \ | |
29 | --optimize 2 \ | |
30 | --root=$RPM_BUILD_ROOT | |
31 | ||
32 | %{py_postclean} | |
33 | ||
34 | %clean | |
35 | rm -rf $RPM_BUILD_ROOT | |
36 | ||
37 | %files | |
38 | %defattr(644,root,root,755) | |
39 | %{py_sitescriptdir}/zope/testing | |
40 | %{py_sitescriptdir}/zope*egg* | |
41 | %{py_sitescriptdir}/zope*pth |