summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorGlenn Johnson <glenn-johnson@uiowa.edu>2016-03-30 11:00:18 -0500
committerGlenn Johnson <glenn-johnson@uiowa.edu>2016-03-30 11:00:18 -0500
commitbc309e42d8f4d5c536ea43dc01a8356bf0aba3f2 (patch)
tree1c4f331733e9a510075937f5ee048e085e2b535c /var
parente0fdb3410416f5a91aded450f1c92b01826210ea (diff)
downloadspack-bc309e42d8f4d5c536ea43dc01a8356bf0aba3f2.tar.gz
spack-bc309e42d8f4d5c536ea43dc01a8356bf0aba3f2.tar.bz2
spack-bc309e42d8f4d5c536ea43dc01a8356bf0aba3f2.tar.xz
spack-bc309e42d8f4d5c536ea43dc01a8356bf0aba3f2.zip
New package, py-bottleneck.
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-bottleneck/package.py14
1 files changed, 14 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-bottleneck/package.py b/var/spack/repos/builtin/packages/py-bottleneck/package.py
new file mode 100644
index 0000000000..0aa4208b4d
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-bottleneck/package.py
@@ -0,0 +1,14 @@
+from spack import *
+
+class PyBottleneck(Package):
+ """Bottleneck is a collection of fast NumPy array functions written in Cython."""
+ homepage = "https://pypi.python.org/pypi/Bottleneck/1.0.0"
+ url = "https://pypi.python.org/packages/source/B/Bottleneck/Bottleneck-1.0.0.tar.gz"
+
+ version('1.0.0', '380fa6f275bd24f27e7cf0e0d752f5d2')
+
+ extends('python', ignore=r'bin/f2py$')
+ depends_on('py-numpy')
+
+ def install(self, spec, prefix):
+ python('setup.py', 'install', '--prefix=%s' % prefix)