diff options
author | Gregory L. Lee <lee218@llnl.gov> | 2016-01-08 11:09:11 -0800 |
---|---|---|
committer | Gregory L. Lee <lee218@llnl.gov> | 2016-01-08 11:09:11 -0800 |
commit | 7ad3e2b56bca4aca3a1ed5a157380070ea17514f (patch) | |
tree | f1e75dfdbf814b6befcd45db3801075793b91608 | |
parent | 175f20a9dce00bf2129923aae50abe36fdd25bf4 (diff) | |
download | spack-7ad3e2b56bca4aca3a1ed5a157380070ea17514f.tar.gz spack-7ad3e2b56bca4aca3a1ed5a157380070ea17514f.tar.bz2 spack-7ad3e2b56bca4aca3a1ed5a157380070ea17514f.tar.xz spack-7ad3e2b56bca4aca3a1ed5a157380070ea17514f.zip |
new python packages
-rw-r--r-- | var/spack/packages/py-numexpr/package.py | 15 | ||||
-rw-r--r-- | var/spack/packages/py-pytables/package.py | 19 |
2 files changed, 34 insertions, 0 deletions
diff --git a/var/spack/packages/py-numexpr/package.py b/var/spack/packages/py-numexpr/package.py new file mode 100644 index 0000000000..89f8a525b1 --- /dev/null +++ b/var/spack/packages/py-numexpr/package.py @@ -0,0 +1,15 @@ +from spack import * +import re + +class PyNumexpr(Package): + """Fast numerical expression evaluator for NumPy""" + homepage = "https://pypi.python.org/pypi/numexpr" + url = "https://pypi.python.org/packages/source/n/numexpr/numexpr-2.4.6.tar.gz" + + version('2.4.6', '17ac6fafc9ea1ce3eb970b9abccb4fbd') + + extends('python') + depends_on('py-numpy') + + def install(self, spec, prefix): + python('setup.py', 'install', '--prefix=%s' % prefix) diff --git a/var/spack/packages/py-pytables/package.py b/var/spack/packages/py-pytables/package.py new file mode 100644 index 0000000000..a5b1e78ab3 --- /dev/null +++ b/var/spack/packages/py-pytables/package.py @@ -0,0 +1,19 @@ +from spack import * +import re + +class PyPytables(Package): + """PyTables is a package for managing hierarchical datasets and designed to efficiently and easily cope with extremely large amounts of data.""" + homepage = "http://www.pytables.org/" + url = "https://github.com/PyTables/PyTables/archive/v.3.2.2.tar.gz" + + version('3.2.2', '7cbb0972e4d6580f629996a5bed92441') + + extends('python') + depends_on('hdf5') + depends_on('py-numpy') + depends_on('py-numexpr') + depends_on('py-cython') + + def install(self, spec, prefix): + env["HDF5_DIR"] = spec['hdf5'].prefix + python('setup.py', 'install', '--prefix=%s' % prefix) |