
There are many python packages that depend on py-numpy. Each one of those will have a copy of f2py that will need to be put in the ignore list for activation. Thise PR adds f2py to the ignore list in the python package.py file so that it does not have to be done for each package that depends on py-numpy. This follows the model of what is done for py-setuptools. This PR also removes the f2py ignore expression for python packages that were using it as it is no longer needed in the individual packages.
15 lines
501 B
Python
15 lines
501 B
Python
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')
|
|
depends_on('py-numpy')
|
|
|
|
def install(self, spec, prefix):
|
|
python('setup.py', 'install', '--prefix=%s' % prefix)
|