New package, py-bottleneck.

This commit is contained in:
Glenn Johnson 2016-03-30 11:00:18 -05:00
parent e0fdb34104
commit bc309e42d8

View File

@ -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)