diff options
author | Tom Scogland <scogland1@llnl.gov> | 2015-12-30 11:18:13 -0800 |
---|---|---|
committer | Tom Scogland <scogland1@llnl.gov> | 2015-12-30 11:18:13 -0800 |
commit | 01f811d5469c8cc059dae7846aa660aa0c5a4ab7 (patch) | |
tree | 10369bb6ba3162b03e005fe7c6cb293904215660 | |
parent | 31f674da3c8676fc4ac27327ef735c8a2c12dd48 (diff) | |
download | spack-01f811d5469c8cc059dae7846aa660aa0c5a4ab7.tar.gz spack-01f811d5469c8cc059dae7846aa660aa0c5a4ab7.tar.bz2 spack-01f811d5469c8cc059dae7846aa660aa0c5a4ab7.tar.xz spack-01f811d5469c8cc059dae7846aa660aa0c5a4ab7.zip |
legacy mysql bindings for python
-rw-r--r-- | var/spack/packages/py-mysqldb1/package.py | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/var/spack/packages/py-mysqldb1/package.py b/var/spack/packages/py-mysqldb1/package.py new file mode 100644 index 0000000000..fda02b4982 --- /dev/null +++ b/var/spack/packages/py-mysqldb1/package.py @@ -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) + |