diff options
author | Elizabeth Fischer <elizabeth.fischer@columbia.edu> | 2016-08-17 00:34:33 -0400 |
---|---|---|
committer | Elizabeth Fischer <elizabeth.fischer@columbia.edu> | 2016-08-17 00:34:33 -0400 |
commit | a733e7e303ebcf5f6b8608215ed1c7b09236b6c7 (patch) | |
tree | 3a7250acbe145e41043053f3bc0a697770afac22 /var | |
parent | 7f57405eac19fd2f28d32e7c69348112653ad6e8 (diff) | |
download | spack-a733e7e303ebcf5f6b8608215ed1c7b09236b6c7.tar.gz spack-a733e7e303ebcf5f6b8608215ed1c7b09236b6c7.tar.bz2 spack-a733e7e303ebcf5f6b8608215ed1c7b09236b6c7.tar.xz spack-a733e7e303ebcf5f6b8608215ed1c7b09236b6c7.zip |
py-pathspec: New package
Related to Python unit testing.
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/py-pathspec/package.py | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-pathspec/package.py b/var/spack/repos/builtin/packages/py-pathspec/package.py new file mode 100644 index 0000000000..db7d4e0b24 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-pathspec/package.py @@ -0,0 +1,17 @@ +from spack import * + + +class PyPathspec(Package): + """pathspec extends the test loading and running features of unittest, + making it easier to write, find and run tests.""" + + homepage = "https://pypi.python.org/pypi/pathspec" + + version('0.3.4', '2a4af9bf2dee98845d583ec61a00d05d', + url='https://pypi.python.org/packages/14/9d/c9d790d373d6f6938d793e9c549b87ad8670b6fa7fc6176485e6ef11c1a4/pathspec-0.3.4.tar.gz') + + extends('python') + depends_on('py-setuptools') + + def install(self, spec, prefix): + python('setup.py', 'install', '--prefix=%s' % prefix) |