mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 20:07:14 +08:00
4fa66c12ef
Conflicts: mysql-python/PKGBUILD net-snmp/PKGBUILD python-cssutils/PKGBUILD python-dateutil/PKGBUILD python-distutils-extra/PKGBUILD python-jinja/PKGBUILD python-markupsafe/PKGBUILD python-simplejson/PKGBUILD python2-udev/PKGBUILD
22 lines
688 B
Bash
22 lines
688 B
Bash
# Maintainer: H W Tovetjärn (totte) <totte@tott.es>
|
|
# Contributors: A Boersma (abveritas) <abveritas@chakra-project.org>
|
|
|
|
pkgname=python2-mysql
|
|
pkgver=1.2.4
|
|
pkgrel=1
|
|
pkgdesc="MySQL support for Python"
|
|
arch=("i686" "x86_64")
|
|
url="http://sourceforge.net/projects/mysql-python"
|
|
license=('GPL2')
|
|
depends=('python2' 'libmariadbclient')
|
|
makedepends=('mariadb' 'python2-distribute')
|
|
source=("http://pypi.python.org/packages/source/M/MySQL-python/MySQL-python-${pkgver}.zip")
|
|
sha1sums=('9af66e09713a79a08a312a7da87f0f0dccfc0a91')
|
|
conflicts=('mysql-python')
|
|
replaces=('mysql-python')
|
|
|
|
package() {
|
|
cd ${srcdir}/MySQL-python-${pkgver}
|
|
python2 setup.py install --root=${pkgdir} --optimize=1
|
|
}
|