]> git.pld-linux.org Git - packages/Zope-Testing.git/blame - Zope-Testing.spec
- release 2
[packages/Zope-Testing.git] / Zope-Testing.spec
CommitLineData
010232c6 1Summary: Support for different testing frameworks
1b7c18e0 2Summary(pl.UTF-8): Obsługa różnych szkieletów testowych
6cceccf3 3Name: Zope-Testing
6579f722 4Version: 3.7.2
0377b999 5Release: 2
010232c6 6License: ZPL 2.1
7Group: Libraries/Python
f16b3e86 8Source0: http://pypi.python.org/packages/source/z/zope.testing/zope.testing-%{version}.tar.gz
6579f722 9# Source0-md5: 1ee6181fb9c3deec08ac61ddbab97705
331424ca 10URL: http://www.zope.org/
1b7c18e0
JB
11BuildRequires: python >= 1:2.5
12BuildRequires: python-devel >= 1:2.5
13BuildRequires: rpm-pythonprov
14BuildRequires: rpmbuild(macros) >= 1.219
6cceccf3 15%pyrequires_eq python-modules
16BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18%description
1b7c18e0
JB
19This package provides a number of testing frameworks. It includes a
20flexible test runner, and supports both doctest and unittest.
21
22%description -l pl.UTF-8
23Ten pakiet udostępnia wiele szkieletów testowych. Zawiera elastyczne
24narzędzie do uruchamiania testów, obsługuje zarówno doctest jak i
25unittest.
6cceccf3 26
27%prep
28%setup -q -n zope.testing-%{version}
29
30%build
31python ./setup.py build
32
33%install
34rm -rf $RPM_BUILD_ROOT
35
36python ./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
44rm -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
This page took 0.081395 seconds and 5 git commands to generate.