legacy mysql bindings for python

This commit is contained in:
Tom Scogland 2015-12-30 11:18:13 -08:00
parent 31f674da3c
commit 01f811d546

View File

@ -0,0 +1,15 @@
from spack import *
class PyMysqldb1(Package):
"""Legacy mysql bindings for python"""
homepage = "https://github.com/farcepest/MySQLdb1"
url = "https://github.com/farcepest/MySQLdb1/archive/MySQLdb-1.2.5.tar.gz"
version('1.2.5', '332c8f4955b6bc0c79ea15170bf7321b')
extends('python')
depends_on('py-setuptools')
def install(self, spec, prefix):
python('setup.py', 'install', '--prefix=%s' % prefix)