mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-05-17 18:33:18 +00:00
Use standard API function MYSQL_OPT_RECONNECT
instead of direct modification of internal structures
which does not work for MariaDB to fix below compile
issue.
| _mysql.c: In function '_mysql_ConnectionObject_ping':
| _mysql.c:2005:41: error: 'MYSQL' {aka 'struct st_mysql'} has no member named 'reconnect'
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
20 lines
619 B
BlitzBasic
20 lines
619 B
BlitzBasic
SUMMARY = "Python interface to MySQL"
|
|
HOMEPAGE = "https://github.com/farcepest/MySQLdb1"
|
|
SECTION = "devel/python"
|
|
LICENSE = "GPLv2"
|
|
LIC_FILES_CHKSUM = "file://GPL-2.0;md5=b234ee4d69f5fce4486a80fdaf4a4263"
|
|
|
|
DEPENDS = "mysql5"
|
|
|
|
SRCNAME = "MySQL-python"
|
|
|
|
SRC_URI = "https://pypi.python.org/packages/source/M/${SRCNAME}/${SRCNAME}-${PV}.zip \
|
|
file://0001-_mysql.c-fix-compilation-with-MariaDB-with-10.3.13.patch \
|
|
"
|
|
SRC_URI[md5sum] = "654f75b302db6ed8dc5a898c625e030c"
|
|
SRC_URI[sha256sum] = "811040b647e5d5686f84db415efd697e6250008b112b6909ba77ac059e140c74"
|
|
|
|
S = "${WORKDIR}/${SRCNAME}-${PV}"
|
|
|
|
inherit setuptools
|