]>
Commit | Line | Data |
---|---|---|
99b38660 AF |
1 | Summary: PostgreSQL driver and tools library |
2 | Name: python3-py-postgresql | |
6d37c92a | 3 | Version: 1.0.4 |
5a4f434a | 4 | Release: 8 |
c4c46dd5 | 5 | License: BSD |
eeeacf8f | 6 | Group: Development/Languages/Python |
99b38660 | 7 | Source0: http://python.projects.postgresql.org/files/py-postgresql-%{version}.tar.gz |
6d37c92a | 8 | # Source0-md5: 4b0e06a03c2d2ad3aae9100871f83e45 |
99b38660 AF |
9 | URL: http://python.projects.postgresql.org/ |
10 | BuildRequires: python3-devel | |
eeeacf8f | 11 | BuildRequires: python3-modules |
12 | BuildRequires: rpm-pythonprov | |
99b38660 AF |
13 | %pyrequires_eq python3-modules |
14 | Requires: python3-modules | |
15 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
16 | ||
17 | %description | |
eeeacf8f | 18 | py-postgresql is a set of Python modules providing interfaces to |
19 | various parts of PostgreSQL. Notably, it provides a pure-Python driver | |
20 | + C optimizations for querying a PostgreSQL database. | |
99b38660 AF |
21 | |
22 | %prep | |
23 | %setup -q -n py-postgresql-%{version} | |
24 | ||
25 | %build | |
5a4f434a | 26 | %py3_build |
99b38660 AF |
27 | |
28 | %install | |
29 | rm -rf $RPM_BUILD_ROOT | |
5a4f434a | 30 | %py3_install |
99b38660 | 31 | |
99b38660 AF |
32 | %clean |
33 | rm -rf $RPM_BUILD_ROOT | |
34 | ||
35 | %files | |
36 | %defattr(644,root,root,755) | |
99b38660 AF |
37 | %{py3_sitedir}/postgresql |
38 | %{py3_sitedir}/*.egg-info |