python-mysqlclient: drop package

This commit is contained in:
Đoàn Trần Công Danh 2020-09-20 21:50:52 +07:00
parent 97345cde55
commit a8859b5f25
4 changed files with 14 additions and 24 deletions

View file

@ -1,23 +0,0 @@
# Template file for 'python-mysqlclient'
pkgname=python-mysqlclient
version=1.3.14
revision=3
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=3981ae9ce545901a36a8b7aed76ed02960a429f75dc53b7ad77fb2f9ab7cd56b
python3-mysqlclient_package() {
pycompile_module="MySQLdb _mysql_exceptions.py"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
}
}

View file

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

View file

@ -0,0 +1,14 @@
# Template file for 'python3-mysqlclient'
pkgname=python3-mysqlclient
version=1.3.14
revision=3
wrksrc="mysqlclient-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
makedepends="libmysqlclient-devel python3-devel zlib-devel libressl-devel"
short_desc="Python3 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=3981ae9ce545901a36a8b7aed76ed02960a429f75dc53b7ad77fb2f9ab7cd56b