summaryrefslogtreecommitdiff
path: root/var/spack/packages/py-scipy/package.py
blob: 3a1124cc15a95c8cdebf3b1e44c299ce2baee5f5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
from spack import *

class PyScipy(Package):
    """Scientific Library for Python."""
    homepage = "https://pypi.python.org/pypi/scipy"
    url      = "https://pypi.python.org/packages/source/s/scipy/scipy-0.15.0.tar.gz"

    version('0.15.0', '639112f077f0aeb6d80718dc5019dc7a')
    version('0.15.1', 'be56cd8e60591d6332aac792a5880110')

    extends('python')
    depends_on('py-nose')
    depends_on('py-numpy')
    depends_on('blas')
    depends_on('lapack')

    def install(self, spec, prefix):
        python('setup.py', 'install', '--prefix=%s' % prefix)