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

class PyPeriodictable(Package):
    """nose extends the test loading and running features of unittest,
    making it easier to write, find and run tests."""

    homepage = "https://pypi.python.org/pypi/periodictable"
    url      = "https://pypi.python.org/packages/source/p/periodictable/periodictable-1.4.1.tar.gz"

    version('1.4.1', '7246b63cc0b6b1be6e86b6616f9e866e')

    depends_on('py-numpy')
    depends_on('py-pyparsing')
    extends('python')

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