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

class PyTappy(Package):
    """Python TAP interface module for unit tests"""
    homepage = "https://github.com/mblayman/tappy"
    # base https://pypi.python.org/pypi/cffi
    url      = "https://pypi.python.org/packages/source/t/tap.py/tap.py-1.6.tar.gz"

    version('1.6', 'c8bdb93ad66e05f939905172a301bedf')

    extends('python')
    depends_on('py-setuptools')

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