]>
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 |
6579f722 | 4 | Version: 3.7.2 |
0377b999 | 5 | Release: 2 |
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 |
6579f722 | 9 | # Source0-md5: 1ee6181fb9c3deec08ac61ddbab97705 |
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 |
16 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
17 | ||
18 | %description | |
1b7c18e0 JB |
19 | This package provides a number of testing frameworks. It includes a |
20 | flexible test runner, and supports both doctest and unittest. | |
21 | ||
22 | %description -l pl.UTF-8 | |
23 | Ten pakiet udostępnia wiele szkieletów testowych. Zawiera elastyczne | |
24 | narzędzie do uruchamiania testów, obsługuje zarówno doctest jak i | |
25 | unittest. | |
6cceccf3 | 26 | |
27 | %prep | |
28 | %setup -q -n zope.testing-%{version} | |
29 | ||
30 | %build | |
31 | python ./setup.py build | |
32 | ||
33 | %install | |
34 | rm -rf $RPM_BUILD_ROOT | |
35 | ||
36 | python ./setup.py install \ | |
2e85f911 | 37 | --install-purelib=%{py_sitedir} \ |
6cceccf3 | 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) | |
2e85f911 | 48 | %{py_sitedir}/zope/testing |
49 | %{py_sitedir}/zope.testing-*.egg-info | |
50 | %{py_sitedir}/zope.testing-*-nspkg.pth |