added py-pillow and updated py-basemap to depend on it

This commit is contained in:
Gregory L. Lee 2015-12-03 15:35:28 -08:00
parent a56c7e5f1a
commit 5891847ae4
2 changed files with 16 additions and 2 deletions

View File

@ -11,8 +11,8 @@ class PyBasemap(Package):
extends('python')
depends_on('py-setuptools')
depends_on('py-numpy')
depends_on('py-matplotlib')
depends_on('py-pil')
depends_on('py-matplotlib+gui')
depends_on('py-pillow')
depends_on("geos")
def install(self, spec, prefix):

View File

@ -0,0 +1,14 @@
from spack import *
class PyPillow(Package):
"""Pillow is the friendly PIL fork by Alex Clark and Contributors. PIL is the Python Imaging Library by Fredrik Lundh and Contributors. The Python Imaging Library (PIL) adds image processing capabilities to your Python interpreter. This library supports many file formats, and provides powerful image processing and graphics capabilities."""
homepage = "https://python-pillow.github.io/"
url = "https://pypi.python.org/packages/source/P/Pillow/Pillow-3.0.0.tar.gz"
version('3.0.0', 'fc8ac44e93da09678eac7e30c9b7377d')
extends('python')
depends_on('py-setuptools')
def install(self, spec, prefix):
python('setup.py', 'install', '--prefix=%s' % prefix)