25fe21906d
This reverts commit d4d514a84cacb29b900e935bef4a0b628b3c1f42.
20 lines
692 B
Plaintext
20 lines
692 B
Plaintext
# Description: MySQL interface for Python
|
|
# URL: http://sourceforge.net/projects/mysql-python/
|
|
# Maintainer: Juergen Daubert, juergen dot daubert at t-online dot de
|
|
# Depends on: python, mysql
|
|
|
|
name=mysql-python
|
|
version=1.2.3
|
|
release=1
|
|
source=(http://downloads.sourceforge.net/project/$name/$name/$version/MySQL-python-$version.tar.gz
|
|
http://pypi.python.org/packages/2.6/s/setuptools/setuptools-0.6c11-py2.6.egg
|
|
$name-setup.diff)
|
|
|
|
build () {
|
|
cd MySQL-python-$version
|
|
patch -p1 -i $SRC/$name-setup.diff
|
|
cp $SRC/setuptools-0.6c11-py2.6.egg .
|
|
python setup.py install --root=$PKG --prefix=/usr
|
|
rm -r $PKG/usr/lib/python2.6/site-packages/*.egg-info
|
|
}
|