]>
Commit | Line | Data |
---|---|---|
99b38660 AF |
1 | Summary: PostgreSQL driver and tools library |
2 | Name: python3-py-postgresql | |
da5efa7b | 3 | Version: 1.1.0 |
c80b6b8b | 4 | Release: 7 |
c4c46dd5 | 5 | License: BSD |
eeeacf8f | 6 | Group: Development/Languages/Python |
da5efa7b AM |
7 | Source0: https://github.com/python-postgres/fe/archive/v%{version}.tar.gz |
8 | # Source0-md5: 8efe810a4abbbbe1c25b4fcef29421fa | |
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 | |
da5efa7b | 23 | %setup -q -n fe-%{version} |
99b38660 AF |
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 |