]> git.pld-linux.org Git - packages/python3-py-postgresql.git/blame - python3-py-postgresql.spec
- use rpm python macros
[packages/python3-py-postgresql.git] / python3-py-postgresql.spec
CommitLineData
99b38660
AF
1Summary: PostgreSQL driver and tools library
2Name: python3-py-postgresql
6d37c92a 3Version: 1.0.4
5a4f434a 4Release: 8
c4c46dd5 5License: BSD
eeeacf8f 6Group: Development/Languages/Python
99b38660 7Source0: http://python.projects.postgresql.org/files/py-postgresql-%{version}.tar.gz
6d37c92a 8# Source0-md5: 4b0e06a03c2d2ad3aae9100871f83e45
99b38660
AF
9URL: http://python.projects.postgresql.org/
10BuildRequires: python3-devel
eeeacf8f 11BuildRequires: python3-modules
12BuildRequires: rpm-pythonprov
99b38660
AF
13%pyrequires_eq python3-modules
14Requires: python3-modules
15BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17%description
eeeacf8f 18py-postgresql is a set of Python modules providing interfaces to
19various 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
29rm -rf $RPM_BUILD_ROOT
5a4f434a 30%py3_install
99b38660 31
99b38660
AF
32%clean
33rm -rf $RPM_BUILD_ROOT
34
35%files
36%defattr(644,root,root,755)
99b38660
AF
37%{py3_sitedir}/postgresql
38%{py3_sitedir}/*.egg-info
This page took 0.098387 seconds and 4 git commands to generate.