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}
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: python3-2to3
13 BuildRequires: python3-Cython
14 BuildRequires: python3-devel
15 BuildRequires: python3-modules
16 BuildRequires: rpm-pythonprov
17 BuildRequires: rpmbuild(macros) >= 1.219
18 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21 oursql is a set of MySQL bindings for python 2.4+ with a focus on
22 wrapping the `MYSQL_STMT API`__ to provide real parameterization and
23 real server-side cursors. MySQL 4.1.2 or better is required.
28 %setup -q -n %{module}-%{version}
31 %{__python3} setup.py build_ext
34 rm -rf $RPM_BUILD_ROOT
35 %{__python3} setup.py \
37 --root=$RPM_BUILD_ROOT \
41 rm -rf $RPM_BUILD_ROOT
44 %defattr(644,root,root,755)
45 %doc CHANGELOG COPYING README
46 %attr(755,root,root) %{py3_sitedir}/*.so
47 %{py3_sitedir}/*.egg-info