]>
Commit | Line | Data |
---|---|---|
010232c6 | 1 | Summary: Support for different testing frameworks |
1b7c18e0 | 2 | Summary(pl.UTF-8): Obsługa różnych szkieletów testowych |
6cceccf3 | 3 | Name: Zope-Testing |
4 | Version: 3.5.0 | |
2e85f911 | 5 | Release: 2 |
010232c6 | 6 | License: ZPL 2.1 |
7 | Group: Libraries/Python | |
6cceccf3 | 8 | Source0: http://download.zope.org/distribution/zope.testing-%{version}.tar.gz |
9 | # Source0-md5: 3e482a31cc6c6dac8d7abd0b0e146da4 | |
331424ca | 10 | URL: http://www.zope.org/ |
1b7c18e0 JB |
11 | BuildRequires: python >= 1:2.5 |
12 | BuildRequires: python-devel >= 1:2.5 | |
13 | BuildRequires: rpm-pythonprov | |
14 | BuildRequires: rpmbuild(macros) >= 1.219 | |
6cceccf3 | 15 | %pyrequires_eq python-modules |
1b7c18e0 | 16 | BuildArch: noarch |
6cceccf3 | 17 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
18 | ||
19 | %description | |
1b7c18e0 JB |
20 | This package provides a number of testing frameworks. It includes a |
21 | flexible test runner, and supports both doctest and unittest. | |
22 | ||
23 | %description -l pl.UTF-8 | |
24 | Ten pakiet udostępnia wiele szkieletów testowych. Zawiera elastyczne | |
25 | narzędzie do uruchamiania testów, obsługuje zarówno doctest jak i | |
26 | unittest. | |
6cceccf3 | 27 | |
28 | %prep | |
29 | %setup -q -n zope.testing-%{version} | |
30 | ||
31 | %build | |
32 | python ./setup.py build | |
33 | ||
34 | %install | |
35 | rm -rf $RPM_BUILD_ROOT | |
36 | ||
37 | python ./setup.py install \ | |
2e85f911 | 38 | --install-purelib=%{py_sitedir} \ |
6cceccf3 | 39 | --optimize 2 \ |
40 | --root=$RPM_BUILD_ROOT | |
41 | ||
1b7c18e0 | 42 | %py_postclean |
6cceccf3 | 43 | |
44 | %clean | |
45 | rm -rf $RPM_BUILD_ROOT | |
46 | ||
47 | %files | |
48 | %defattr(644,root,root,755) | |
2e85f911 | 49 | %{py_sitedir}/zope/testing |
50 | %{py_sitedir}/zope.testing-*.egg-info | |
51 | %{py_sitedir}/zope.testing-*-nspkg.pth |