]>
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 |
b09bdf4b | 4 | Version: 3.10.2 |
f7e68e0c | 5 | Release: 3 |
010232c6 | 6 | License: ZPL 2.1 |
7 | Group: Libraries/Python | |
f16b3e86 | 8 | Source0: http://pypi.python.org/packages/source/z/zope.testing/zope.testing-%{version}.tar.gz |
b09bdf4b | 9 | # Source0-md5: 35fc3139992a92a4db13653167fc7be9 |
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 | |
f7e68e0c | 14 | BuildRequires: rpmbuild(macros) >= 1.709 |
6cceccf3 | 15 | %pyrequires_eq python-modules |
f7e68e0c | 16 | Requires: Zope |
6cceccf3 | 17 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
18 | ||
f7e68e0c JR |
19 | %define _noautoreq_pyegg zope.exceptions |
20 | ||
6cceccf3 | 21 | %description |
1b7c18e0 JB |
22 | This package provides a number of testing frameworks. It includes a |
23 | flexible test runner, and supports both doctest and unittest. | |
24 | ||
25 | %description -l pl.UTF-8 | |
26 | Ten pakiet udostępnia wiele szkieletów testowych. Zawiera elastyczne | |
27 | narzędzie do uruchamiania testów, obsługuje zarówno doctest jak i | |
28 | unittest. | |
6cceccf3 | 29 | |
30 | %prep | |
31 | %setup -q -n zope.testing-%{version} | |
32 | ||
33 | %build | |
34 | python ./setup.py build | |
35 | ||
36 | %install | |
37 | rm -rf $RPM_BUILD_ROOT | |
38 | ||
39 | python ./setup.py install \ | |
2e85f911 | 40 | --install-purelib=%{py_sitedir} \ |
6cceccf3 | 41 | --optimize 2 \ |
42 | --root=$RPM_BUILD_ROOT | |
43 | ||
1b7c18e0 | 44 | %py_postclean |
6cceccf3 | 45 | |
46 | %clean | |
47 | rm -rf $RPM_BUILD_ROOT | |
48 | ||
49 | %files | |
50 | %defattr(644,root,root,755) | |
2e85f911 | 51 | %{py_sitedir}/zope/testing |
52 | %{py_sitedir}/zope.testing-*.egg-info | |
53 | %{py_sitedir}/zope.testing-*-nspkg.pth |