blob: d8b47aa61b1820db3a3e91b233ca17d06fb54692 (
plain)
1 # Description: MySQL interface for Python
2 # URL: http://sourceforge.net/projects/mysql-python/
3 # Maintainer: Juergen Daubert, juergen dot daubert at t-online dot de
4 # Depends on: python, mysql
5
6 name=mysql-python
7 version=1.2.3
8 release=1
9 source=(http://downloads.sourceforge.net/project/$name/$name/$version/MySQL-python-$version.tar.gz
10 http://pypi.python.org/packages/2.6/s/setuptools/setuptools-0.6c11-py2.6.egg
11 $name-setup.diff)
12
13 build () {
14 cd MySQL-python-$version
15 patch -p1 -i $SRC/$name-setup.diff
16 cp $SRC/setuptools-0.6c11-py2.6.egg .
17 python setup.py install --root=$PKG --prefix=/usr
18 rm -r $PKG/usr/lib/python2.6/site-packages/*.egg-info
19 }
|