24 lines
840 B
Bash
24 lines
840 B
Bash
# Template file for 'python-mysqlclient'
|
|
pkgname=python-mysqlclient
|
|
version=1.3.13
|
|
revision=1
|
|
wrksrc="mysqlclient-${version}"
|
|
build_style=python-module
|
|
pycompile_module="MySQLdb _mysql_exceptions.py"
|
|
hostmakedepends="python-setuptools python3-setuptools"
|
|
makedepends="libmysqlclient-devel python-devel python3-devel zlib-devel libressl-devel"
|
|
short_desc="Python2 interface to MySQL/MariaDB"
|
|
maintainer="Alin Dobre <alin.dobre@outlook.com>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="https://github.com/PyMySQL/mysqlclient-python"
|
|
distfiles="${PYPI_SITE}/m/mysqlclient/mysqlclient-${version}.tar.gz"
|
|
checksum=ff8ee1be84215e6c30a746b728c41eb0701a46ca76e343af445b35ce6250644f
|
|
|
|
python3-mysqlclient_package() {
|
|
pycompile_module="MySQLdb _mysql_exceptions.py"
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
pkg_install() {
|
|
vmove usr/lib/python3*
|
|
}
|
|
}
|