]> git.pld-linux.org Git - packages/python3-py-postgresql.git/blob - python3-py-postgresql.spec
f923c77bfa441709a181e2ab429966f0f0f42c5b
[packages/python3-py-postgresql.git] / python3-py-postgresql.spec
1 Summary:        PostgreSQL driver and tools library
2 Name:           python3-py-postgresql
3 Version:        1.0.4
4 Release:        7
5 License:        BSD
6 Group:          Development/Languages/Python
7 Source0:        http://python.projects.postgresql.org/files/py-postgresql-%{version}.tar.gz
8 # Source0-md5:  4b0e06a03c2d2ad3aae9100871f83e45
9 URL:            http://python.projects.postgresql.org/
10 BuildRequires:  python3-devel
11 BuildRequires:  python3-modules
12 BuildRequires:  rpm-pythonprov
13 %pyrequires_eq  python3-modules
14 Requires:       python3-modules
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description
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.
21
22 %prep
23 %setup -q -n py-postgresql-%{version}
24
25 %build
26 python3 -- setup.py build
27
28 %install
29 rm -rf $RPM_BUILD_ROOT
30 python3 -- setup.py install \
31         --optimize=2 \
32         --root=$RPM_BUILD_ROOT
33
34 %clean
35 rm -rf $RPM_BUILD_ROOT
36
37 %files
38 %defattr(644,root,root,755)
39 %{py3_sitedir}/postgresql
40 %{py3_sitedir}/*.egg-info
This page took 0.090274 seconds and 2 git commands to generate.