]> git.pld-linux.org Git - SPECS.git/blob - python3-oursql.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / python3-oursql.spec
1 %define         module  oursql
2 Summary:        Set of MySQL bindings for python 3.x
3 Summary(pl.UTF-8):      Zestaw dowiązań do MySQLa dla Pythona
4 Name:           python3-%{module}
5 Version:        0.9.3
6 Release:        1
7 License:        BSD-like
8 Group:          Libraries/Python
9 Source0:        https://launchpad.net/oursql/py3k/py3k-0.9.3/+download/%{module}-%{version}.zip
10 # Source0-md5:  1c19d9ecbfc96e071f6da463a0fc9109
11 URL:            http://launchpad.net/oursql/py3k/
12 BuildRequires:  mysql-devel
13 BuildRequires:  python3-2to3
14 BuildRequires:  python3-Cython
15 BuildRequires:  python3-devel
16 BuildRequires:  python3-modules
17 BuildRequires:  rpm-pythonprov
18 BuildRequires:  rpmbuild(macros) >= 1.710
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 oursql is a set of MySQL bindings for python 2.4+ with a focus on
23 wrapping the `MYSQL_STMT API`__ to provide real parameterization and
24 real server-side cursors. MySQL 4.1.2 or better is required.
25
26 Python 3.x version.
27
28 %prep
29 %setup -q -n %{module}-%{version}
30
31 %build
32 %{__python3} setup.py build_ext
33
34 %install
35 rm -rf $RPM_BUILD_ROOT
36 %py3_install
37
38 %clean
39 rm -rf $RPM_BUILD_ROOT
40
41 %files
42 %defattr(644,root,root,755)
43 %doc CHANGELOG COPYING README
44 %attr(755,root,root) %{py3_sitedir}/*.so
45 %{py3_sitedir}/*.egg-info
This page took 0.472197 seconds and 3 git commands to generate.