New package: python-mysqlclient-1.3.12

Signed-off-by: Alin Dobre <alin.dobre@outlook.com>
Closes: #12401 [via git-merge-pr]
Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
This commit is contained in:
Alin Dobre 2018-03-11 11:14:07 +00:00 committed by Jürgen Buchmüller
parent d79c285994
commit e7140f7d60
No known key found for this signature in database
GPG key ID: 6764EC32352D0647
2 changed files with 25 additions and 0 deletions

View file

@ -0,0 +1,24 @@
pkgname=python-mysqlclient
version=1.3.12
revision=1
wrksrc="mysqlclient-${version}"
build_style=python-module
pycompile_module="mysqlclient"
hostmakedepends="python-setuptools python3-setuptools"
makedepends="libmysqlclient-devel python-devel python3-devel zlib-devel libressl-devel"
depends="python"
short_desc="Python2 interface to MySQL/MariaDB"
maintainer="Alin Dobre <alin.dobre@outlook.com>"
license="GPL-2"
homepage="https://github.com/PyMySQL/mysqlclient-python"
distfiles="${PYPI_SITE}/m/mysqlclient/mysqlclient-${version}.tar.gz"
checksum=2d9ec33de39f4d9c64ad7322ede0521d85829ce36a76f9dd3d6ab76a9c8648e5
python3-mysqlclient_package() {
pycompile_module="mysqlclient"
depends="python3"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
}
}

1
srcpkgs/python3-mysqlclient Symbolic link
View file

@ -0,0 +1 @@
python-mysqlclient