diff options
Diffstat (limited to 'var/spack/repos/builtin/packages/py-mysqldb1/package.py')
-rw-r--r-- | var/spack/repos/builtin/packages/py-mysqldb1/package.py | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/var/spack/repos/builtin/packages/py-mysqldb1/package.py b/var/spack/repos/builtin/packages/py-mysqldb1/package.py index 14534a57ca..8fd794aadb 100644 --- a/var/spack/repos/builtin/packages/py-mysqldb1/package.py +++ b/var/spack/repos/builtin/packages/py-mysqldb1/package.py @@ -25,15 +25,14 @@ from spack import * -class PyMysqldb1(Package): +class PyMysqldb1(PythonPackage): """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') + version('1.2.5', '332c8f4955b6bc0c79ea15170bf7321b', + url="https://github.com/farcepest/MySQLdb1/archive/MySQLdb-1.2.5.tar.gz") - extends('python') - depends_on('py-setuptools', type='build') + # FIXME: Missing dependency on mysql - def install(self, spec, prefix): - setup_py('install', '--prefix=%s' % prefix) + depends_on('py-setuptools', type='build') |