update to 1.3.6
switched from python-MySQL and added python3 support [release 1.3.6-1mamba;Sat May 16 2015]
This commit is contained in:
parent
322697e2b9
commit
f6fff5c949
@ -1,2 +1,9 @@
|
|||||||
# python-mysqlclient
|
# python-mysqlclient
|
||||||
|
|
||||||
|
mysqlclient is a fork of MySQL-python. It add Python 3.3 support and merges some pull requests.
|
||||||
|
|
||||||
|
|
||||||
|
MySQL support for Python. MySQL versions 3.23-5.1; and Python versions 2.3-2.6 are supported.
|
||||||
|
MySQLdb is the Python DB API-2.0 interface. _mysql is a low-level API similiar to the MySQL C API.
|
||||||
|
ZMySQLDA is a Database Adapter for Zope2.
|
||||||
|
|
||||||
|
77
python-mysqlclient.spec
Normal file
77
python-mysqlclient.spec
Normal file
@ -0,0 +1,77 @@
|
|||||||
|
Name: python-mysqlclient
|
||||||
|
Version: 1.3.6
|
||||||
|
Release: 1mamba
|
||||||
|
Summary: Python interface to MySQL
|
||||||
|
Group: System/Libraries
|
||||||
|
Vendor: openmamba
|
||||||
|
Distribution: openmamba
|
||||||
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
|
URL: http://sourceforge.net/projects/mysql-python/
|
||||||
|
Source: https://pypi.python.org/packages/source/m/mysqlclient/mysqlclient-%{version}.tar.gz
|
||||||
|
License: GPL, Python License, Zope Public License
|
||||||
|
## AUTOBUILDREQ-BEGIN
|
||||||
|
BuildRequires: glibc-devel
|
||||||
|
BuildRequires: libmysqlclient-devel
|
||||||
|
BuildRequires: libopenssl-devel
|
||||||
|
BuildRequires: libpython-devel
|
||||||
|
BuildRequires: libpython27-devel
|
||||||
|
BuildRequires: libz-devel
|
||||||
|
## AUTOBUILDREQ-END
|
||||||
|
BuildRequires: python-setuptools-devel
|
||||||
|
Provides: python-MySQL
|
||||||
|
Obsoletes: python-MySQL
|
||||||
|
Requires: python >= %python_version
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||||
|
|
||||||
|
%description
|
||||||
|
mysqlclient is a fork of MySQL-python. It add Python 3.3 support and merges some pull requests.
|
||||||
|
|
||||||
|
|
||||||
|
MySQL support for Python. MySQL versions 3.23-5.1; and Python versions 2.3-2.6 are supported.
|
||||||
|
MySQLdb is the Python DB API-2.0 interface. _mysql is a low-level API similiar to the MySQL C API.
|
||||||
|
ZMySQLDA is a Database Adapter for Zope2.
|
||||||
|
|
||||||
|
%if "%{?with_pyver}"
|
||||||
|
%pyver_package
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n mysqlclient-%{version}
|
||||||
|
|
||||||
|
%build
|
||||||
|
rm -f doc/*~
|
||||||
|
export libdirname=%{_lib}
|
||||||
|
CFLAGS="%{optflags}" %{__python} setup.py build
|
||||||
|
|
||||||
|
%install
|
||||||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
%{__python} setup.py install \
|
||||||
|
-O1 --skip-build \
|
||||||
|
--root="%{buildroot}" \
|
||||||
|
--install-headers=%{_includedir}/python \
|
||||||
|
--install-lib=%{python_sitearch} \
|
||||||
|
--single-version-externally-managed \
|
||||||
|
--record=%{name}.filelist
|
||||||
|
|
||||||
|
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
|
||||||
|
|
||||||
|
%files %{?pyappend} -f %{name}.filelist
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%doc doc/*
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Sat May 16 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.6-1mamba
|
||||||
|
- update to 1.3.6
|
||||||
|
- switched from python-MySQL and added python3 support
|
||||||
|
|
||||||
|
* Fri May 15 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.3-4mamba
|
||||||
|
- rebuilt with mariadb
|
||||||
|
|
||||||
|
* Fri May 17 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.3-3mamba
|
||||||
|
- python 2.7 mass rebuild
|
||||||
|
|
||||||
|
* Fri Jan 13 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.3-2mamba
|
||||||
|
- rebuilt in devel
|
||||||
|
|
||||||
|
* Mon Mar 07 2011 gil <puntogil@libero.it> 1.2.3-1mamba
|
||||||
|
- package created by autospec
|
Loading…
Reference in New Issue
Block a user