]>
Commit | Line | Data |
---|---|---|
322e8459 JB |
1 | Summary: Defer Python module import |
2 | Summary(pl.UTF-8): Opóźnianie importu modułów Pythona | |
2a1d1a85 | 3 | Name: Zope-DeferredImport |
d4a2807c | 4 | Version: 3.5.0 |
cb267f88 | 5 | Release: 2 |
3dce3665 | 6 | License: ZPL 2.1 |
7 | Group: Libraries/Python | |
e06d28d8 | 8 | Source0: http://pypi.python.org/packages/source/z/zope.deferredimport/zope.deferredimport-%{version}.tar.gz |
d4a2807c | 9 | # Source0-md5: 0e75cde9c09ac7afeda9af417b102112 |
3989f43c | 10 | URL: http://www.zope.org/ |
322e8459 JB |
11 | BuildRequires: python >= 1:2.5 |
12 | BuildRequires: python-devel >= 1:2.5 | |
13 | BuildRequires: rpm-pythonprov | |
14 | BuildRequires: rpmbuild(macros) >= 1.219 | |
2a1d1a85 | 15 | %pyrequires_eq python-modules |
3dce3665 | 16 | Requires: Zope-Proxy |
17 | Requires: Zope-Testing | |
2a1d1a85 | 18 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
19 | ||
20 | %description | |
322e8459 JB |
21 | Defer Python module import. |
22 | ||
23 | %description -l pl.UTF-8 | |
24 | Opóźnianie importu modułów Pythona. | |
2a1d1a85 | 25 | |
26 | %prep | |
27 | %setup -q -n zope.deferredimport-%{version} | |
28 | ||
29 | %build | |
30 | python ./setup.py build | |
31 | ||
32 | %install | |
33 | rm -rf $RPM_BUILD_ROOT | |
34 | ||
35 | python ./setup.py install \ | |
abccdf26 | 36 | --install-purelib=%{py_sitedir} \ |
2a1d1a85 | 37 | --optimize 2 \ |
38 | --root=$RPM_BUILD_ROOT | |
39 | ||
322e8459 | 40 | %py_postclean |
2a1d1a85 | 41 | |
42 | %clean | |
43 | rm -rf $RPM_BUILD_ROOT | |
44 | ||
45 | %files | |
46 | %defattr(644,root,root,755) | |
abccdf26 | 47 | %{py_sitedir}/zope/deferredimport |
48 | %{py_sitedir}/zope.deferredimport-*.egg-info | |
49 | %{py_sitedir}/zope.deferredimport-*-nspkg.pth |