]>
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 | |
010232c6 | 5 | Release: 1 |
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 \ | |
38 | --optimize 2 \ | |
39 | --root=$RPM_BUILD_ROOT | |
40 | ||
1b7c18e0 | 41 | %py_postclean |
6cceccf3 | 42 | |
43 | %clean | |
44 | rm -rf $RPM_BUILD_ROOT | |
45 | ||
46 | %files | |
47 | %defattr(644,root,root,755) | |
48 | %{py_sitescriptdir}/zope/testing | |
1b7c18e0 JB |
49 | %{py_sitescriptdir}/zope.testing-*.egg-info |
50 | %{py_sitescriptdir}/zope.testing-*-nspkg.pth |