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

class PyNose(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/nose"
    url      = "https://pypi.python.org/packages/source/n/nose/nose-1.3.4.tar.gz"

    version('1.3.4', '6ed7169887580ddc9a8e16048d38274d')

    extends('python')

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