2006-02-23 15:26:10 +00:00
|
|
|
# Description: MySQL interface for Python
|
|
|
|
# URL: http://sourceforge.net/projects/mysql-python/
|
2008-07-11 09:29:19 +02:00
|
|
|
# Maintainer: Juergen Daubert, juergen dot daubert at t-online dot de
|
2006-02-23 15:26:10 +00:00
|
|
|
# Depends on: python, mysql
|
|
|
|
|
|
|
|
name=mysql-python
|
2010-06-17 17:10:26 +02:00
|
|
|
version=1.2.3
|
2010-11-29 12:54:46 +01:00
|
|
|
release=2
|
2010-11-12 13:57:28 +01:00
|
|
|
source=(http://downloads.sourceforge.net/project/$name/$name/$version/MySQL-python-$version.tar.gz
|
2010-11-29 12:54:46 +01:00
|
|
|
http://pypi.python.org/packages/2.7/s/setuptools/setuptools-0.6c11-py2.7.egg
|
2010-06-17 17:10:26 +02:00
|
|
|
$name-setup.diff)
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
build () {
|
|
|
|
cd MySQL-python-$version
|
2010-06-17 17:10:26 +02:00
|
|
|
patch -p1 -i $SRC/$name-setup.diff
|
2010-11-29 12:54:46 +01:00
|
|
|
cp $SRC/setuptools-0.6c11-py2.7.egg .
|
2006-02-23 15:26:10 +00:00
|
|
|
python setup.py install --root=$PKG --prefix=/usr
|
2010-11-29 12:54:46 +01:00
|
|
|
rm -r $PKG/usr/lib/python2.7/site-packages/*.egg-info
|
2006-02-23 15:26:10 +00:00
|
|
|
}
|