]>
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 |
723e518b | 4 | Version: 3.5.3 |
5 | Release: 1 | |
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 |
723e518b | 9 | # Source0-md5: 68fce3bf4f011d4a840902fd763884ee |
3989f43c | 10 | URL: http://www.zope.org/ |
322e8459 JB |
11 | BuildRequires: python >= 1:2.5 |
12 | BuildRequires: python-devel >= 1:2.5 | |
72159618 | 13 | BuildRequires: python-setuptools |
322e8459 JB |
14 | BuildRequires: rpm-pythonprov |
15 | BuildRequires: rpmbuild(macros) >= 1.219 | |
2a1d1a85 | 16 | %pyrequires_eq python-modules |
3dce3665 | 17 | Requires: Zope-Proxy |
18 | Requires: Zope-Testing | |
2a1d1a85 | 19 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
20 | ||
21 | %description | |
322e8459 JB |
22 | Defer Python module import. |
23 | ||
24 | %description -l pl.UTF-8 | |
25 | Opóźnianie importu modułów Pythona. | |
2a1d1a85 | 26 | |
27 | %prep | |
28 | %setup -q -n zope.deferredimport-%{version} | |
29 | ||
30 | %build | |
48e73741 | 31 | %py_build |
2a1d1a85 | 32 | |
33 | %install | |
34 | rm -rf $RPM_BUILD_ROOT | |
35 | ||
48e73741 | 36 | %py_install \ |
abccdf26 | 37 | --install-purelib=%{py_sitedir} \ |
2a1d1a85 | 38 | --optimize 2 \ |
39 | --root=$RPM_BUILD_ROOT | |
40 | ||
322e8459 | 41 | %py_postclean |
2a1d1a85 | 42 | |
43 | %clean | |
44 | rm -rf $RPM_BUILD_ROOT | |
45 | ||
46 | %files | |
47 | %defattr(644,root,root,755) | |
abccdf26 | 48 | %{py_sitedir}/zope/deferredimport |
49 | %{py_sitedir}/zope.deferredimport-*.egg-info | |
50 | %{py_sitedir}/zope.deferredimport-*-nspkg.pth |