]> git.pld-linux.org Git - packages/python3-py-postgresql.git/blob - python3-py-postgresql.spec
- updated to 0.9.1
[packages/python3-py-postgresql.git] / python3-py-postgresql.spec
1 Summary:        PostgreSQL driver and tools library
2 Name:           python3-py-postgresql
3 Version:        0.9.1
4 Release:        1
5 Group:          Development/Languages/Python
6 License:        BSD
7 Source0:        http://python.projects.postgresql.org/files/py-postgresql-%{version}.tar.gz
8 # Source0-md5:  c9239b83d5055058b993076f9c92fd6d
9 URL:            http://python.projects.postgresql.org/
10 BuildRequires:  python3-devel
11 %pyrequires_eq  python3-modules
12 Requires:       python3-modules
13 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15 %description
16 py-postgresql is a set of Python modules providing interfaces to various parts
17 of PostgreSQL. Notably, it provides a pure-Python driver + C optimizations for
18 querying a PostgreSQL database.
19
20 %prep
21 %setup -q -n py-postgresql-%{version}
22
23 %build
24 python3 -- setup.py build
25
26 %install
27 rm -rf $RPM_BUILD_ROOT
28 python3 -- setup.py install \
29         --optimize=2 \
30         --root=$RPM_BUILD_ROOT
31
32 %py3_postclean
33
34 %clean
35 rm -rf $RPM_BUILD_ROOT
36
37 %files
38 %defattr(644,root,root,755)
39 %attr(755,root,root) %{_bindir}/*
40 %{py3_sitedir}/postgresql
41 %{py3_sitedir}/*.egg-info
This page took 0.047816 seconds and 4 git commands to generate.