diff options
Diffstat (limited to 'var/spack/packages/py-nose/package.py')
-rw-r--r-- | var/spack/packages/py-nose/package.py | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/var/spack/packages/py-nose/package.py b/var/spack/packages/py-nose/package.py new file mode 100644 index 0000000000..155019289d --- /dev/null +++ b/var/spack/packages/py-nose/package.py @@ -0,0 +1,16 @@ +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', ignore=r'bin/nosetests.*$') + depends_on('py-setuptools') + + def install(self, spec, prefix): + python('setup.py', 'install', '--prefix=%s' % prefix) |