2006-02-23 15:26:10 +00:00
|
|
|
# Description: MySQL interface for Python
|
|
|
|
# URL: http://sourceforge.net/projects/mysql-python/
|
2011-02-02 13:44:37 +01:00
|
|
|
# Maintainer: Juergen Daubert, jue at crux dot nu
|
2017-02-05 16:35:36 +11:00
|
|
|
# Depends on: python-setuptools mysql
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
name=mysql-python
|
2014-03-25 11:22:28 +01:00
|
|
|
version=1.2.5
|
2014-03-28 18:47:45 +01:00
|
|
|
release=2
|
2014-03-25 11:22:28 +01:00
|
|
|
source=(https://pypi.python.org/packages/source/M/MySQL-python/MySQL-python-$version.zip)
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
build () {
|
|
|
|
cd MySQL-python-$version
|
2014-03-25 11:22:28 +01:00
|
|
|
/usr/bin/python setup.py install --root=$PKG --prefix=/usr
|
2014-03-28 18:47:45 +01:00
|
|
|
chmod 0644 $PKG/usr/lib/python2.7/site-packages/*.egg-info/*
|
2006-02-23 15:26:10 +00:00
|
|
|
}
|