From 50970b72d8721c19fa37a8ea934d9b4f4cdbd62a Mon Sep 17 00:00:00 2001 From: "Gregory L. Lee" Date: Tue, 12 May 2015 13:47:48 -0700 Subject: added py-pandas --- var/spack/packages/py-pandas/package.py | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 var/spack/packages/py-pandas/package.py diff --git a/var/spack/packages/py-pandas/package.py b/var/spack/packages/py-pandas/package.py new file mode 100644 index 0000000000..2f441f0d22 --- /dev/null +++ b/var/spack/packages/py-pandas/package.py @@ -0,0 +1,20 @@ +from spack import * +import os + +class PyPandas(Package): + """pandas is a Python package providing fast, flexible, and expressive data structures designed to make working with relational or labeled data both easy and intuitive. It aims to be the fundamental high-level building block for doing practical, real world data analysis in Python. Additionally, it has the broader goal of becoming the most powerful and flexible open source data analysis / manipulation tool available in any language.""" + homepage = "http://pandas.pydata.org/" + url = "https://pypi.python.org/packages/source/p/pandas/pandas-0.16.0.tar.gz#md5=bfe311f05dc0c351f8955fbd1e296e73" + + version('0.16.0', 'bfe311f05dc0c351f8955fbd1e296e73') + + extends('python') + depends_on('py-dateutil') + depends_on('py-numpy') + depends_on('py-matplotlib') + depends_on('py-scipy') + depends_on('py-setuptools') + depends_on('py-pytz') + + def install(self, spec, prefix): + python('setup.py', 'install', '--prefix=%s' % prefix) -- cgit v1.2.3-60-g2f50