python-mysqlclient: fix pycompile_module
Remove unnecessary depends (!noarch).
This commit is contained in:
parent
cc3a1366c4
commit
accdc4ac03
1 changed files with 4 additions and 5 deletions
|
@ -1,12 +1,12 @@
|
||||||
|
# Template file for 'python-mysqlclient'
|
||||||
pkgname=python-mysqlclient
|
pkgname=python-mysqlclient
|
||||||
version=1.3.12
|
version=1.3.12
|
||||||
revision=1
|
revision=2
|
||||||
wrksrc="mysqlclient-${version}"
|
wrksrc="mysqlclient-${version}"
|
||||||
build_style=python-module
|
build_style=python-module
|
||||||
pycompile_module="mysqlclient"
|
pycompile_module="MySQLdb _mysql_exceptions.py"
|
||||||
hostmakedepends="python-setuptools python3-setuptools"
|
hostmakedepends="python-setuptools python3-setuptools"
|
||||||
makedepends="libmysqlclient-devel python-devel python3-devel zlib-devel libressl-devel"
|
makedepends="libmysqlclient-devel python-devel python3-devel zlib-devel libressl-devel"
|
||||||
depends="python"
|
|
||||||
short_desc="Python2 interface to MySQL/MariaDB"
|
short_desc="Python2 interface to MySQL/MariaDB"
|
||||||
maintainer="Alin Dobre <alin.dobre@outlook.com>"
|
maintainer="Alin Dobre <alin.dobre@outlook.com>"
|
||||||
license="GPL-2"
|
license="GPL-2"
|
||||||
|
@ -15,8 +15,7 @@ distfiles="${PYPI_SITE}/m/mysqlclient/mysqlclient-${version}.tar.gz"
|
||||||
checksum=2d9ec33de39f4d9c64ad7322ede0521d85829ce36a76f9dd3d6ab76a9c8648e5
|
checksum=2d9ec33de39f4d9c64ad7322ede0521d85829ce36a76f9dd3d6ab76a9c8648e5
|
||||||
|
|
||||||
python3-mysqlclient_package() {
|
python3-mysqlclient_package() {
|
||||||
pycompile_module="mysqlclient"
|
pycompile_module="MySQLdb _mysql_exceptions.py"
|
||||||
depends="python3"
|
|
||||||
short_desc="${short_desc/Python2/Python3}"
|
short_desc="${short_desc/Python2/Python3}"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/lib/python3*
|
vmove usr/lib/python3*
|
||||||
|
|
Loading…
Reference in a new issue