]> git.pld-linux.org Git - packages/Zope-Testing.git/blob - Zope-Testing.spec
- use pypi uri
[packages/Zope-Testing.git] / Zope-Testing.spec
1 Summary:        Support for different testing frameworks
2 Summary(pl.UTF-8):      Obsługa różnych szkieletów testowych
3 Name:           Zope-Testing
4 Version:        3.7.1
5 Release:        1
6 License:        ZPL 2.1
7 Group:          Libraries/Python
8 Source0:        http://pypi.python.org/packages/source/z/zope.testing/zope.testing-%{version}.tar.gz
9 # Source0-md5:  23e9389228c79f4343e6b299d7d51fc0
10 URL:            http://www.zope.org/
11 BuildRequires:  python >= 1:2.5
12 BuildRequires:  python-devel >= 1:2.5
13 BuildRequires:  rpm-pythonprov
14 BuildRequires:  rpmbuild(macros) >= 1.219
15 %pyrequires_eq  python-modules
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
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.
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 \
37         --install-purelib=%{py_sitedir} \
38         --optimize 2 \
39         --root=$RPM_BUILD_ROOT
40
41 %py_postclean
42
43 %clean
44 rm -rf $RPM_BUILD_ROOT
45
46 %files
47 %defattr(644,root,root,755)
48 %{py_sitedir}/zope/testing
49 %{py_sitedir}/zope.testing-*.egg-info
50 %{py_sitedir}/zope.testing-*-nspkg.pth
This page took 0.050761 seconds and 4 git commands to generate.